OpenLB 1.7
|
All parameters that are necessary for checking whether the simulation became stationary. More...
#include <solverParameters.h>
Public Types | |
enum | ConvergenceType { MaxLatticeVelocity , AverageEnergy , AverageRho } |
using | stat_lattices |
Public Member Functions | |
Stationarity ()=default | |
Stationarity (ConvergenceType type, T interval_, T epsilon_) | |
Stationarity (std::array< ConvergenceType, numberOfStationaryLattices > type, std::array< T, numberOfStationaryLattices > interval_, std::array< T, numberOfStationaryLattices > epsilon_) | |
Public Member Functions inherited from olb::parameters::ParameterBase | |
virtual void | initialize () |
Public Attributes | |
std::array< ConvergenceType, numberOfStationaryLattices > | convergenceType {MaxLatticeVelocity} |
std::array< T, numberOfStationaryLattices > | physInterval {1} |
std::array< T, numberOfStationaryLattices > | epsilon {1e-3} |
Static Public Attributes | |
static constexpr unsigned | numberOfArguments = sizeof...(STAT_LATTICES) |
static constexpr unsigned | numberOfStationaryLattices = stat_lattices::size |
All parameters that are necessary for checking whether the simulation became stationary.
Template parameters are the arithmetic type T and (optionally) the names of lattices for which stationarity is to be checked. If none are given, NavierStokes is set as a default.
Definition at line 96 of file solverParameters.h.
using olb::parameters::Stationarity< T, STAT_LATTICES >::stat_lattices |
Definition at line 100 of file solverParameters.h.
enum olb::parameters::Stationarity::ConvergenceType |
Enumerator | |
---|---|
MaxLatticeVelocity | |
AverageEnergy | |
AverageRho |
Definition at line 105 of file solverParameters.h.
|
default |
|
inline |
Definition at line 113 of file solverParameters.h.
References olb::parameters::Stationarity< T, STAT_LATTICES >::convergenceType, olb::parameters::Stationarity< T, STAT_LATTICES >::epsilon, and olb::parameters::Stationarity< T, STAT_LATTICES >::physInterval.
|
inline |
Definition at line 120 of file solverParameters.h.
std::array<ConvergenceType,numberOfStationaryLattices> olb::parameters::Stationarity< T, STAT_LATTICES >::convergenceType {MaxLatticeVelocity} |
Definition at line 107 of file solverParameters.h.
std::array<T,numberOfStationaryLattices> olb::parameters::Stationarity< T, STAT_LATTICES >::epsilon {1e-3} |
Definition at line 109 of file solverParameters.h.
|
staticconstexpr |
Definition at line 98 of file solverParameters.h.
|
staticconstexpr |
Definition at line 103 of file solverParameters.h.
std::array<T,numberOfStationaryLattices> olb::parameters::Stationarity< T, STAT_LATTICES >::physInterval {1} |
Definition at line 108 of file solverParameters.h.