OpenLB 1.7
|
Concrete CPU dynamics for legacy dynamics. More...
#include <blockDynamicsMap.h>
Public Member Functions | |
LegacyConcreteDynamics (ConcreteBlockLattice< T, DESCRIPTOR, PLATFORM > &lattice, Dynamics< T, DESCRIPTOR > *dynamics) | |
CellStatistic< T > | collide (cpu::Cell< T, DESCRIPTOR, PLATFORM > &cell) override |
T | computeRho (cpu::Cell< T, DESCRIPTOR, PLATFORM > &cell) override |
void | computeU (cpu::Cell< T, DESCRIPTOR, PLATFORM > &cell, T *u) override |
void | computeJ (cpu::Cell< T, DESCRIPTOR, PLATFORM > &cell, T *j) override |
void | computeRhoU (cpu::Cell< T, DESCRIPTOR, PLATFORM > &cell, T &rho, T *u) override |
void | defineRho (cpu::Cell< T, DESCRIPTOR, PLATFORM > &cell, T &rho) override |
void | defineU (cpu::Cell< T, DESCRIPTOR, PLATFORM > &cell, T *u) override |
void | defineRhoU (cpu::Cell< T, DESCRIPTOR, PLATFORM > &cell, T &rho, T *u) override |
void | defineAllMomenta (cpu::Cell< T, DESCRIPTOR, PLATFORM > &cell, T &rho, T *u, T *pi) override |
void | computeStress (cpu::Cell< T, DESCRIPTOR, PLATFORM > &cell, T &rho, T *u, T *pi) override |
void | computeAllMomenta (cpu::Cell< T, DESCRIPTOR, PLATFORM > &cell, T &rho, T *u, T *pi) override |
T | getOmegaOrFallback (T fallback) override |
T | computeEquilibrium (int iPop, T rho, T *u) override |
void | inverseShiftRhoU (cpu::Cell< T, DESCRIPTOR, PLATFORM > &cell, T &rho, T *u) override |
Public Member Functions inherited from olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM > | |
virtual | ~Dynamics () |
void | iniEquilibrium (Cell< T, DESCRIPTOR, PLATFORM > &cell, T rho, T *u) |
void | iniRegularized (Cell< T, DESCRIPTOR, PLATFORM > &cell, T rho, T *u, T *pi) |
Concrete CPU dynamics for legacy dynamics.
Required to enable interaction between generic operators / non-legacy post processors and legacy dynamics. Note that this is only supported on CPU targets.
Definition at line 49 of file blockDynamicsMap.h.
|
inline |
Definition at line 55 of file blockDynamicsMap.h.
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 61 of file blockDynamicsMap.h.
References olb::Dynamics< T, DESCRIPTOR >::collide(), olb::BlockLattice< T, DESCRIPTOR >::get(), and olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getCellId().
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 106 of file blockDynamicsMap.h.
References olb::Dynamics< T, DESCRIPTOR >::computeAllMomenta(), olb::BlockLattice< T, DESCRIPTOR >::get(), and olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getCellId().
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 115 of file blockDynamicsMap.h.
References olb::Dynamics< T, DESCRIPTOR >::computeEquilibrium().
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 74 of file blockDynamicsMap.h.
References olb::Dynamics< T, DESCRIPTOR >::computeJ(), olb::BlockLattice< T, DESCRIPTOR >::get(), and olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getCellId().
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 66 of file blockDynamicsMap.h.
References olb::Dynamics< T, DESCRIPTOR >::computeRho(), olb::BlockLattice< T, DESCRIPTOR >::get(), and olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getCellId().
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 78 of file blockDynamicsMap.h.
References olb::Dynamics< T, DESCRIPTOR >::computeRhoU(), olb::BlockLattice< T, DESCRIPTOR >::get(), and olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getCellId().
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 102 of file blockDynamicsMap.h.
References olb::Dynamics< T, DESCRIPTOR >::computeStress(), olb::BlockLattice< T, DESCRIPTOR >::get(), and olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getCellId().
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 70 of file blockDynamicsMap.h.
References olb::Dynamics< T, DESCRIPTOR >::computeU(), olb::BlockLattice< T, DESCRIPTOR >::get(), and olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getCellId().
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 97 of file blockDynamicsMap.h.
References olb::Dynamics< T, DESCRIPTOR >::defineAllMomenta(), olb::BlockLattice< T, DESCRIPTOR >::get(), and olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getCellId().
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 82 of file blockDynamicsMap.h.
References olb::Dynamics< T, DESCRIPTOR >::defineRho(), olb::BlockLattice< T, DESCRIPTOR >::get(), and olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getCellId().
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 92 of file blockDynamicsMap.h.
References olb::Dynamics< T, DESCRIPTOR >::defineRhoU(), olb::BlockLattice< T, DESCRIPTOR >::get(), and olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getCellId().
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 87 of file blockDynamicsMap.h.
References olb::Dynamics< T, DESCRIPTOR >::defineU(), olb::BlockLattice< T, DESCRIPTOR >::get(), and olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getCellId().
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 111 of file blockDynamicsMap.h.
|
inlineoverridevirtual |
Implements olb::cpu::Dynamics< T, DESCRIPTOR, PLATFORM >.
Definition at line 119 of file blockDynamicsMap.h.
References olb::BlockLattice< T, DESCRIPTOR >::get(), olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getCellId(), and olb::Dynamics< T, DESCRIPTOR >::inverseShiftRhoU().