Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91417064
fix_deprecated.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Nov 10, 22:06
Size
1 KB
Mime Type
text/x-c
Expires
Tue, Nov 12, 22:06 (2 d)
Engine
blob
Format
Raw Data
Handle
22260291
Attached To
rLAMMPS lammps
fix_deprecated.cpp
View Options
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
certain rights in this software. This software is distributed under
the GNU General Public License.
See the README file in the top-level LAMMPS directory.
------------------------------------------------------------------------- */
#include <string.h>
#include "fix_deprecated.h"
#include "comm.h"
#include "error.h"
using
namespace
LAMMPS_NS
;
/* ---------------------------------------------------------------------- */
FixDeprecated
::
FixDeprecated
(
LAMMPS
*
lmp
,
int
narg
,
char
**
arg
)
:
Fix
(
lmp
,
narg
,
arg
)
{
if
(
strncmp
(
style
,
"ave/spatial"
,
11
)
==
0
)
{
const
char
*
message
=
"
\n
"
"NOTE: The fix styles 'ave/spatial' and 'ave/spatial/sphere' have been replaced
\n
"
"by the more general fix ave/chunk and compute chunk/atom commands.
\n
"
"All ave/spatial and ave/spatial/sphere functionality is available in these
\n
"
"new commands. These ave/spatial keywords & options are part of fix ave/chunk:
\n
"
" Nevery, Nrepeat, Nfreq, input values, norm, ave, file, overwrite, title123
\n
"
"These ave/spatial keywords & options for binning are part of compute chunk/atom:
\n
"
" dim, origin, delta, region, bound, discard, units
\n\n
"
;
if
(
comm
->
me
==
0
)
{
if
(
screen
)
fputs
(
message
,
screen
);
if
(
logfile
)
fputs
(
message
,
logfile
);
}
}
error
->
all
(
FLERR
,
"This fix command has been removed from LAMMPS"
);
}
Event Timeline
Log In to Comment