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

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

#include <VectorTriangleFieldSlave.h>

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

Public Member Functions

 VectorTriangleFieldSlave (TML_Comm *, TriMesh *, Triangle::VectorFieldFunction)
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::VectorFieldFunction m_rdf
- Protected Attributes inherited from AFieldSlave
TML_Commm_comm

Detailed Description

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

Author
Steffen Abe $Date$ $Revision$

Constructor & Destructor Documentation

VectorTriangleFieldSlave::VectorTriangleFieldSlave ( TML_Comm comm,
TriMesh mesh,
Triangle::VectorFieldFunction  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 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().

Here is the call graph for this function:

void VectorTriangleFieldSlave::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 VectorTriangleFieldSlave::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: