OpenWalnut  1.5.0dev
Static Public Member Functions | List of all members
WRecursiveTensorEvaluation< Data_T, 0, n, N, m > Struct Template Reference

Recursive evaluation of a spherical function for a gradient. More...

#include <WTensorMeta.h>

Static Public Member Functions

static Data_T evaluate (Data_T const *&tens, Data_T const *, Data_T w)
 Multiply the accumulated weight by the tensor component. More...
 

Detailed Description

template<typename Data_T, std::size_t n, std::size_t N, std::size_t m>
struct WRecursiveTensorEvaluation< Data_T, 0, n, N, m >

Recursive evaluation of a spherical function for a gradient.

Definition at line 105 of file WTensorMeta.h.

Member Function Documentation

◆ evaluate()

template<typename Data_T , std::size_t n, std::size_t N, std::size_t m>
static Data_T WRecursiveTensorEvaluation< Data_T, 0, n, N, m >::evaluate ( Data_T const *&  tens,
Data_T const *  ,
Data_T  w 
)
inlinestatic

Multiply the accumulated weight by the tensor component.

Parameters
tensA pointer to the tensor components.
wThe result up to now.
Returns
The result.

Definition at line 115 of file WTensorMeta.h.


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