ESyS-Particle
4.0.1
|
Slave part for saving a vector field defined on the edges in a given Mesh2D. More...
#include <VectorEdge2DFieldSlave.h>
Public Member Functions | |
VectorEdge2DFieldSlave (TML_Comm *, Mesh2D *, Edge2D::VectorFieldFunction) | |
virtual void | sendData () |
Protected Member Functions | |
virtual void | SendDataFull () |
virtual void | SendDataFullDX () |
Protected Attributes | |
Mesh2D * | m_mesh |
Edge2D::VectorFieldFunction | m_rdf |
Slave part for saving a vector field defined on the edges in a given Mesh2D.
VectorEdge2DFieldSlave::VectorEdge2DFieldSlave | ( | TML_Comm * | comm, |
Mesh2D * | mesh, | ||
Edge2D::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 VectorEdge2DFieldSlave::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 VectorEdge2DFieldSlave::SendDataFull | ( | ) | [protected, virtual] |
Send data as id,value pairs
References Mesh2D::forAllEdgesGetIndexed(), TML_Comm::send_gather(), and BasicCon::XDebug().
Referenced by sendData().
void VectorEdge2DFieldSlave::SendDataFullDX | ( | ) | [protected, virtual] |
send data in a for saving as DX format
References BasicCon::XDebug().
Referenced by sendData().