Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::Constant< T, _rows, _cols > Struct Template Reference

#include <Constant.h>

Inheritance diagram for model::Constant< T, _rows, _cols >:
Collaboration diagram for model::Constant< T, _rows, _cols >:

Public Member Functions

 Constant (const T &c_in)
template<typename ElementType, typename BaryType>
const T & operator() (const ElementType &, const BaryType &) const
Public Member Functions inherited from model::EvalFunction< Constant< T, _rows, _cols > >
Constant< T, _rows, _cols > & derived ()
Constant< T, _rows, _cols > * p_derived ()
 operator const Constant< T, _rows, _cols > & () const

Public Attributes

const T c

Static Public Attributes

static constexpr int rows =_rows
static constexpr int cols =_cols

Detailed Description

template<typename T, int _rows, int _cols>
struct model::Constant< T, _rows, _cols >

Definition at line 22 of file Constant.h.

Constructor & Destructor Documentation

◆ Constant()

template<typename T, int _rows, int _cols>
model::Constant< T, _rows, _cols >::Constant ( const T & c_in)
inline

Definition at line 28 of file Constant.h.

Member Function Documentation

◆ operator()()

template<typename T, int _rows, int _cols>
template<typename ElementType, typename BaryType>
const T & model::Constant< T, _rows, _cols >::operator() ( const ElementType & ,
const BaryType &  ) const
inline
Parameters
[in]elemthe element
[in]barythe barycentric cooridinate
Returns
the constant c.

Definition at line 33 of file Constant.h.

Member Data Documentation

◆ c

template<typename T, int _rows, int _cols>
const T model::Constant< T, _rows, _cols >::c

Definition at line 27 of file Constant.h.

◆ cols

template<typename T, int _rows, int _cols>
int model::Constant< T, _rows, _cols >::cols =_cols
staticconstexpr

Definition at line 25 of file Constant.h.

◆ rows

template<typename T, int _rows, int _cols>
int model::Constant< T, _rows, _cols >::rows =_rows
staticconstexpr

Definition at line 24 of file Constant.h.


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