Lattice Solid Model (parallelised using Message Passing Interface)
class for particle simulation.
|
|
__init__(...)
Spawns MPI worker processes for use in a cartesian grid decomposition
of the particle domain. |
|
|
|
|
|
|
|
|
|
|
|
|
|
applyForceToWall(...)
A wall is displaced in the normal direction so that the total force
applied to the wall attains a specified value. |
|
|
|
|
createCheckPointer(...)
Causes simulation to periodically save the entire model state to file
for post-processing / visualisation. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
createGravity(...)
Creates a gravitational body force within the model. |
|
|
|
|
createInteractionGroup(...)
Creates a group of interactions with specified properties, or a
model-wall which is described by an infinite plane. |
|
|
|
|
| createInteractionGroupTagged(...) |
|
|
|
|
createParticle(...)
Creates a discrete-element particle within the model. |
|
|
|
|
|
|
|
createRestartCheckPointer(...)
Causes simulation to periodically save the entire model state to file
in a way neccessary to restart the simulation. |
|
|
|
|
createTriMesh(...)
Creates a 3D triangulated surface mesh within the model. |
|
|
|
|
createWall(...)
Creates a model wall, an infinite plane specified as point-on-plane
and normal-to-plane. |
|
|
|
|
exit(...)
Exits the simulation after running a series of singlesteps of the
time-integration method. |
|
|
|
int
|
|
|
|
force2dComputations(...)
Ensures particles only move in the x-y plane and
that rotations only occur about the z-axis. |
|
|
|
string
|
|
|
int
|
|
|
int
|
getNumTimeSteps(...)
Returns the maximum number of time-steps which will be executed by
the run method. |
|
|
|
int
|
|
|
list
|
|
|
Vec3
|
getParticlePosn(...)
Returns the location of a particle with a specified Id. |
|
|
|
string
|
getParticleType(...)
Returns:
A string indicating the type of discrete-element particles in the
model. |
|
|
|
int
|
getTimeStep(...)
Returns the current time-step number (number of time-steps executed
so far). |
|
|
|
float
|
|
|
|
|
|
|
|
|
string
|
getWorkerSpawnCmd(...)
Returns the command line string which spawns MPI worker processes. |
|
|
|
|
|
|
|
|
|
|
loadCheckPoint(...)
load stored model state from a checkpoint file@type prms: string |
|
|
|
|
|
|
|
|
|
|
|
|
|
moveWallBy(...)
Moves a model wall by a specified displacement. |
|
|
|
|
|
|
|
readMesh(...)
Creates a 3D triangulated surface mesh within the model which is
loaded from file. |
|
|
|
|
readMesh2D(...)
Creates a 2D linear surface mesh within the model which is
loaded from file. |
|
|
|
|
| removeInteractionGroup(...) |
|
|
|
|
run(...)
Runs multiple steps of the time-integration method. |
|
|
|
|
runTimeStep(...)
Runs a single step of the time-integration method. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setSlaveTimingFileName(...)
Method to switch on the saving of timing information and set the
filename prefix for the slaves. |
|
|
|
|
|
|
|
|
|
|
setTimeStepSize(...)
Sets the size of the time step used in the integration method. |
|
|
|
|
setTimingFileName(...)
Method to switch on the saving of timing information and set the
filename. |
|
|
|
|
|
|
|
setVerbosity(...)
set verbosity for Master & Workers |
|
|
|
|
|
|
|
| tagParticleNearestTo(...) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from unreachable.instance:
__new__
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|