|
ESyS-Particle
4.0.1
|
Master part of vector field on walls. More...
#include <WallFieldMaster.h>


Public Member Functions | |
| VectorWallFieldMaster (TML_Comm *, const string &, const string &, vector< string >, const string &, int, int, int) | |
| virtual void | collect () |
Protected Member Functions | |
| virtual void | writeAsRAW_SERIES () |
| virtual void | writeAsSILO () |
Protected Attributes | |
| map< int, Vec3 > | m_data |
| int | m_sum_flag |
Master part of vector field on walls.
$Revision$ $Date$
| VectorWallFieldMaster::VectorWallFieldMaster | ( | TML_Comm * | comm, |
| const string & | fieldname, | ||
| const string & | filename, | ||
| vector< string > | walls, | ||
| const string & | savetype, | ||
| int | t0, | ||
| int | tend, | ||
| int | dt | ||
| ) |
Constructor. Set up the Master and broadcast parameters to the slaves.
| comm | the communicator |
| fieldname | the name of the field to be saved |
| filename | the name of the file to be saved |
| walls | the names of the walls |
| savetype | the way in which the data are to be saved - only RAW_SERIES supported at the moment |
| t0 | the first timestep to be saved |
| tend | the last timestep to be saved |
| dt | the interval between timesteps to be saving |
References TML_Comm::barrier(), TML_Comm::broadcast(), TML_Comm::broadcast_cont(), TML_Comm::receive(), and BasicCon::XDebug().

| void VectorWallFieldMaster::writeAsRAW_SERIES | ( | ) | [protected, virtual] |
write the data out as series of raw data, i.e.
x_0,0 y_0,0 z_0,0 x_1,0 y_1,0 z_1,0... x_0,1 y_0,1 z_0,1 x_1,1 y_1,1 z_1,1... ... where x_i,j is the x-value from wall i at time j
Reimplemented from AFieldMaster.
References BasicCon::XDebug().

| void VectorWallFieldMaster::writeAsSILO | ( | ) | [protected, virtual] |
write data out as SILO file (if supported)
Reimplemented from AFieldMaster.
References BasicCon::Error().

1.7.6.1