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

#include <phaseFieldWall2D.h>

+ Collaboration diagram for olb::boundary::PhaseFieldWall< 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::PhaseFieldWall< T, DESCRIPTOR, MixinDynamics >

Definition at line 40 of file phaseFieldWall2D.h.

Member Typedef Documentation

◆ descriptor_t

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

Definition at line 43 of file phaseFieldWall2D.h.

◆ value_t

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

Definition at line 42 of file phaseFieldWall2D.h.

Member Function Documentation

◆ getDynamics()

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

Definition at line 49 of file phaseFieldWall2D.h.

50 {
51 switch (type) {
53 return meta::id<MixinDynamics>();
54
55 default:
56 return std::nullopt;
57 }
58}

References olb::Flat.

◆ getNeighborhoodRadius()

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

Definition at line 45 of file phaseFieldWall2D.h.

45 {
46 return 2;
47}

◆ getPostProcessor()

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

Definition at line 60 of file phaseFieldWall2D.h.

61 {
62 switch (type) {
65
66 default:
67 return std::nullopt;
68 }
69}
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: