OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::boundary::WellBalancedWall< T, DESCRIPTOR, MixinDynamics > Struct Template Reference

#include <phaseFieldWall2D.h>

+ Collaboration diagram for olb::boundary::WellBalancedWall< T, DESCRIPTOR, MixinDynamics >:

Public Types

using value_t = T
 
using descriptor_t = DESCRIPTOR
 

Public Member Functions

CellDistance getNeighborhoodRadius ()
 
std::optional< DynamicsPromise< T, DESCRIPTOR > > getDynamics (DiscreteNormalType type, DiscreteNormal< DESCRIPTOR > n)
 
std::optional< PostProcessorPromise< T, DESCRIPTOR > > getPostProcessor (DiscreteNormalType type, DiscreteNormal< DESCRIPTOR > n)
 

Detailed Description

template<concepts::BaseType T, concepts::LatticeDescriptor DESCRIPTOR, typename MixinDynamics>
requires (DESCRIPTOR::d == 2)
struct olb::boundary::WellBalancedWall< T, DESCRIPTOR, MixinDynamics >

Definition at line 113 of file phaseFieldWall2D.h.

Member Typedef Documentation

◆ descriptor_t

template<concepts::BaseType T, concepts::LatticeDescriptor DESCRIPTOR, typename MixinDynamics >
using olb::boundary::WellBalancedWall< T, DESCRIPTOR, MixinDynamics >::descriptor_t = DESCRIPTOR

Definition at line 116 of file phaseFieldWall2D.h.

◆ value_t

template<concepts::BaseType T, concepts::LatticeDescriptor DESCRIPTOR, typename MixinDynamics >
using olb::boundary::WellBalancedWall< T, DESCRIPTOR, MixinDynamics >::value_t = T

Definition at line 115 of file phaseFieldWall2D.h.

Member Function Documentation

◆ getDynamics()

template<concepts::BaseType T, concepts::LatticeDescriptor DESCRIPTOR, typename MixinDynamics >
std::optional< DynamicsPromise< T, DESCRIPTOR > > olb::boundary::WellBalancedWall< T, DESCRIPTOR, MixinDynamics >::getDynamics ( DiscreteNormalType type,
DiscreteNormal< DESCRIPTOR > n )
inline

Definition at line 122 of file phaseFieldWall2D.h.

123 {
124 switch (type) {
126 return meta::id<MixinDynamics>();
127
128 default:
129 return std::nullopt;
130 }
131 }

References olb::Flat.

◆ getNeighborhoodRadius()

template<concepts::BaseType T, concepts::LatticeDescriptor DESCRIPTOR, typename MixinDynamics >
CellDistance olb::boundary::WellBalancedWall< T, DESCRIPTOR, MixinDynamics >::getNeighborhoodRadius ( )
inline

Definition at line 118 of file phaseFieldWall2D.h.

118 {
119 return 1;
120 }

◆ getPostProcessor()

template<concepts::BaseType T, concepts::LatticeDescriptor DESCRIPTOR, typename MixinDynamics >
std::optional< PostProcessorPromise< T, DESCRIPTOR > > olb::boundary::WellBalancedWall< T, DESCRIPTOR, MixinDynamics >::getPostProcessor ( DiscreteNormalType type,
DiscreteNormal< DESCRIPTOR > n )
inline

Definition at line 133 of file phaseFieldWall2D.h.

134 {
135 switch (type) {
138
139 default:
140 return std::nullopt;
141 }
142 }
PostProcessorPromise< T, DESCRIPTOR > promisePostProcessorForNormal(Vector< int, 2 > n)

References olb::Flat, and olb::boundaryhelper::promisePostProcessorForNormal().

+ Here is the call graph for this function:

The documentation for this struct was generated from the following file: