Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112510996
fix_centro.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, May 11, 02:23
Size
1 KB
Mime Type
text/x-c
Expires
Tue, May 13, 02:23 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26066439
Attached To
rLAMMPS lammps
fix_centro.h
View Options
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
www.cs.sandia.gov/~sjplimp/lammps.html
Steve Plimpton, sjplimp@sandia.gov, Sandia National Laboratories
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.
------------------------------------------------------------------------- */
#ifndef FIX_CENTRO_H
#define FIX_CENTRO_H
#include "fix.h"
class
FixCentro
:
public
Fix
{
friend
class
DumpCustom
;
public:
FixCentro
(
int
,
char
**
);
~
FixCentro
();
int
setmask
();
void
init
();
void
dump
();
int
memory_usage
();
private:
int
nmax
,
maxneigh
;
double
*
centro
;
double
*
distsq
;
int
*
nearest
;
void
select
(
int
,
int
,
double
*
);
void
select2
(
int
,
int
,
double
*
,
int
*
);
};
#endif
Event Timeline
Log In to Comment