OpenLB 1.7
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
olb::util::TensorVal< DESCRIPTORBASE > Struct Template Reference

Compute number of elements of a symmetric d-dimensional tensor. More...

#include <util.h>

+ Collaboration diagram for olb::util::TensorVal< DESCRIPTORBASE >:

Static Public Attributes

static constexpr int n = (DESCRIPTORBASE::d*(DESCRIPTORBASE::d+1))/2
 result stored in n
 

Detailed Description

template<typename DESCRIPTORBASE>
struct olb::util::TensorVal< DESCRIPTORBASE >

Compute number of elements of a symmetric d-dimensional tensor.

Definition at line 210 of file util.h.

Member Data Documentation

◆ n

template<typename DESCRIPTORBASE >
constexpr int olb::util::TensorVal< DESCRIPTORBASE >::n = (DESCRIPTORBASE::d*(DESCRIPTORBASE::d+1))/2
staticconstexpr

result stored in n

Definition at line 211 of file util.h.


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