|
ESyS-Particle
4.0.1
|
class of a SubLattice of rotational particles More...
#include <RotSubLattice.h>


Public Member Functions | |
| TRotSubLattice (const esys::lsm::CLatticeParam &prm, int rank, MPI_Comm comm, MPI_Comm worker_comm) | |
| virtual | ~TRotSubLattice () |
| virtual void | setParticleAngularVelocity () |
| virtual void | addRotBondedIG () |
| virtual void | addRotThermBondedIG () |
Protected Member Functions | |
| virtual bool | doAddPIG (const string &, const string &, CVarMPIBuffer &) |
| virtual bool | doAddDamping (const string &, CVarMPIBuffer &) |
class of a SubLattice of rotational particles
| TRotSubLattice< T >::TRotSubLattice | ( | const esys::lsm::CLatticeParam & | prm, |
| int | rank, | ||
| MPI_Comm | comm, | ||
| MPI_Comm | worker_comm | ||
| ) |
Construct RotSubLattice. Calls constructor of base class.
| param | Lattice parameters |
| rank | the MPI rank |
| comm | the MPI communicator |
| TRotSubLattice< T >::~TRotSubLattice | ( | ) | [virtual] |
Destructor
| void TRotSubLattice< T >::addRotBondedIG | ( | ) | [virtual] |
Add bonded interaction group to the lattice. Receive the parameters from master. The bonds are created from the neighbor table.
Reimplemented from TSubLattice< T >.
References CVarMPIBuffer::pop_double(), CVarMPIBuffer::pop_int(), CVarMPIBuffer::pop_string(), CVarMPIBuffer::receiveBroadcast(), and BasicCon::XDebug().

| void TRotSubLattice< T >::addRotThermBondedIG | ( | ) | [virtual] |
Add thermal bonded interaction group to the lattice. Receive the parameters from master. The bonds are created from the neighbor table.
Reimplemented from TSubLattice< T >.
References CVarMPIBuffer::pop_double(), CVarMPIBuffer::pop_int(), CVarMPIBuffer::pop_string(), CVarMPIBuffer::receiveBroadcast(), and BasicCon::XDebug().

| bool TRotSubLattice< T >::doAddDamping | ( | const string & | type, |
| CVarMPIBuffer & | param_buffer | ||
| ) | [protected, virtual] |
Do the work for adding the damping
| type | the type of damping |
| param_buffer | the buffer containing the parameters |
Reimplemented from TSubLattice< T >.
References BasicCon::Debug(), and TSubLattice< T >::doAddDamping().

| bool TRotSubLattice< T >::doAddPIG | ( | const string & | name, |
| const string & | type, | ||
| CVarMPIBuffer & | param_buffer | ||
| ) | [protected, virtual] |
do the actual work adding the pair interaction group (PIG)
| name | the name of the PIG |
| type | the type of the PIG |
| param_buffer | the buffer containing the rest of the parameters |
References TSubLattice< T >::doAddPIG().

| void TRotSubLattice< T >::setParticleAngularVelocity | ( | ) | [virtual] |
Set the angular velocity of a particle. Parameters are received from master.
Reimplemented from ASubLattice.
References BasicCon::Debug(), CVarMPIBuffer::pop_int(), CVarMPIBuffer::receiveBroadcast(), and BasicCon::XDebug().

1.7.6.1