SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
MathFunctions::TensorProduct< Dim > Class Template Reference

a tensor product of one-dimensional MathFunctions More...

#include <TensorProduct.hpp>

Public Member Functions

 TensorProduct (double scale, std::array< std::unique_ptr< MathFunction< 1, Frame::Inertial > >, Dim > &&functions)
 TensorProduct (const TensorProduct &other)
 TensorProduct (TensorProduct &&)=default
TensorProductoperator= (const TensorProduct &other)
TensorProductoperator= (TensorProduct &&)=default
template<typename T>
Scalar< T > operator() (const tnsr::I< T, Dim > &x) const
 The value of the function.
template<typename T>
tnsr::i< T, Dim > first_derivatives (const tnsr::I< T, Dim > &x) const
 The partial derivatives of the function.
template<typename T>
tnsr::ii< T, Dim > second_derivatives (const tnsr::I< T, Dim > &x) const
 The second partial derivatives of the function.

Friends

template<size_t LocalDim>
bool operator== (const TensorProduct< LocalDim > &lhs, const TensorProduct< LocalDim > &rhs)
template<size_t LocalDim>
bool operator!= (const TensorProduct< LocalDim > &lhs, const TensorProduct< LocalDim > &rhs)

Detailed Description

template<size_t Dim>
class MathFunctions::TensorProduct< Dim >

a tensor product of one-dimensional MathFunctions


The documentation for this class was generated from the following file:
  • src/PointwiseFunctions/MathFunctions/TensorProduct.hpp