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

#include <partialSlip2D.h>

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

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)
 
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>
requires (DESCRIPTOR::d == 3)
struct olb::boundary::PartialSlip< T, DESCRIPTOR >

Definition at line 42 of file partialSlip3D.h.

Member Typedef Documentation

◆ descriptor_t

template<concepts::BaseType T, concepts::LatticeDescriptor DESCRIPTOR>
typedef DESCRIPTOR olb::boundary::PartialSlip< T, DESCRIPTOR >::descriptor_t = DESCRIPTOR

Definition at line 45 of file partialSlip2D.h.

◆ value_t

template<concepts::BaseType T, concepts::LatticeDescriptor DESCRIPTOR>
typedef T olb::boundary::PartialSlip< T, DESCRIPTOR >::value_t = T

Definition at line 44 of file partialSlip2D.h.

Member Function Documentation

◆ getDynamics() [1/2]

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

Definition at line 51 of file partialSlip2D.h.

52 {
53 if (n != 0) {
54 return std::nullopt;
55 } else {
56 return meta::id<olb::BounceBack<T,DESCRIPTOR>>();
57 }
58}

◆ getDynamics() [2/2]

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

Definition at line 51 of file partialSlip3D.h.

52 {
53 if (n != 0) {
54 return std::nullopt;
55 } else {
56 return meta::id<olb::BounceBack<T,DESCRIPTOR>>();
57 }
58}

◆ getNeighborhoodRadius() [1/2]

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

Definition at line 47 of file partialSlip2D.h.

47 {
48 return 1;
49}

◆ getNeighborhoodRadius() [2/2]

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

Definition at line 47 of file partialSlip3D.h.

47 {
48 return 1;
49}

◆ getPostProcessor() [1/2]

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

Definition at line 60 of file partialSlip2D.h.

61 {
62 if (n != 0) {
64 }
65 return std::nullopt;
66}
PostProcessorPromise< T, DESCRIPTOR > promisePostProcessorForNormal(Vector< int, 2 > n)

References olb::boundaryhelper::promisePostProcessorForNormal().

+ Here is the call graph for this function:

◆ getPostProcessor() [2/2]

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

Definition at line 60 of file partialSlip3D.h.

61 {
62 if (n != 0) {
64 }
65 return std::nullopt;
66}

References olb::boundaryhelper::promisePostProcessorForNormal().

+ Here is the call graph for this function:

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