OpenLB 1.7
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
interface.h File Reference

File provides a generic interface for the computation and definition of momenta (density, velocity, stress). More...

#include <type_traits>
#include <functional>
#include "elements.h"
+ Include dependency graph for interface.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  olb::momenta::ComputeRhoU< BASE, DENSITY, MOMENTUM >
 Partially-specializable rho and u computation. More...
 
struct  olb::momenta::ComputeRhoU< BASE, BulkDensity, BulkMomentum >
 
struct  olb::momenta::ConcreteTuple< DESCRIPTOR, DENSITY, MOMENTUM, STRESS, DefinitionRule >
 Tuple of momenta components forming a moment system. More...
 
struct  olb::momenta::Tuple< DENSITY, MOMENTUM, STRESS, DefinitionRule >
 
struct  olb::momenta::Forced< MOMENTA >
 
struct  olb::momenta::GuoZhaoForced< MOMENTA >
 
struct  olb::momenta::GuoZhaoForcedWithStress< MOMENTA >
 
struct  olb::momenta::ForcedWithStress< MOMENTA >
 
struct  olb::momenta::Porous< MOMENTA >
 
struct  olb::momenta::PorousParticle< MOMENTA >
 

Namespaces

namespace  olb
 Top level namespace for all of OpenLB.
 
namespace  olb::momenta
 

Typedefs

template<typename MOMENTA >
using olb::momenta::Identity = MOMENTA
 

Detailed Description

File provides a generic interface for the computation and definition of momenta (density, velocity, stress).

Struct Momenta provides a general (virtual) interface. Struct Tuple reduces the computation and definition on the computation and definition of the single density, velocity and stress "submomenta". The definition of e.g. the density also depends on a rule which says how to modify the cell population in that case, e.g. a new non-equilibrium state could be settled. This behavior is defined in DefinitionRule structures.

Definition in file interface.h.