ESyS-Particle  4.0.1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ScalarTriangleFieldSlave Class Reference

Slave part for saving a scalar field defined on the triangles in a given TriMesh. More...

#include <ScalarTriangleFieldSlave.h>

Inheritance diagram for ScalarTriangleFieldSlave:
Inheritance graph
[legend]
Collaboration diagram for ScalarTriangleFieldSlave:
Collaboration graph
[legend]

Public Member Functions

 ScalarTriangleFieldSlave (TML_Comm *, TriMesh *, Triangle::ScalarFieldFunction)
virtual void sendData ()
- Public Member Functions inherited from AFieldSlave
 AFieldSlave (TML_Comm *)

Protected Member Functions

virtual void SendDataFull ()
virtual void SendDataFullDX ()

Protected Attributes

TriMeshm_mesh
Triangle::ScalarFieldFunction m_rdf
- Protected Attributes inherited from AFieldSlave
TML_Commm_comm

Detailed Description

Slave part for saving a scalar field defined on the triangles in a given TriMesh.

Author
Steffen Abe $Date$ $Revision$

Constructor & Destructor Documentation

ScalarTriangleFieldSlave::ScalarTriangleFieldSlave ( TML_Comm comm,
TriMesh mesh,
Triangle::ScalarFieldFunction  rdf 
)

constructor

Parameters
commthe TML communicator used for sending the data back to the master
meshthe mesh on which the field is defined
rdfthe particle member function to access the data

Member Function Documentation

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().

Here is the call graph for this function:

void ScalarTriangleFieldSlave::SendDataFull ( )
protectedvirtual

Send data as id,value pairs

References TriMesh::forAllTrianglesGetIndexed(), TML_Comm::send_gather(), and BasicCon::XDebug().

Referenced by sendData().

Here is the call graph for this function:

Here is the caller graph for this function:

void ScalarTriangleFieldSlave::SendDataFullDX ( )
protectedvirtual

send data in a for saving as DX format

References BasicCon::XDebug().

Referenced by sendData().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: