$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
#include <smagorinskyDynamics.h>


Public Member Functions | |
| SmagorinskyDynamics (Dynamics< T, Descriptor > *baseDynamics_, T omega0_, T cSmago_, bool automaticPrepareCollision=true) | |
| SmagorinskyDynamics (HierarchicUnserializer &unserializer) | |
| SmagorinskyDynamics< 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 T | getOmegaFromPiAndRhoBar (Array< T, SymmetricTensor< T, Descriptor >::n > const &PiNeq, T rhoBar) const |
| Modify the value of omega, using the Smagorinsky algorithm based on omega0. | |
| virtual void | setOmega (T omega_) |
| virtual T | getOmega () const |
| Returns omega0. | |
| plb::SmagorinskyDynamics< T, Descriptor >::SmagorinskyDynamics | ( | Dynamics< T, Descriptor > * | baseDynamics_, | |
| T | omega0_, | |||
| T | cSmago_, | |||
| bool | automaticPrepareCollision = true | |||
| ) | [inline] |
| plb::SmagorinskyDynamics< T, Descriptor >::SmagorinskyDynamics | ( | HierarchicUnserializer & | unserializer | ) | [inline] |
| SmagorinskyDynamics< T, Descriptor > * plb::SmagorinskyDynamics< T, Descriptor >::clone | ( | ) | const [inline, virtual] |
Clone the object on its dynamic type.
Implements plb::CompositeDynamics< T, Descriptor >.
| int plb::SmagorinskyDynamics< T, Descriptor >::getId | ( | ) | const [inline, virtual] |
Return a unique ID for this class.
Reimplemented from plb::Dynamics< T, Descriptor >.
| T plb::SmagorinskyDynamics< T, Descriptor >::getOmega | ( | ) | const [inline, virtual] |
Returns omega0.
Reimplemented from plb::CompositeDynamics< T, Descriptor >.
| T plb::SmagorinskyDynamics< T, Descriptor >::getOmegaFromPiAndRhoBar | ( | Array< T, SymmetricTensor< T, Descriptor >::n > const & | PiNeq, | |
| T | rhoBar | |||
| ) | const [inline, virtual] |
Modify the value of omega, using the Smagorinsky algorithm based on omega0.
Implements plb::OmegaFromPiDynamics< T, Descriptor >.
References plb::computeOmega().
| void plb::SmagorinskyDynamics< T, Descriptor >::serialize | ( | HierarchicSerializer & | serializer | ) | const [inline, virtual] |
Serialize the dynamics object.
Reimplemented from plb::OmegaFromPiDynamics< T, Descriptor >.
References plb::HierarchicSerializer::addValue().
| void plb::SmagorinskyDynamics< T, Descriptor >::setOmega | ( | T | omega_ | ) | [inline, virtual] |
With this method, you can modify the constant value omega0 (not the actual value of omega, which is computed during run-time from omega0 and the local strain-rate).
Reimplemented from plb::CompositeDynamics< T, Descriptor >.
References plb::CompositeDynamics< T, Descriptor >::getBaseDynamics().
| void plb::SmagorinskyDynamics< T, Descriptor >::unserialize | ( | HierarchicUnserializer & | unserializer | ) | [inline, virtual] |
Un-Serialize the dynamics object.
Reimplemented from plb::OmegaFromPiDynamics< T, Descriptor >.
References plb::HierarchicUnserializer::readValue().
Referenced by plb::SmagorinskyDynamics< T, Descriptor >::SmagorinskyDynamics().
1.6.3
1.6.3