$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
Implementation of the MRT collision step. More...
#include <mrtDynamics.h>


Public Member Functions | |
| ExternalVelocityMRTdynamics (plint externalParam_) | |
| ExternalVelocityMRTdynamics (MRTparam< T, Descriptor > *param_) | |
| ExternalVelocityMRTdynamics (HierarchicUnserializer &unserializer) | |
| ExternalVelocityMRTdynamics (ExternalVelocityMRTdynamics< T, Descriptor > const &rhs) | |
| ExternalVelocityMRTdynamics< T, Descriptor > & | operator= (ExternalVelocityMRTdynamics< T, Descriptor > const &rhs) |
| ~ExternalVelocityMRTdynamics () | |
| void | swap (ExternalVelocityMRTdynamics< T, Descriptor > &rhs) |
| virtual ExternalVelocityMRTdynamics< T, Descriptor > * | clone () const |
| Clone the object on its dynamic type. | |
| virtual int | getId () const |
| Return a unique ID for this class. | |
| virtual void | serialize (HierarchicSerializer &serializer) const |
| Serialize the dynamics object. | |
| virtual void | unserialize (HierarchicUnserializer &unserializer) |
| Un-Serialize the dynamics object. | |
| virtual void | collide (Cell< T, Descriptor > &cell, BlockStatistics &statistics_) |
| Implementation of the collision step. | |
| virtual T | computeEquilibrium (plint iPop, T rhoBar, Array< T, Descriptor< T >::d > const &j, T jSqr, T thetaBar=T()) const |
| Compute equilibrium distribution function. | |
| virtual void | computeVelocity (Cell< T, Descriptor > const &cell, Array< T, Descriptor< T >::d > &u) const |
| virtual T | computeRhoBar (Cell< T, Descriptor > const &cell) const |
| Compute order-0 moment rho-bar. | |
| virtual void | computeRhoBarJ (Cell< T, Descriptor > const &cell, T &rhoBar, Array< T, Descriptor< T >::d > &j) const |
| Compute order-0 moment rho-bar and order-1 moment j. | |
| MRTparam< T, Descriptor > const & | getMrtParameter () const |
Implementation of the MRT collision step.
| plb::ExternalVelocityMRTdynamics< T, Descriptor >::ExternalVelocityMRTdynamics | ( | plint | externalParam_ | ) | [inline] |
| plb::ExternalVelocityMRTdynamics< T, Descriptor >::ExternalVelocityMRTdynamics | ( | MRTparam< T, Descriptor > * | param_ | ) | [inline] |
| plb::ExternalVelocityMRTdynamics< T, Descriptor >::ExternalVelocityMRTdynamics | ( | HierarchicUnserializer & | unserializer | ) | [inline] |
| plb::ExternalVelocityMRTdynamics< T, Descriptor >::ExternalVelocityMRTdynamics | ( | ExternalVelocityMRTdynamics< T, Descriptor > const & | rhs | ) | [inline] |
| plb::ExternalVelocityMRTdynamics< T, Descriptor >::~ExternalVelocityMRTdynamics | ( | ) | [inline] |
| ExternalVelocityMRTdynamics< T, Descriptor > * plb::ExternalVelocityMRTdynamics< T, Descriptor >::clone | ( | ) | const [inline, virtual] |
Clone the object on its dynamic type.
Implements plb::Dynamics< T, Descriptor >.
| void plb::ExternalVelocityMRTdynamics< T, Descriptor >::collide | ( | Cell< T, Descriptor > & | cell, | |
| BlockStatistics & | statistics_ | |||
| ) | [inline, virtual] |
Implementation of the collision step.
Implements plb::Dynamics< T, Descriptor >.
References plb::Array< T, size >::from_cArray(), plb::gatherStatistics(), plb::Cell< T, Descriptor >::getExternal(), plb::MRTparam< T, Descriptor >::getInvM(), and plb::Cell< T, Descriptor >::takesStatistics().
| T plb::ExternalVelocityMRTdynamics< T, Descriptor >::computeEquilibrium | ( | plint | iPop, | |
| T | rhoBar, | |||
| Array< T, Descriptor< T >::d > const & | j, | |||
| T | jSqr, | |||
| T | thetaBar = T() | |||
| ) | const [inline, virtual] |
Compute equilibrium distribution function.
Implements plb::Dynamics< T, Descriptor >.
| T plb::ExternalVelocityMRTdynamics< T, Descriptor >::computeRhoBar | ( | Cell< T, Descriptor > const & | cell | ) | const [inline, virtual] |
Compute order-0 moment rho-bar.
Accesses rhoBar from external scalar.
Reimplemented from plb::BasicBulkDynamics< T, Descriptor >.
| void plb::ExternalVelocityMRTdynamics< T, Descriptor >::computeRhoBarJ | ( | Cell< T, Descriptor > const & | cell, | |
| T & | rhoBar, | |||
| Array< T, Descriptor< T >::d > & | j | |||
| ) | const [inline, virtual] |
Compute order-0 moment rho-bar and order-1 moment j.
Accesses rhoBar and j from external scalar.
Reimplemented from plb::BasicBulkDynamics< T, Descriptor >.
References plb::Cell< T, Descriptor >::getExternal().
| void plb::ExternalVelocityMRTdynamics< T, Descriptor >::computeVelocity | ( | Cell< T, Descriptor > const & | cell, | |
| Array< T, Descriptor< T >::d > & | u | |||
| ) | const [inline, virtual] |
Accesses velocity from external scalar.
Reimplemented from plb::BasicBulkDynamics< T, Descriptor >.
References plb::Cell< T, Descriptor >::getExternal().
| int plb::ExternalVelocityMRTdynamics< T, Descriptor >::getId | ( | ) | const [inline, virtual] |
Return a unique ID for this class.
Reimplemented from plb::Dynamics< T, Descriptor >.
| MRTparam<T,Descriptor> const& plb::ExternalVelocityMRTdynamics< T, Descriptor >::getMrtParameter | ( | ) | const [inline] |
| ExternalVelocityMRTdynamics< T, Descriptor > & plb::ExternalVelocityMRTdynamics< T, Descriptor >::operator= | ( | ExternalVelocityMRTdynamics< T, Descriptor > const & | rhs | ) | [inline] |
| void plb::ExternalVelocityMRTdynamics< T, Descriptor >::serialize | ( | HierarchicSerializer & | serializer | ) | const [inline, virtual] |
Serialize the dynamics object.
Reimplemented from plb::Dynamics< T, Descriptor >.
References plb::HierarchicSerializer::addValue().
| void plb::ExternalVelocityMRTdynamics< T, Descriptor >::swap | ( | ExternalVelocityMRTdynamics< T, Descriptor > & | rhs | ) | [inline] |
| void plb::ExternalVelocityMRTdynamics< T, Descriptor >::unserialize | ( | HierarchicUnserializer & | unserializer | ) | [inline, virtual] |
Un-Serialize the dynamics object.
Reimplemented from plb::Dynamics< T, Descriptor >.
References plb::HierarchicUnserializer::readValue().
Referenced by plb::ExternalVelocityMRTdynamics< T, Descriptor >::ExternalVelocityMRTdynamics().
1.6.3
1.6.3