CFDEMcoupling  2.4
 All Classes
Public Member Functions | Protected Attributes | List of all members
Foam::twoWayMPI Class Reference
Inheritance diagram for Foam::twoWayMPI:
Inheritance graph
[legend]
Collaboration diagram for Foam::twoWayMPI:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("twoWayMPI")
 
 twoWayMPI (const dictionary &dict, cfdemCloud &sm)
 
void getData (word name, word type, double **const &field, label step) const
 
void getData (word name, word type, int **const &field, label step) const
 
void giveData (word name, word type, double **const &field, const char *datatype) const
 
void allocateArray (double **&, double, int, int) const
 
void allocateArray (double **&, double, int, const char *="nparticles") const
 
void destroy (double **, int) const
 
void allocateArray (int **&, int, int, int) const
 
void allocateArray (int **&, int, int, const char *="nparticles") const
 
void destroy (int **, int) const
 
void destroy (double *) const
 
void destroy (int *) const
 
bool couple (int) const
 
int getNumberOfParticles () const
 
int getNumberOfClumps () const
 
int getNumberOfTypes () const
 
double * getTypeVol () const
 
word myType () const
 
void setCG () const
 
- Public Member Functions inherited from Foam::dataExchangeModel
 TypeName ("dataExchangeModel")
 
 declareRunTimeSelectionTable (autoPtr, dataExchangeModel, dictionary,(const dictionary &dict, cfdemCloud &sm),(dict, sm))
 
 dataExchangeModel (const dictionary &dict, cfdemCloud &sm)
 
void setNumberOfParticles (int) const
 
const int & maxNumberOfParticles () const
 
template<typename T >
void getData (word name, word type, T **const &field) const
 
virtual void allocateArray (int *&, int, int) const
 
virtual void allocateArray (double *&, double, int) const
 
virtual scalar timeStepFraction () const
 
int couplingStep () const
 
const scalar & DEMts () const
 
int couplingInterval () const
 
scalar couplingTime () const
 
scalar TSstart () const
 
scalar TSend () const
 
int DEMstepsTillT (scalar t) const
 
void checkTSsize () const
 
void readDEMtsfromDict (dictionary &propsDict)
 
bool doCoupleNow () const
 
void setPositions (label n, double *pos) const
 
void setCellIDs (label n, int *ID) const
 

Protected Attributes

LAMMPS_NS::LAMMPS * lmp
 
- Protected Attributes inherited from Foam::dataExchangeModel
const dictionary & dict_
 
cfdemCloudparticleCloud_
 
int maxNumberOfParticles_
 
int couplingStep_
 
scalar DEMts_
 
int couplingInterval_
 

Additional Inherited Members

- Static Public Member Functions inherited from Foam::dataExchangeModel
static autoPtr< dataExchangeModelNew (const dictionary &dict, cfdemCloud &sm)
 

The documentation for this class was generated from the following files: