MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::ScalarOps< scalar_t > Struct Template Reference

Auxiliary class used as the default for the second template parameter in the classes InvariantsEvaluator2D and InvariantsEvaluator3D. More...

#include <invariants.hpp>

Static Public Member Functions

static scalar_t sign (const scalar_t &a)
 
static scalar_t pow (const scalar_t &x, int m, int n)
 

Detailed Description

template<typename scalar_t>
struct mfem::ScalarOps< scalar_t >

Auxiliary class used as the default for the second template parameter in the classes InvariantsEvaluator2D and InvariantsEvaluator3D.

Definition at line 27 of file invariants.hpp.

Member Function Documentation

◆ pow()

template<typename scalar_t >
static scalar_t mfem::ScalarOps< scalar_t >::pow ( const scalar_t & x,
int m,
int n )
inlinestatic

Definition at line 32 of file invariants.hpp.

◆ sign()

template<typename scalar_t >
static scalar_t mfem::ScalarOps< scalar_t >::sign ( const scalar_t & a)
inlinestatic

Definition at line 29 of file invariants.hpp.


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