|
ESyS-Particle
2.3.4
|
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 | ~ScalarTriangleFieldSlave () |
| virtual void | sendData () |
Public Member Functions inherited from AFieldSlave | |
| AFieldSlave (TML_Comm *) | |
| virtual | ~AFieldSlave () |
Protected Member Functions | |
| virtual void | SendDataFull () |
| virtual void | SendDataFullDX () |
Protected Attributes | |
| TriMesh * | m_mesh |
| Triangle::ScalarFieldFunction | m_rdf |
Protected Attributes inherited from AFieldSlave | |
| TML_Comm * | m_comm |
Private Attributes | |
| map< int, double > | m_data |
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 | ||
| ) |
|
inlinevirtual |
|
virtual |
Send data back to master. Recieve the collection type and call the appropriate sending function
Implements AFieldSlave.
References COLL_TYPE_FULL, COLL_TYPE_FULL_DX, AFieldSlave::m_comm, TML_Comm::recv_broadcast(), SendDataFull(), and SendDataFullDX().

|
protectedvirtual |
Send data as id,value pairs
References console, TriMesh::forAllTrianglesGetIndexed(), AFieldSlave::m_comm, m_mesh, m_rdf, TML_Comm::send_gather(), and Console::XDebug().
Referenced by sendData().


|
protectedvirtual |
send data in a for saving as DX format
References console, and Console::XDebug().
Referenced by sendData().


|
private |
|
protected |
Referenced by ScalarTriangleFieldSlave(), and SendDataFull().
|
protected |
Referenced by ScalarTriangleFieldSlave(), and SendDataFull().