Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::BilinearForm< T1, T2 > Struct Template Reference

#include <BilinearForm.h>

Collaboration diagram for model::BilinearForm< T1, T2 >:

Public Types

typedef TestExpression< T1 >::TestExpressionType TestExpressionType
typedef T2 TrialExpressionType
typedef T2::TrialFunctionType TrialFunctionType
typedef TypeTraits< TrialFunctionType >::ElementType ElementType
typedef TypeTraits< TrialFunctionType >::BaryType BaryType
typedef TypeTraits< TrialFunctionType >::FiniteElementType FiniteElementType
typedef Eigen::Matrix< double, dofPerElement, dofPerElement > ElementMatrixType

Public Member Functions

 BilinearForm (std::shared_ptr< TestExpression< T1 > > x, std::shared_ptr< T2 > y)
ElementMatrixType operator() (const ElementType &ele, const BaryType &bary) const
const auto & field () const

Public Attributes

const std::shared_ptr< TestExpression< T1 > > testExpr
const std::shared_ptr< TrialExpressionType > trialExpr

Static Public Attributes

static constexpr int dim =TypeTraits<TrialFunctionType>::dim
static constexpr int nodesPerElement =TypeTraits<TrialFunctionType>::nodesPerElement
static constexpr int dofPerNode =TypeTraits<TrialFunctionType>::dofPerNode
static constexpr int dofPerElement =TypeTraits<TrialFunctionType>::dofPerElement

Detailed Description

template<typename T1, typename T2>
struct model::BilinearForm< T1, T2 >

Definition at line 22 of file BilinearForm.h.

Member Typedef Documentation

◆ BaryType

template<typename T1, typename T2>
typedef TypeTraits<TrialFunctionType>::BaryType model::BilinearForm< T1, T2 >::BaryType

Definition at line 33 of file BilinearForm.h.

◆ ElementMatrixType

template<typename T1, typename T2>
typedef Eigen::Matrix<double,dofPerElement,dofPerElement> model::BilinearForm< T1, T2 >::ElementMatrixType

Definition at line 41 of file BilinearForm.h.

◆ ElementType

template<typename T1, typename T2>
typedef TypeTraits<TrialFunctionType>::ElementType model::BilinearForm< T1, T2 >::ElementType

Definition at line 32 of file BilinearForm.h.

◆ FiniteElementType

template<typename T1, typename T2>
typedef TypeTraits<TrialFunctionType>::FiniteElementType model::BilinearForm< T1, T2 >::FiniteElementType

Definition at line 34 of file BilinearForm.h.

◆ TestExpressionType

template<typename T1, typename T2>
typedef TestExpression<T1>::TestExpressionType model::BilinearForm< T1, T2 >::TestExpressionType

Definition at line 28 of file BilinearForm.h.

◆ TrialExpressionType

template<typename T1, typename T2>
typedef T2 model::BilinearForm< T1, T2 >::TrialExpressionType

Definition at line 29 of file BilinearForm.h.

◆ TrialFunctionType

template<typename T1, typename T2>
typedef T2::TrialFunctionType model::BilinearForm< T1, T2 >::TrialFunctionType

Definition at line 31 of file BilinearForm.h.

Constructor & Destructor Documentation

◆ BilinearForm()

template<typename T1, typename T2>
model::BilinearForm< T1, T2 >::BilinearForm ( std::shared_ptr< TestExpression< T1 > > x,
std::shared_ptr< T2 > y )
inline

Definition at line 45 of file BilinearForm.h.

Member Function Documentation

◆ field()

template<typename T1, typename T2>
const auto & model::BilinearForm< T1, T2 >::field ( ) const
inline

Definition at line 64 of file BilinearForm.h.

◆ operator()()

template<typename T1, typename T2>
ElementMatrixType model::BilinearForm< T1, T2 >::operator() ( const ElementType & ele,
const BaryType & bary ) const
inline

Definition at line 54 of file BilinearForm.h.

Member Data Documentation

◆ dim

template<typename T1, typename T2>
int model::BilinearForm< T1, T2 >::dim =TypeTraits<TrialFunctionType>::dim
staticconstexpr

Definition at line 36 of file BilinearForm.h.

◆ dofPerElement

template<typename T1, typename T2>
int model::BilinearForm< T1, T2 >::dofPerElement =TypeTraits<TrialFunctionType>::dofPerElement
staticconstexpr

Definition at line 39 of file BilinearForm.h.

◆ dofPerNode

template<typename T1, typename T2>
int model::BilinearForm< T1, T2 >::dofPerNode =TypeTraits<TrialFunctionType>::dofPerNode
staticconstexpr

Definition at line 38 of file BilinearForm.h.

◆ nodesPerElement

template<typename T1, typename T2>
int model::BilinearForm< T1, T2 >::nodesPerElement =TypeTraits<TrialFunctionType>::nodesPerElement
staticconstexpr

Definition at line 37 of file BilinearForm.h.

◆ testExpr

template<typename T1, typename T2>
const std::shared_ptr<TestExpression<T1> > model::BilinearForm< T1, T2 >::testExpr

Definition at line 43 of file BilinearForm.h.

◆ trialExpr

template<typename T1, typename T2>
const std::shared_ptr<TrialExpressionType> model::BilinearForm< T1, T2 >::trialExpr

Definition at line 44 of file BilinearForm.h.


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