OpenLB 1.7
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
olb::descriptors::TEMPLATE_FIELD_BASE< TYPE, C, U > Struct Template Reference

#include <descriptorField.h>

+ Inheritance diagram for olb::descriptors::TEMPLATE_FIELD_BASE< TYPE, C, U >:
+ Collaboration diagram for olb::descriptors::TEMPLATE_FIELD_BASE< TYPE, C, U >:

Public Types

template<typename T >
using value_type = TYPE<T>
 
template<typename T >
using column_type = AbstractColumn<value_type<T>>
 
- Public Types inherited from olb::descriptors::FIELD_BASE< C, U... >
using value_type
 Return value type of field.
 
using column_type
 

Static Public Member Functions

template<typename T , typename DESCRIPTOR >
static constexpr auto getInitialValue ()
 
static constexpr bool isSerializable ()
 
- Static Public Member Functions inherited from olb::descriptors::FIELD_BASE< C, U... >
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 Member Functions inherited from olb::descriptors::FIELD_BASE< C, U... >
 FIELD_BASE ()=default
 

Detailed Description

template<template< typename > typename TYPE, unsigned C, unsigned... U>
struct olb::descriptors::TEMPLATE_FIELD_BASE< TYPE, C, U >

Definition at line 124 of file descriptorField.h.

Member Typedef Documentation

◆ column_type

template<template< typename > typename TYPE, unsigned C, unsigned... U>
template<typename T >
using olb::descriptors::TEMPLATE_FIELD_BASE< TYPE, C, U >::column_type = AbstractColumn<value_type<T>>

Definition at line 129 of file descriptorField.h.

◆ value_type

template<template< typename > typename TYPE, unsigned C, unsigned... U>
template<typename T >
using olb::descriptors::TEMPLATE_FIELD_BASE< TYPE, C, U >::value_type = TYPE<T>

Definition at line 126 of file descriptorField.h.

Member Function Documentation

◆ getInitialValue()

template<template< typename > typename TYPE, unsigned C, unsigned... U>
template<typename T , typename DESCRIPTOR >
static constexpr auto olb::descriptors::TEMPLATE_FIELD_BASE< TYPE, C, U >::getInitialValue ( )
inlinestaticconstexpr

Definition at line 132 of file descriptorField.h.

132 {
133 return Vector<value_type<T>, DESCRIPTOR::template size<FIELD_BASE<C,U...>>()>{};
134 }
static constexpr std::size_t size()
Get size of field for parameter vector V (zero-padds or shortens V as required)

References olb::descriptors::FIELD_BASE< C, U... >::size().

+ Here is the call graph for this function:

◆ isSerializable()

template<template< typename > typename TYPE, unsigned C, unsigned... U>
static constexpr bool olb::descriptors::TEMPLATE_FIELD_BASE< TYPE, C, U >::isSerializable ( )
inlinestaticconstexpr

Definition at line 136 of file descriptorField.h.

136 {
137 return false;
138 }

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