Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91361450
fix_pour_omp.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 10, 08:31
Size
1 KB
Mime Type
text/x-c
Expires
Tue, Nov 12, 08:31 (2 d)
Engine
blob
Format
Raw Data
Handle
22249897
Attached To
rLAMMPS lammps
fix_pour_omp.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 FIX_CLASS
FixStyle
(
pour
/
omp
,
FixPourOMP
)
#else
#ifndef LMP_FIX_POUR_OMP_H
#define LMP_FIX_POUR_OMP_H
#include "fix.h"
namespace
LAMMPS_NS
{
class
FixPourOMP
:
public
Fix
{
friend
class
PairGranHertzHistoryOMP
;
friend
class
PairGranHookeOMP
;
friend
class
PairGranHookeHistoryOMP
;
public:
FixPourOMP
(
class
LAMMPS
*
,
int
,
char
**
);
~
FixPourOMP
();
int
setmask
();
void
init
();
void
pre_exchange
();
void
reset_dt
();
private:
int
ninsert
,
ntype
,
seed
;
double
radius_lo
,
radius_hi
;
double
density_lo
,
density_hi
;
double
volfrac
;
int
maxattempt
;
int
region_style
;
double
rate
;
double
vxlo
,
vxhi
,
vylo
,
vyhi
,
vy
,
vz
;
double
xlo
,
xhi
,
ylo
,
yhi
,
zlo
,
zhi
;
double
xc
,
yc
,
rc
;
double
grav
;
int
me
,
nprocs
;
int
*
recvcounts
,
*
displs
;
double
PI
;
int
nfreq
,
nfirst
,
ninserted
,
nper
;
double
lo_current
,
hi_current
;
class
FixShearHistory
*
fix_history
;
class
RanPark
*
random
;
int
overlap
(
int
);
void
xyz_random
(
double
,
double
*
);
};
}
#endif
#endif
Event Timeline
Log In to Comment