OpenWalnut  1.5.0dev
Static Public Member Functions | List of all members
WRecursiveTensorEvaluation< Data_T, k, 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 *grad, Data_T w)
 Multiply gradient components and divide by multiplicities. More...
 

Detailed Description

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

Recursive evaluation of a spherical function for a gradient.

Definition at line 83 of file WTensorMeta.h.

Member Function Documentation

◆ evaluate()

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

Multiply gradient components and divide by multiplicities.

Parameters
tensA pointer to the tensor components.
gradThe gradient to evaluate the function at.
wThe result up to now.
Returns
The result.

Definition at line 94 of file WTensorMeta.h.

Referenced by WRecursiveTensorEvaluationLoop< IterEnd, Data_T, k, i, N >::evaluate(), and WTensorSym< order, dim, Data_T >::evaluateSphericalFunction().

+ Here is the caller graph for this function:

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