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

#include <TrialProd.h>

Inheritance diagram for model::TrialProd< T1, T2 >:
Collaboration diagram for model::TrialProd< T1, T2 >:

Public Types

typedef T2::TrialFunctionType TrialFunctionType
typedef TrialBase< TrialFunctionType > TrialBaseType
typedef TypeTraits< TrialFunctionType >::ElementType ElementType
typedef TypeTraits< TrialFunctionType >::BaryType BaryType
typedef Eigen::Matrix< double, rows, dofPerElement > ShapeFunctionMatrixType
typedef Eigen::Matrix< double, rows *dim, dofPerElement > ShapeFunctionGradMatrixType
typedef Eigen::Matrix< double, rows, 1 > EvalMatrixType

Public Member Functions

 TrialProd (std::shared_ptr< T1 > x, std::shared_ptr< T2 > y)
ShapeFunctionMatrixType sfm (const ElementType &ele, const BaryType &bary) const
ShapeFunctionGradMatrixType sfmGrad (const ElementType &ele, const BaryType &bary) const
const auto & field () const
Public Member Functions inherited from model::TrialExpressionBase< TrialProd< T1, T2 > >
 TrialExpressionBase ()=default
TrialProd< T1, T2 > & derived ()
TrialProd< T1, T2 > * p_derived ()
 operator const TrialProd< T1, T2 > & () const

Public Attributes

const std::shared_ptr< T1 > op1
const std::shared_ptr< T2 > op2

Static Public Attributes

static constexpr int dim =TypeTraits<TrialFunctionType>::dim
static constexpr int dofPerElement =TypeTraits<TrialFunctionType>::dofPerElement
static constexpr int rows =TrialProdRows<T1::rows,T1::cols,T2::rows>::rows
static constexpr int cols =T2::cols

Detailed Description

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

Definition at line 46 of file TrialProd.h.

Member Typedef Documentation

◆ BaryType

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

Definition at line 52 of file TrialProd.h.

◆ ElementType

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

Definition at line 51 of file TrialProd.h.

◆ EvalMatrixType

template<typename T1, typename T2>
typedef Eigen::Matrix<double,rows,1> model::TrialProd< T1, T2 >::EvalMatrixType

Definition at line 60 of file TrialProd.h.

◆ ShapeFunctionGradMatrixType

template<typename T1, typename T2>
typedef Eigen::Matrix<double,rows*dim,dofPerElement> model::TrialProd< T1, T2 >::ShapeFunctionGradMatrixType

Definition at line 59 of file TrialProd.h.

◆ ShapeFunctionMatrixType

template<typename T1, typename T2>
typedef Eigen::Matrix<double,rows,dofPerElement> model::TrialProd< T1, T2 >::ShapeFunctionMatrixType

Definition at line 58 of file TrialProd.h.

◆ TrialBaseType

template<typename T1, typename T2>
typedef TrialBase<TrialFunctionType> model::TrialProd< T1, T2 >::TrialBaseType

Definition at line 50 of file TrialProd.h.

◆ TrialFunctionType

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

Definition at line 49 of file TrialProd.h.

Constructor & Destructor Documentation

◆ TrialProd()

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

Definition at line 64 of file TrialProd.h.

Member Function Documentation

◆ field()

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

Definition at line 112 of file TrialProd.h.

◆ sfm()

template<typename T1, typename T2>
ShapeFunctionMatrixType model::TrialProd< T1, T2 >::sfm ( const ElementType & ele,
const BaryType & bary ) const
inline

Definition at line 73 of file TrialProd.h.

◆ sfmGrad()

template<typename T1, typename T2>
ShapeFunctionGradMatrixType model::TrialProd< T1, T2 >::sfmGrad ( const ElementType & ele,
const BaryType & bary ) const
inline

Definition at line 79 of file TrialProd.h.

Member Data Documentation

◆ cols

template<typename T1, typename T2>
int model::TrialProd< T1, T2 >::cols =T2::cols
staticconstexpr

Definition at line 56 of file TrialProd.h.

◆ dim

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

Definition at line 53 of file TrialProd.h.

◆ dofPerElement

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

Definition at line 54 of file TrialProd.h.

◆ op1

template<typename T1, typename T2>
const std::shared_ptr<T1> model::TrialProd< T1, T2 >::op1

Definition at line 62 of file TrialProd.h.

◆ op2

template<typename T1, typename T2>
const std::shared_ptr<T2> model::TrialProd< T1, T2 >::op2

Definition at line 63 of file TrialProd.h.

◆ rows

template<typename T1, typename T2>
int model::TrialProd< T1, T2 >::rows =TrialProdRows<T1::rows,T1::cols,T2::rows>::rows
staticconstexpr

Definition at line 55 of file TrialProd.h.


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