ESyS-Particle  4.0.1
Public Member Functions | Protected Member Functions | Protected Attributes
VectorTriangleFieldMaster Class Reference

Master part of a vector field which is defined on the triangles in a given triangle mesh. More...

#include <VectorTriangleFieldMaster.h>

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

List of all members.

Public Member Functions

 VectorTriangleFieldMaster (TML_Comm *, const string &, const string &, const string &, const string &, int, int, int)
 ~VectorTriangleFieldMaster ()
virtual void collect ()
virtual void write ()

Protected Member Functions

virtual void writeAsDX ()
virtual void writeAsRAW ()
virtual void writeAsSUM ()
virtual void writeAsMAX ()
virtual void writeAsRAW_SERIES ()
void collectFull ()
void collectFullDX ()

Protected Attributes

map< int, Vec3m_data

Detailed Description

Master part of a vector field which is defined on the triangles in a given triangle mesh.

Author:
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

VectorTriangleFieldMaster::VectorTriangleFieldMaster ( TML_Comm comm,
const string &  fieldname,
const string &  meshname,
const string &  filename,
const string &  savetype,
int  t_0,
int  t_end,
int  dt 
)

Constructor. Send paramters to slaves

Parameters:
commthe communicator
fieldnamethe name of the field to be saved
meshnamethe name of the mesh from which the field is taken
filenamethe name of the file the field is saved into
savetypethe format in which the data is to be saved
t_0first timestep to be saved
t_endlast timestep to be saved
dttimesteps between saves

References TML_Comm::broadcast(), and TML_Comm::broadcast_cont().

Here is the call graph for this function:

Destructor - does nothing


Member Function Documentation

Call the actual collection function according to the savetype

Implements AFieldMaster.

References TML_Comm::broadcast(), collectFull(), and collectFullDX().

Here is the call graph for this function:

collect the field data from the slaves, just id & field value for each triangle

References TML_Comm::broadcast(), TML_Comm::gather(), and BasicCon::XDebug().

Referenced by collect().

Here is the call graph for this function:

Here is the caller graph for this function:

collect the field data from the slaves, including node and connectivity info

References BasicCon::XDebug().

Referenced by collect().

Here is the call graph for this function:

Here is the caller graph for this function:

Call the actual writing function according to the savetype

Reimplemented from AFieldMaster.

References writeAsDX(), and writeAsRAW().

Here is the call graph for this function:

void VectorTriangleFieldMaster::writeAsDX ( ) [protected, virtual]

write the field in a DX-compatible file

Reimplemented from AFieldMaster.

References BasicCon::XDebug().

Referenced by write().

Here is the call graph for this function:

Here is the caller graph for this function:

void VectorTriangleFieldMaster::writeAsRAW ( ) [protected, virtual]

Write the field as raw id,value groups

Reimplemented from AFieldMaster.

References AFieldMaster::makeFilename(), and BasicCon::XDebug().

Referenced by write().

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: