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

#include <phaseFieldWall2D.h>

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

Definition at line 75 of file phaseFieldWall2D.h.

Member Typedef Documentation

◆ descriptor_t

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

Definition at line 78 of file phaseFieldWall2D.h.

◆ value_t

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

Definition at line 77 of file phaseFieldWall2D.h.

Member Function Documentation

◆ getDynamics()

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

Definition at line 84 of file phaseFieldWall2D.h.

85 {
86 return meta::id<MixinDynamics>();
87}

◆ getNeighborhoodRadius()

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

Definition at line 80 of file phaseFieldWall2D.h.

80 {
81 return 1;
82}

◆ getPostProcessor()

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

Definition at line 89 of file phaseFieldWall2D.h.

90 {
91 switch (type) {
93 if (n[0] == 0 && n[1] == 0) {
94 return meta::id<GeometricPhaseFieldCurvedWallProcessor2D<T,DESCRIPTOR>>();
95 }
97
100
103
104 default:
105 return meta::id<GeometricPhaseFieldCurvedWallProcessor2D<T,DESCRIPTOR>>();
106 }
107}
PostProcessorPromise< T, DESCRIPTOR > promisePostProcessorForNormal(Vector< int, 2 > n)
@ ExternalCorner
Normal detected as flat plane.
@ InternalCorner
Normal detected as external corner.

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

+ Here is the call graph for this function:

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