|
ESyS-Particle
4.0.1
|
Slave part for saving a scalar field defined on the triangles in a given TriMesh. More...
#include <ScalarTriangleFieldSlave.h>


Public Member Functions | |
| ScalarTriangleFieldSlave (TML_Comm *, TriMesh *, Triangle::ScalarFieldFunction) | |
| virtual void | sendData () |
Protected Member Functions | |
| virtual void | SendDataFull () |
| virtual void | SendDataFullDX () |
Protected Attributes | |
| TriMesh * | m_mesh |
| Triangle::ScalarFieldFunction | m_rdf |
Slave part for saving a scalar field defined on the triangles in a given TriMesh.
| ScalarTriangleFieldSlave::ScalarTriangleFieldSlave | ( | TML_Comm * | comm, |
| TriMesh * | mesh, | ||
| Triangle::ScalarFieldFunction | 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 ScalarTriangleFieldSlave::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 ScalarTriangleFieldSlave::SendDataFull | ( | ) | [protected, virtual] |
Send data as id,value pairs
References TriMesh::forAllTrianglesGetIndexed(), TML_Comm::send_gather(), and BasicCon::XDebug().
Referenced by sendData().


| void ScalarTriangleFieldSlave::SendDataFullDX | ( | ) | [protected, virtual] |
send data in a for saving as DX format
References BasicCon::XDebug().
Referenced by sendData().


1.7.6.1