$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
Temperature and Velocity are stored inside dynamics. More...
#include <boundaryDynamics.h>


Public Member Functions | |
| StoreTemperatureAndVelocityDynamics (Dynamics< T, Descriptor > *baseDynamics_, bool automaticPrepareCollision_=true) | |
| StoreTemperatureAndVelocityDynamics (HierarchicUnserializer &unserializer) | |
| virtual StoreTemperatureAndVelocityDynamics < T, Descriptor > * | clone () const |
| Clone the object, based 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 | computeVelocity (Cell< T, Descriptor > const &cell, Array< T, Descriptor< T >::d > &velocity_) const |
| Compute the local fluid velocity in lattice units. | |
| virtual T | computeTemperature (Cell< T, Descriptor > const &cell) const |
| Compute the temperature in lattice units. | |
| virtual void | defineVelocity (Cell< T, Descriptor > &cell, Array< T, Descriptor< T >::d > const &velocity_) |
| Define velocity. Stores value inside Dynamics object. | |
| virtual void | defineTemperature (Cell< T, Descriptor > &cell, T theta_) |
| Define density. Stores the value inside the Dynamics object. | |
| 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. | |
Protected Attributes | |
| T | thetaBar |
| Array< T, Descriptor< T >::d > | velocity |
Temperature and Velocity are stored inside dynamics.
| plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::StoreTemperatureAndVelocityDynamics | ( | Dynamics< T, Descriptor > * | baseDynamics_, | |
| bool | automaticPrepareCollision_ = true | |||
| ) | [inline] |
| plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::StoreTemperatureAndVelocityDynamics | ( | HierarchicUnserializer & | unserializer | ) | [inline] |
| StoreTemperatureAndVelocityDynamics< T, Descriptor > * plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::clone | ( | ) | const [inline, virtual] |
Clone the object, based on its dynamic type.
Reimplemented from plb::BoundaryCompositeDynamics< T, Descriptor >.
Reimplemented in plb::GeneralizedVelocityTemperatureBoundaryDynamics< T, Descriptor >.
| T plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::computeRhoBar | ( | Cell< T, Descriptor > const & | cell | ) | const [inline, virtual] |
Compute order-0 moment rho-bar.
Reimplemented from plb::BoundaryCompositeDynamics< T, Descriptor >.
References plb::BoundaryCompositeDynamics< T, Descriptor >::computeDensity().
| void plb::StoreTemperatureAndVelocityDynamics< 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.
Reimplemented from plb::BoundaryCompositeDynamics< T, Descriptor >.
References plb::BoundaryCompositeDynamics< T, Descriptor >::computeDensity(), plb::getExternalForceComponent(), and plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::velocity.
| T plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::computeTemperature | ( | Cell< T, Descriptor > const & | cell | ) | const [inline, virtual] |
Compute the temperature in lattice units.
Reimplemented from plb::BoundaryCompositeDynamics< T, Descriptor >.
References plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::thetaBar.
| void plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::computeVelocity | ( | Cell< T, Descriptor > const & | cell, | |
| Array< T, Descriptor< T >::d > & | velocity_ | |||
| ) | const [inline, virtual] |
Compute the local fluid velocity in lattice units.
Reimplemented from plb::BoundaryCompositeDynamics< T, Descriptor >.
References plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::velocity.
| void plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::defineTemperature | ( | Cell< T, Descriptor > & | cell, | |
| T | theta_ | |||
| ) | [inline, virtual] |
Define density. Stores the value inside the Dynamics object.
Reimplemented from plb::CompositeDynamics< T, Descriptor >.
References plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::thetaBar.
| void plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::defineVelocity | ( | Cell< T, Descriptor > & | cell, | |
| Array< T, Descriptor< T >::d > const & | velocity_ | |||
| ) | [inline, virtual] |
Define velocity. Stores value inside Dynamics object.
Reimplemented from plb::CompositeDynamics< T, Descriptor >.
References plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::velocity.
| int plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::getId | ( | ) | const [inline, virtual] |
Return a unique ID for this class.
Reimplemented from plb::BoundaryCompositeDynamics< T, Descriptor >.
Reimplemented in plb::GeneralizedVelocityTemperatureBoundaryDynamics< T, Descriptor >.
Referenced by plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::unserialize().
| void plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::serialize | ( | HierarchicSerializer & | serializer | ) | const [inline, virtual] |
Serialize the dynamics object.
Reimplemented from plb::BoundaryCompositeDynamics< T, Descriptor >.
Reimplemented in plb::GeneralizedVelocityTemperatureBoundaryDynamics< T, Descriptor >.
References plb::HierarchicSerializer::addValue(), plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::thetaBar, and plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::velocity.
| void plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::unserialize | ( | HierarchicUnserializer & | unserializer | ) | [inline, virtual] |
Un-Serialize the dynamics object.
Reimplemented from plb::BoundaryCompositeDynamics< T, Descriptor >.
Reimplemented in plb::GeneralizedVelocityTemperatureBoundaryDynamics< T, Descriptor >.
References plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::getId(), plb::HierarchicUnserializer::getId(), PLB_PRECONDITION, plb::HierarchicUnserializer::readValue(), plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::thetaBar, and plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::velocity.
Referenced by plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::StoreTemperatureAndVelocityDynamics().
T plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::thetaBar [protected] |
Referenced by plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::computeTemperature(), plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::defineTemperature(), plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::serialize(), plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::StoreTemperatureAndVelocityDynamics(), and plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::unserialize().
Array<T,Descriptor<T>::d> plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::velocity [protected] |
Referenced by plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::computeRhoBarJ(), plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::computeVelocity(), plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::defineVelocity(), plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::serialize(), plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::StoreTemperatureAndVelocityDynamics(), and plb::StoreTemperatureAndVelocityDynamics< T, Descriptor >::unserialize().
1.6.3
1.6.3