Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::LinearForm< TestType, EvalType > Struct Template Reference

#include <LinearForm.h>

Inheritance diagram for model::LinearForm< TestType, EvalType >:
Collaboration diagram for model::LinearForm< TestType, EvalType >:

Public Types

typedef TestType::TrialFunctionType TrialFunctionType
typedef LinearForm< TestType, EvalType > LinearFormType
typedef TypeTraits< TrialFunctionType >::ElementType ElementType
typedef TypeTraits< TrialFunctionType >::BaryType BaryType

Public Member Functions

 LinearForm (std::shared_ptr< TestExpression< TestType > > x, std::shared_ptr< EvalType > y)
Eigen::Matrix< double, dofPerElement, evalCols > operator() (const ElementType &ele, const BaryType &bary) const
const auto & field () const
Public Member Functions inherited from model::LinearWeakExpression< LinearForm< TestType, EvalType > >
LinearForm< TestType, EvalType > & derived ()
LinearForm< TestType, EvalType > * p_derived ()
 operator const LinearForm< TestType, EvalType > & () const

Public Attributes

const std::shared_ptr< TestExpression< TestType > > testExp
const std::shared_ptr< EvalType > evalExp

Static Public Attributes

static constexpr int evalCols =EvalType::cols
static constexpr int dim =TypeTraits< TrialFunctionType>::dim
static constexpr int dofPerNode =TypeTraits< TrialFunctionType>::dofPerNode
static constexpr int dofPerElement =TypeTraits< TrialFunctionType>::dofPerElement

Detailed Description

template<typename TestType, typename EvalType>
struct model::LinearForm< TestType, EvalType >

Definition at line 22 of file LinearForm.h.

Member Typedef Documentation

◆ BaryType

template<typename TestType, typename EvalType>
typedef TypeTraits<TrialFunctionType>::BaryType model::LinearForm< TestType, EvalType >::BaryType

Definition at line 32 of file LinearForm.h.

◆ ElementType

template<typename TestType, typename EvalType>
typedef TypeTraits<TrialFunctionType>::ElementType model::LinearForm< TestType, EvalType >::ElementType

Definition at line 31 of file LinearForm.h.

◆ LinearFormType

template<typename TestType, typename EvalType>
typedef LinearForm<TestType,EvalType> model::LinearForm< TestType, EvalType >::LinearFormType

Definition at line 30 of file LinearForm.h.

◆ TrialFunctionType

template<typename TestType, typename EvalType>
typedef TestType::TrialFunctionType model::LinearForm< TestType, EvalType >::TrialFunctionType

Definition at line 27 of file LinearForm.h.

Constructor & Destructor Documentation

◆ LinearForm()

template<typename TestType, typename EvalType>
model::LinearForm< TestType, EvalType >::LinearForm ( std::shared_ptr< TestExpression< TestType > > x,
std::shared_ptr< EvalType > y )
inline

Definition at line 40 of file LinearForm.h.

Member Function Documentation

◆ field()

template<typename TestType, typename EvalType>
const auto & model::LinearForm< TestType, EvalType >::field ( ) const
inline

Definition at line 55 of file LinearForm.h.

◆ operator()()

template<typename TestType, typename EvalType>
Eigen::Matrix< double, dofPerElement, evalCols > model::LinearForm< TestType, EvalType >::operator() ( const ElementType & ele,
const BaryType & bary ) const
inline

Definition at line 49 of file LinearForm.h.

Member Data Documentation

◆ dim

template<typename TestType, typename EvalType>
int model::LinearForm< TestType, EvalType >::dim =TypeTraits< TrialFunctionType>::dim
staticconstexpr

Definition at line 34 of file LinearForm.h.

◆ dofPerElement

template<typename TestType, typename EvalType>
int model::LinearForm< TestType, EvalType >::dofPerElement =TypeTraits< TrialFunctionType>::dofPerElement
staticconstexpr

Definition at line 36 of file LinearForm.h.

◆ dofPerNode

template<typename TestType, typename EvalType>
int model::LinearForm< TestType, EvalType >::dofPerNode =TypeTraits< TrialFunctionType>::dofPerNode
staticconstexpr

Definition at line 35 of file LinearForm.h.

◆ evalCols

template<typename TestType, typename EvalType>
int model::LinearForm< TestType, EvalType >::evalCols =EvalType::cols
staticconstexpr

Definition at line 28 of file LinearForm.h.

◆ evalExp

template<typename TestType, typename EvalType>
const std::shared_ptr<EvalType> model::LinearForm< TestType, EvalType >::evalExp

Definition at line 39 of file LinearForm.h.

◆ testExp

template<typename TestType, typename EvalType>
const std::shared_ptr<TestExpression<TestType> > model::LinearForm< TestType, EvalType >::testExp

Definition at line 38 of file LinearForm.h.


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