Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92088920
body_nparticle.h
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 17, 06:22
Size
1 KB
Mime Type
text/x-c
Expires
Tue, Nov 19, 06:22 (2 d)
Engine
blob
Format
Raw Data
Handle
22372682
Attached To
rLAMMPS lammps
body_nparticle.h
View Options
/* -*- c++ -*- ----------------------------------------------------------
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.
------------------------------------------------------------------------- */
#ifdef BODY_CLASS
BodyStyle
(
nparticle
,
BodyNparticle
)
#else
#ifndef LMP_BODY_NPARTICLE_H
#define LMP_BODY_NPARTICLE_H
#include "body.h"
#include "atom_vec_body.h"
namespace
LAMMPS_NS
{
class
BodyNparticle
:
public
Body
{
public:
BodyNparticle
(
class
LAMMPS
*
,
int
,
char
**
);
~
BodyNparticle
();
int
nsub
(
struct
AtomVecBody
::
Bonus
*
);
double
*
coords
(
struct
AtomVecBody
::
Bonus
*
);
int
pack_border_body
(
struct
AtomVecBody
::
Bonus
*
,
double
*
);
int
unpack_border_body
(
struct
AtomVecBody
::
Bonus
*
,
double
*
);
void
data_body
(
int
,
int
,
int
,
int
*
,
double
*
);
double
radius_body
(
int
,
int
,
int
*
,
double
*
);
int
noutrow
(
int
);
int
noutcol
();
void
output
(
int
,
int
,
double
*
);
int
image
(
int
,
double
,
double
,
int
*&
,
double
**&
);
private:
int
*
imflag
;
double
**
imdata
;
};
}
#endif
#endif
/* ERROR/WARNING messages:
E: Invalid body nparticle command
Arguments in atom-style command are not correct.
E: Incorrect # of integer values in Bodies section of data file
See doc page for body style.
E: Incorrect integer value in Bodies section of data file
See doc page for body style.
E: Incorrect # of floating-point values in Bodies section of data file
See doc page for body style.
E: Insufficient Jacobi rotations for body nparticle
Eigensolve for rigid body was not sufficiently accurate.
*/
Event Timeline
Log In to Comment