OpenLB 1.7
|
#include <dynamics.h>
Public Member Functions | |
NoLatticeDynamics (T rho=T(1)) | |
You may fix a fictitious density value on no dynamics node via this constructor. | |
T | computeEquilibrium (int iPop, T rho, const T u[DESCRIPTOR::d]) const override any_platform |
Yields 0;. | |
CellStatistic< T > | collide (Cell< T, DESCRIPTOR > &cell) override |
Collision step. | |
T | computeRho (ConstCell< T, DESCRIPTOR > &cell) const override |
Yields 1;. | |
void | computeU (ConstCell< T, DESCRIPTOR > &cell, T u[DESCRIPTOR::d]) const override |
Yields 0;. | |
void | computeJ (ConstCell< T, DESCRIPTOR > &cell, T j[DESCRIPTOR::d]) const override |
Yields 0;. | |
void | computeStress (ConstCell< T, DESCRIPTOR > &cell, T rho, const T u[DESCRIPTOR::d], T pi[util::TensorVal< DESCRIPTOR >::n]) const override |
Yields NaN. | |
void | computeRhoU (ConstCell< T, DESCRIPTOR > &cell, T &rho, T u[DESCRIPTOR::d]) const override |
Compute fluid velocity and particle density. | |
void | computeAllMomenta (ConstCell< T, DESCRIPTOR > &cell, T &rho, T u[DESCRIPTOR::d], T pi[util::TensorVal< DESCRIPTOR >::n]) const override |
Compute all momenta up to second order. | |
void | defineRho (Cell< T, DESCRIPTOR > &cell, T rho) override |
Does nothing. | |
void | defineU (Cell< T, DESCRIPTOR > &cell, const T u[DESCRIPTOR::d]) override |
Does nothing. | |
void | defineRhoU (Cell< T, DESCRIPTOR > &cell, T rho, const T u[DESCRIPTOR::d]) override |
Does nothing. | |
void | defineAllMomenta (Cell< T, DESCRIPTOR > &cell, T rho, const T u[DESCRIPTOR::d], const T pi[util::TensorVal< DESCRIPTOR >::n]) override |
Does nothing. | |
std::type_index | id () override |
Expose unique type-identifier for RTTI. | |
AbstractParameters< T, DESCRIPTOR > & | getParameters (BlockLattice< T, DESCRIPTOR > &block) override |
Parameters access for legacy post processors. | |
Public Member Functions inherited from olb::Dynamics< T, DESCRIPTOR > | |
virtual | ~Dynamics () any_platform |
virtual std::string | getName () const |
Return human-readable name. | |
virtual void | initialize (Cell< T, DESCRIPTOR > &cell) |
Initialize dynamics-specific data for cell. | |
void | iniEquilibrium (Cell< T, DESCRIPTOR > &cell, T rho, const T u[DESCRIPTOR::d]) |
Initialize to equilibrium distribution. | |
void | iniRegularized (Cell< T, DESCRIPTOR > &cell, T rho, const T u[DESCRIPTOR::d], const T pi[util::TensorVal< DESCRIPTOR >::n]) |
Initialize cell to equilibrium and non-equilibrum part. | |
virtual void | inverseShiftRhoU (ConstCell< T, DESCRIPTOR > &cell, T &rho, T u[DESCRIPTOR::d]) const |
Calculate population momenta s.t. the physical momenta are reproduced by the computeRhoU. | |
Additional Inherited Members | |
Public Types inherited from olb::Dynamics< T, DESCRIPTOR > | |
using | value_t = T |
using | descriptor_t = DESCRIPTOR |
Definition at line 83 of file dynamics.h.
olb::legacy::NoLatticeDynamics< T, DESCRIPTOR >::NoLatticeDynamics | ( | T | rho = T(1) | ) |
You may fix a fictitious density value on no dynamics node via this constructor.
Definition at line 189 of file dynamics.h.
References olb::Dynamics< T, DESCRIPTOR >::getName().
|
overridevirtual |
Collision step.
Reimplemented from olb::Dynamics< T, DESCRIPTOR >.
Definition at line 201 of file dynamics.h.
|
overridevirtual |
Compute all momenta up to second order.
Implements olb::Dynamics< T, DESCRIPTOR >.
Definition at line 252 of file dynamics.h.
|
overridevirtual |
Yields 0;.
Implements olb::Dynamics< T, DESCRIPTOR >.
Definition at line 195 of file dynamics.h.
|
overridevirtual |
Yields 0;.
Implements olb::Dynamics< T, DESCRIPTOR >.
Definition at line 222 of file dynamics.h.
|
overridevirtual |
Yields 1;.
Implements olb::Dynamics< T, DESCRIPTOR >.
Reimplemented in olb::legacy::OffDynamics< T, DESCRIPTOR >.
Definition at line 206 of file dynamics.h.
|
overridevirtual |
Compute fluid velocity and particle density.
Implements olb::Dynamics< T, DESCRIPTOR >.
Definition at line 243 of file dynamics.h.
|
overridevirtual |
Yields NaN.
Implements olb::Dynamics< T, DESCRIPTOR >.
Definition at line 232 of file dynamics.h.
|
overridevirtual |
Yields 0;.
Implements olb::Dynamics< T, DESCRIPTOR >.
Reimplemented in olb::legacy::OffDynamics< T, DESCRIPTOR >.
Definition at line 212 of file dynamics.h.
|
overridevirtual |
Does nothing.
Implements olb::Dynamics< T, DESCRIPTOR >.
Definition at line 278 of file dynamics.h.
|
overridevirtual |
Does nothing.
Implements olb::Dynamics< T, DESCRIPTOR >.
Reimplemented in olb::legacy::OffDynamics< T, DESCRIPTOR >.
Definition at line 262 of file dynamics.h.
|
overridevirtual |
Does nothing.
Implements olb::Dynamics< T, DESCRIPTOR >.
Definition at line 272 of file dynamics.h.
|
overridevirtual |
Does nothing.
Implements olb::Dynamics< T, DESCRIPTOR >.
Reimplemented in olb::legacy::OffDynamics< T, DESCRIPTOR >.
Definition at line 266 of file dynamics.h.
|
inlineoverridevirtual |
Parameters access for legacy post processors.
Implements olb::Dynamics< T, DESCRIPTOR >.
Definition at line 132 of file dynamics.h.
|
inlineoverridevirtual |
Expose unique type-identifier for RTTI.
Implements olb::Dynamics< T, DESCRIPTOR >.
Reimplemented in olb::legacy::OffDynamics< T, DESCRIPTOR >.
Definition at line 128 of file dynamics.h.