OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::collision::LES::SMAGORINSKY Struct Reference

#include <collisionLES.h>

+ Inheritance diagram for olb::collision::LES::SMAGORINSKY:
+ Collaboration diagram for olb::collision::LES::SMAGORINSKY:

Static Public Member Functions

template<typename T , typename DESCRIPTOR >
static constexpr auto getInitialValue ()
 
template<typename T , typename DESCRIPTOR , typename FIELD >
static constexpr auto isValid (FieldD< T, DESCRIPTOR, FIELD > value)
 
- Static Public Member Functions inherited from olb::descriptors::FIELD_BASE< 1, 0, 0 >
static constexpr std::size_t size ()
 Get size of field for descriptor.
 
static constexpr auto getInitialValue ()
 Return value must be a correctly sized and typed olb::Vector.
 
static constexpr auto isValid (FieldD< T, DESCRIPTOR, FIELD > value)
 
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 37 of file collisionLES.h.

Member Function Documentation

◆ getInitialValue()

template<typename T , typename DESCRIPTOR >
static constexpr auto olb::collision::LES::SMAGORINSKY::getInitialValue ( )
inlinestaticconstexpr

Definition at line 39 of file collisionLES.h.

39 {
41 }
Vector< typename FIELD::template value_type< T >, DESCRIPTOR::template size< FIELD >() > FieldD
Vector storing a single field instance.
Definition vector.h:480

◆ isValid()

template<typename T , typename DESCRIPTOR , typename FIELD >
static constexpr auto olb::collision::LES::SMAGORINSKY::isValid ( FieldD< T, DESCRIPTOR, FIELD > value)
inlinestaticconstexpr

Definition at line 44 of file collisionLES.h.

44 {
45 return value >= 0;
46 }
typename std::integral_constant< TYPE, VALUE >::type value
Identity type to wrap non-type template arguments.
Definition meta.h:96

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