|
ESyS-Particle
4.0.1
|
class for control of a SubLattice More...
#include <SubLatticeControler.h>


Public Member Functions | |
| void | initMPI () |
| void | makeLattice () |
| void | initLattice () |
| void | initLatticeCirc () |
| void | init2DTriangularLocal () |
| void | init3DTriangularLocal () |
| void | searchNeighbors () |
| void | performTiming () |
| void | saveTimingData () |
| void | getIdParticleData () |
| void | setTimeStepSize () |
| void | setTimingFileName (const std::string &timingFileName) |
| const std::string & | getTimingFileName () const |
| void | do2dCalculations () |
| void | getNumParticles () |
| void | findParticleNearestToPoint () |
| void | getParticlePosn () |
| void | moveSingleParticle () |
| void | translateMeshBy () |
| void | run () |
| void | setVerbosity () |
| virtual void | saveCheckPointData (std::ostream &oStream) |
| virtual void | saveSnapShotData (std::ostream &oStream) |
| virtual void | loadCheckPointData (std::istream &iStream) |
class for control of a SubLattice
Does initialisation and control of a TSubLattice and comunicates with the TLatticeMaster
| void CSubLatticeControler::initLattice | ( | ) |
Initialize lattice. All boundaries are assumed to be open, i.e. not circular. Recieves all necessary data from Master
References BasicCon::Critical(), TML_Comm::recv_broadcast_cont_packed(), TML_Comm::send_gather(), and BasicCon::XDebug().
Referenced by run().


Initialize lattice with at least one circular boundary condition. Receives all necessary data from Master
References BasicCon::Debug(), BasicCon::Error(), TML_Comm::recv_broadcast_cont(), TML_Comm::recv_broadcast_cont_packed(), TML_Comm::send_gather(), and BasicCon::XDebug().
Referenced by run().


| void CSubLatticeControler::initMPI | ( | ) |
Initialize MPI
References TML_Comm::barrier(), and TML_Comm::setComm().

| void CSubLatticeControler::makeLattice | ( | ) |
make a new Lattice of the correct type
References BasicCon::Debug(), and CVarMPIBuffer::receiveBroadcast().
Referenced by run().


| void CSubLatticeControler::run | ( | ) |
gets command messages from master and calls the functions of SubLattice
References TML_Comm::barrier(), BasicCon::Debug(), BasicCon::Error(), ASubLattice::initComplex(), initLattice(), initLatticeCirc(), makeLattice(), CMPILCmdBuffer::receive(), CheckPointer::saveRestartable(), BasicCon::SetVerbose(), setVerbosity(), and translateMeshBy().

| void CSubLatticeControler::setVerbosity | ( | ) |
Set console verbosity. On/off recieved from master.
References CVarMPIBuffer::pop_int(), CVarMPIBuffer::receiveBroadcast(), and BasicCon::SetVerbose().
Referenced by run().


Translate mesh by given amount. Receive data from master and call function in SubLattice with the received parameters
References BasicCon::Debug(), CVarMPIBuffer::pop_string(), and CVarMPIBuffer::receiveBroadcast().
Referenced by run().


1.7.6.1