ESyS-Particle
4.0.1
|
Slave part for saving a vector field defined on the triangles in a given TriMesh. More...
#include <VectorTriangleFieldSlave.h>
Public Member Functions | |
VectorTriangleFieldSlave (TML_Comm *, TriMesh *, Triangle::VectorFieldFunction) | |
virtual void | sendData () |
Protected Member Functions | |
virtual void | SendDataFull () |
virtual void | SendDataFullDX () |
Protected Attributes | |
TriMesh * | m_mesh |
Triangle::VectorFieldFunction | m_rdf |
Slave part for saving a vector field defined on the triangles in a given TriMesh.
VectorTriangleFieldSlave::VectorTriangleFieldSlave | ( | TML_Comm * | comm, |
TriMesh * | mesh, | ||
Triangle::VectorFieldFunction | rdf | ||
) |
constructor
comm | the TML communicator used for sending the data back to the master |
mesh | the mesh on which the field is defined |
rdf | the particle member function to access the data |
void VectorTriangleFieldSlave::sendData | ( | ) | [virtual] |
Send data back to master. Recieve the collection type and call the appropriate sending function
Implements AFieldSlave.
References TML_Comm::recv_broadcast(), SendDataFull(), and SendDataFullDX().
void VectorTriangleFieldSlave::SendDataFull | ( | ) | [protected, virtual] |
Send data as id,value pairs
References TriMesh::forAllTrianglesGetIndexed(), TML_Comm::send_gather(), and BasicCon::XDebug().
Referenced by sendData().
void VectorTriangleFieldSlave::SendDataFullDX | ( | ) | [protected, virtual] |
send data in a for saving as DX format
References BasicCon::XDebug().
Referenced by sendData().