OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::concepts::placeholder::Parameters2D Struct Reference

#include <concepts.h>

+ Collaboration diagram for olb::concepts::placeholder::Parameters2D:

Public Types

using value_t = ValueType
 
using descriptor_t = Descriptor2D
 
template<typename... >
using include_fields = Parameters2D
 

Public Member Functions

template<typename FIELD >
bool provides () const
 
template<typename FIELD >
auto get ()
 
template<typename FIELD >
void set (FieldD< ValueType, Descriptor2D, FIELD > &&)
 

Detailed Description

Definition at line 204 of file concepts.h.

Member Typedef Documentation

◆ descriptor_t

◆ include_fields

Definition at line 209 of file concepts.h.

◆ value_t

Member Function Documentation

◆ get()

template<typename FIELD >
auto olb::concepts::placeholder::Parameters2D::get ( )
inline

Definition at line 214 of file concepts.h.

214 {
215 if constexpr (descriptor_t::template size<FIELD>() == 1) {
217 } else {
219 }
220 }
Vector< typename FIELD::template value_type< T >, DESCRIPTOR::template size< FIELD >() > FieldD
Vector storing a single field instance.
Definition vector.h:480

◆ provides()

template<typename FIELD >
bool olb::concepts::placeholder::Parameters2D::provides ( ) const
inline

Definition at line 212 of file concepts.h.

212{ return false; }

◆ set()

template<typename FIELD >
void olb::concepts::placeholder::Parameters2D::set ( FieldD< ValueType, Descriptor2D, FIELD > && )
inline

Definition at line 222 of file concepts.h.

222{ }

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