#include <BTriMeshInteractionCpData.h>
List of all members.
Detailed Description
Helper class for checkpointing BTriangleInteraction data.
Constructor & Destructor Documentation
BTriMeshInteractionCpData::BTriMeshInteractionCpData |
( |
| ) |
|
Default constructor. Particle and Triangle ID are set to -1, anchor vector to (0,0,0) -> the resulting data mark an invalid Interaction
Construct CpData from bonded triangle interaction - takes particle and triangle ID and particle anchor point
- Parameters:
-
BTI | the bonded triangle interaction (reference) |
Member Function Documentation
void BTriMeshInteractionCpData::loadCheckPointData |
( |
std::istream & |
ist | ) |
|
|
virtual |
void BTriMeshInteractionCpData::saveCheckPointData |
( |
std::ostream & |
ost | ) |
|
|
virtual |
Write restartable CpData to output stream. The format is tid pid ap_x ap_y ap_z where ap_? are the vector components of the anchor point
- Warning:
- The format isn't set in stone - don't rely on this for reading functions at the moment
Implements esys::lsm::CheckPointable.
Set the data of an existing CpData object to those of a given bonded triangle interaction.
- Parameters:
-
BTI | the bonded triangle interaction (reference) |
The documentation for this class was generated from the following files: