ESyS-Particle  2.3
RotSubLattice.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2014 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 #ifndef __ROTSUBLATTICE_H
14 #define __ROTSUBLATTICE_H
15 
16 // -- project includes --
17 #include "Parallel/SubLattice.h"
18 
27 template <typename T>
28 class TRotSubLattice : public TSubLattice<T>
29 {
30  protected:
31 
32  // functions doing the actual work adding interaction groups
33  virtual bool doAddPIG(const string&,const string&,CVarMPIBuffer&,bool tagged=false);
34  virtual bool doAddDamping(const string&,CVarMPIBuffer&);
35 
36  public:
37  TRotSubLattice(const esys::lsm::CLatticeParam &prm, int rank, MPI_Comm comm, MPI_Comm worker_comm);
38  virtual ~TRotSubLattice();
39  virtual void setParticleAngularVelocity();
40  virtual void addRotBondedIG();
41  virtual void addRotThermBondedIG();
42 };
43 
45 
46 #endif //__ROTSUBLATTICE_H
Definition: LatticeParam.h:29
virtual bool doAddDamping(const string &, CVarMPIBuffer &)
Definition: RotSubLattice.hpp:76
class of a SubLattice of rotational particles
Definition: RotSubLattice.h:28
virtual void addRotBondedIG()
Definition: RotSubLattice.hpp:113
virtual void addRotThermBondedIG()
Definition: RotSubLattice.hpp:190
TRotSubLattice(const esys::lsm::CLatticeParam &prm, int rank, MPI_Comm comm, MPI_Comm worker_comm)
Definition: RotSubLattice.hpp:21
virtual bool doAddPIG(const string &, const string &, CVarMPIBuffer &, bool tagged=false)
Definition: RotSubLattice.hpp:56
virtual void setParticleAngularVelocity()
Definition: RotSubLattice.hpp:36
MPI send/recv buffer with automagically adjusted size.
Definition: mpivbuf.h:34
virtual ~TRotSubLattice()
Definition: RotSubLattice.hpp:29
Class for a Sublattice.
Definition: SubLattice.h:68