OpenLB 1.7
|
Cell concept for concrete block lattices on CPU platforms. More...
#include <cell.h>
Public Types | |
using | value_t = T |
using | descriptor_t = DESCRIPTOR |
Public Member Functions | |
Cell () | |
Cell (ConcreteBlockLattice< T, DESCRIPTOR, PLATFORM > &lattice, std::size_t iCell=0) | |
CellID | getCellId () const |
void | setCellId (std::size_t iCell) |
T & | operator[] (unsigned iPop) |
template<typename FIELD > | |
auto | getField () const |
template<typename FIELD > | |
void | setField (const FieldD< T, DESCRIPTOR, FIELD > &v) |
template<typename FIELD > | |
auto | getFieldPointer () |
template<typename FIELD > | |
auto & | getFieldComponent (unsigned iD) |
Cell< T, DESCRIPTOR, PLATFORM > | neighbor (LatticeR< DESCRIPTOR::d > offset) |
Dynamics< T, DESCRIPTOR, PLATFORM > & | getDynamics () |
T | computeRho () |
void | computeU (T *u) |
void | computeJ (T *j) |
void | computeRhoU (T &rho, T *u) |
void | computeStress (T *pi) |
void | computeAllMomenta (T &rho, T *u, T *pi) |
void | defineRho (T &rho) |
void | defineU (T *u) |
void | defineRhoU (T rho, T *u) |
void | defineAllMomenta (T rho, T *u, T *pi) |
void | definePopulations (const T *f) |
void | iniEquilibrium (T rho, T *u) |
void | iniRegularized (T rho, T *u, T *pi) |
void | inverseShiftRhoU (T &rho, T *u) |
Cell concept for concrete block lattices on CPU platforms.
Used for generic operators and non-legacy post processors
using olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::descriptor_t = DESCRIPTOR |
using olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::value_t = T |
|
inline |
|
inline |
|
inline |
Definition at line 161 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getDynamics().
|
inline |
Definition at line 150 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getDynamics().
|
inline |
Definition at line 144 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getDynamics().
|
inline |
Definition at line 153 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getDynamics().
|
inline |
Definition at line 156 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getDynamics().
|
inline |
Definition at line 147 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getDynamics().
|
inline |
Definition at line 174 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getDynamics().
|
inline |
Definition at line 177 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::operator[]().
|
inline |
Definition at line 165 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getDynamics().
|
inline |
Definition at line 171 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getDynamics().
|
inline |
Definition at line 168 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getDynamics().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 183 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getDynamics().
|
inline |
Definition at line 186 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getDynamics().
|
inline |
Definition at line 189 of file cell.h.
References olb::cpu::Cell< T, DESCRIPTOR, PLATFORM >::getDynamics().
|
inline |
Definition at line 136 of file cell.h.
References olb::BlockStructureD< D >::getNeighborDistance().
|
inline |
|
inline |
|
inline |