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

#include <concepts.h>

+ Inheritance diagram for olb::concepts::placeholder::Cell:
+ Collaboration diagram for olb::concepts::placeholder::Cell:

Public Member Functions

template<typename FIELD >
auto getField ()
 
template<typename FIELD >
auto getFieldComponent (unsigned iPop)
 
template<typename FIELD >
auto & getFieldPointer ()
 
template<typename FIELD >
void setField (FieldD< ValueType, Descriptor, FIELD > &&)
 
- Public Member Functions inherited from olb::concepts::placeholder::MinimalCell
ValueType & operator[] (unsigned iPop)
 

Additional Inherited Members

- Public Types inherited from olb::concepts::placeholder::MinimalCell
using value_t = ValueType
 
using descriptor_t = Descriptor
 
- Public Attributes inherited from olb::concepts::placeholder::MinimalCell
ValueType f [Descriptor::q]
 

Detailed Description

Definition at line 193 of file concepts.h.

Member Function Documentation

◆ getField()

template<typename FIELD >
auto olb::concepts::placeholder::Cell::getField ( )
inline

Definition at line 195 of file concepts.h.

195{ return FieldD<ValueType,Descriptor,FIELD>(this->f); }
Vector< typename FIELD::template value_type< T >, DESCRIPTOR::template size< FIELD >() > FieldD
Vector storing a single field instance.
Definition vector.h:480

References olb::concepts::placeholder::MinimalCell::f.

◆ getFieldComponent()

template<typename FIELD >
auto olb::concepts::placeholder::Cell::getFieldComponent ( unsigned iPop)
inline

Definition at line 197 of file concepts.h.

197{ return this->f[iPop]; }

References olb::concepts::placeholder::MinimalCell::f.

◆ getFieldPointer()

template<typename FIELD >
auto & olb::concepts::placeholder::Cell::getFieldPointer ( )
inline

Definition at line 199 of file concepts.h.

199{ return this->f; }

References olb::concepts::placeholder::MinimalCell::f.

◆ setField()

template<typename FIELD >
void olb::concepts::placeholder::Cell::setField ( FieldD< ValueType, Descriptor, FIELD > && )
inline

Definition at line 201 of file concepts.h.

201{ }

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