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

#include <concepts.h>

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

Public Types

using value_t = ValueType
 
using descriptor_t = Descriptor3D
 
template<typename... >
using include_fields = Parameters3D
 

Public Member Functions

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

Detailed Description

Definition at line 225 of file concepts.h.

Member Typedef Documentation

◆ descriptor_t

◆ include_fields

Definition at line 230 of file concepts.h.

◆ value_t

Member Function Documentation

◆ get()

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

Definition at line 235 of file concepts.h.

235 {
236 if constexpr (descriptor_t::template size<FIELD>() == 1) {
238 } else {
240 }
241 }
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::Parameters3D::provides ( ) const
inline

Definition at line 233 of file concepts.h.

233{ return false; }

◆ set()

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

Definition at line 243 of file concepts.h.

243{ }

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