OpenLB 1.7
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
olb::descriptors::POROSITY Struct Reference

#include <descriptorField.h>

+ Inheritance diagram for olb::descriptors::POROSITY:
+ Collaboration diagram for olb::descriptors::POROSITY:

Static Public Member Functions

template<typename T , typename DESCRIPTOR >
static constexpr auto getInitialValue ()
 
- Static Public Member Functions inherited from olb::descriptors::FIELD_BASE< 1, 0, 0 >
static constexpr std::size_t size (std::index_sequence< V... >)
 Get size of field for parameter vector V (strict)
 
static constexpr std::size_t size ()
 Get size of field for parameter vector V (zero-padds or shortens V as required)
 
static constexpr auto getInitialValue ()
 Return value must be a correctly sized and typed olb::Vector.
 
static constexpr bool isSerializable ()
 

Additional Inherited Members

- Public Types inherited from olb::descriptors::FIELD_BASE< 1, 0, 0 >
using value_type
 Return value type of field.
 
using column_type
 
- Public Member Functions inherited from olb::descriptors::FIELD_BASE< 1, 0, 0 >
 FIELD_BASE ()=default
 

Detailed Description

Definition at line 256 of file descriptorField.h.

Member Function Documentation

◆ getInitialValue()

template<typename T , typename DESCRIPTOR >
static constexpr auto olb::descriptors::POROSITY::getInitialValue ( )
inlinestaticconstexpr

Definition at line 258 of file descriptorField.h.

258 {
259 return Vector<value_type<T>,DESCRIPTOR::template size<POROSITY>()>{1};
260 }

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