Class for parallel storage of interactions between a triangle mesh and particles which doesn't require exchange of interactions across process boundaries.
More...
|
| | TriMesh_PIS_NE (TriMesh *, ParallelParticleArray< ParticleType > *, typename IType::ParameterType) |
| |
| | ~TriMesh_PIS_NE () |
| |
| virtual bool | isIn (const vector< int > &) |
| |
| virtual void | setTimeStepSize (double dt) |
| |
| virtual void | calcForces () |
| |
| virtual bool | update () |
| |
| virtual void | exchange () |
| |
| virtual void | rebuild () |
| | do nothing More...
|
| |
| virtual void | tryInsert (const vector< int > &) |
| | do nothing More...
|
| |
| | TriMesh_PIS (TriMesh *, ParallelParticleArray< ParticleType > *) |
| |
| virtual | ~TriMesh_PIS () |
| |
| virtual void | addExIG (AParallelInteractionStorage *) |
| |
| virtual AFieldSlave * | generateNewScalarFieldSlave (TML_Comm *, const string &, int, int, int, int) |
| |
| virtual AFieldSlave * | generateNewVectorFieldSlave (TML_Comm *, const string &, int, int, int, int) |
| |
| | AParallelInteractionStorage (AParallelParticleArray *ppa) |
| |
| virtual | ~AParallelInteractionStorage () |
| |
| virtual void | calcHeatFrict () |
| |
| virtual void | calcHeatTrans () |
| |
| virtual AFieldSlave * | generateNewScalarHistoryFieldSlave (TML_Comm *, const string &, int, int, int) |
| |
| virtual void | saveCheckPointData (std::ostream &) |
| |
| virtual void | loadCheckPointData (std::istream &) |
| |
| virtual void | saveSnapShotData (std::ostream &) |
| |
| virtual bool | willSave () |
| |
| | CheckPointable () |
| |
| virtual | ~CheckPointable () |
| |
template<class ParticleType, class IType>
class TriMesh_PIS_NE< ParticleType, IType >
Class for parallel storage of interactions between a triangle mesh and particles which doesn't require exchange of interactions across process boundaries.
- Author
- Steffen Abe $Revision$ $Date$
template<class ParticleType , class IType >
| bool TriMesh_PIS_NE< ParticleType, IType >::isIn |
( |
const vector< int > & |
v | ) |
|
|
virtual |
Check if an interaction is in this PIS. The first 2 values in the vector are expected to be the tri/edge/corner (v[0]) and particle (v[1]) ids, the 3rd an indicator if tri (v[2]==0),edge (v[2]==1)or corner (v[2]==2) interaction. If there is no 3rd value or it is not in [0,1,2], "false" is returned.
- Parameters
-
- Warning
- log(N)
Implements AParallelInteractionStorage.
References console, and Console::Error().