Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType > Struct Template Reference

#include <FirstOrderReaction.h>

Inheritance diagram for model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >:
Collaboration diagram for model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >:

Public Types

typedef EvalExpression< ImmobileTrialFunctionType > ImmobileEvalFunctionType

Public Member Functions

 FirstOrderReaction (const std::shared_ptr< ImmobileTrialFunctionType > &sink_in, const ClusterDynamicsParameters< 3 > &cdp_in, const PolycrystallineMaterialBase &mat_in)
Eigen::Array< double, iSize/2, mSize > biasDRIFT () const
Eigen::Array< double, iSize/2, mSize > biasDAD (Eigen::Array< double, 1, mSize > &p) const
Eigen::Matrix< double, iSize, mSize > sinkStrengths (const Eigen::Matrix< double, iSize, 1 > &sinkValue, const size_t &gID) const
Eigen::Matrix< double, mSize, mSize > buildR1 (const Eigen::Matrix< double, iSize, 1 > &sinkValue, const size_t &gID) const
template<typename ElementType, typename BaryType>
const Eigen::Matrix< double, rows, cols > operator() (const ElementType &ele, const BaryType &bary) const
Public Member Functions inherited from model::EvalFunction< FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType > >
FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType > & derived ()
FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType > * p_derived ()
 operator const FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType > & () const

Public Attributes

const ClusterDynamicsParameters< dim > & cdp
const PolycrystallineMaterialBase & mat
const std::shared_ptr< ImmobileTrialFunctionType > sink
const std::shared_ptr< ImmobileEvalFunctionType > sinke
const Eigen::Matrix< double, rows, 1 > inFactors
const Eigen::Matrix< double, rows, 1 > outFactors

Static Public Attributes

static constexpr int rows = MobileTrialFunctionType::rows
static constexpr int cols = rows
static constexpr int iSize = ImmobileTrialFunctionType::rows
static constexpr int mSize = MobileTrialFunctionType::rows
static constexpr int dim = MobileTrialFunctionType::dim

Detailed Description

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
struct model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >

Definition at line 14 of file FirstOrderReaction.h.

Member Typedef Documentation

◆ ImmobileEvalFunctionType

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
typedef EvalExpression<ImmobileTrialFunctionType> model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::ImmobileEvalFunctionType

Definition at line 26 of file FirstOrderReaction.h.

Constructor & Destructor Documentation

◆ FirstOrderReaction()

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::FirstOrderReaction ( const std::shared_ptr< ImmobileTrialFunctionType > & sink_in,
const ClusterDynamicsParameters< 3 > & cdp_in,
const PolycrystallineMaterialBase & mat_in )
inline

Definition at line 33 of file FirstOrderReaction.h.

Member Function Documentation

◆ biasDAD()

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
Eigen::Array< double, iSize/2, mSize > model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::biasDAD ( Eigen::Array< double, 1, mSize > & p) const
inline

Definition at line 71 of file FirstOrderReaction.h.

◆ biasDRIFT()

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
Eigen::Array< double, iSize/2, mSize > model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::biasDRIFT ( ) const
inline

Definition at line 64 of file FirstOrderReaction.h.

◆ buildR1()

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
Eigen::Matrix< double, mSize, mSize > model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::buildR1 ( const Eigen::Matrix< double, iSize, 1 > & sinkValue,
const size_t & gID ) const
inline

Definition at line 157 of file FirstOrderReaction.h.

◆ operator()()

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
template<typename ElementType, typename BaryType>
const Eigen::Matrix< double, rows, cols > model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::operator() ( const ElementType & ele,
const BaryType & bary ) const
inline
Parameters
[in]elemthe element
[in]barythe barycentric cooridinate
Returns
the current stiffness C, which in general is a funciton of C0 and grad(u)

Definition at line 174 of file FirstOrderReaction.h.

◆ sinkStrengths()

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
Eigen::Matrix< double, iSize, mSize > model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::sinkStrengths ( const Eigen::Matrix< double, iSize, 1 > & sinkValue,
const size_t & gID ) const
inline

Definition at line 90 of file FirstOrderReaction.h.

Member Data Documentation

◆ cdp

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
const ClusterDynamicsParameters<dim>& model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::cdp

Definition at line 23 of file FirstOrderReaction.h.

◆ cols

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
int model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::cols = rows
staticconstexpr

Definition at line 18 of file FirstOrderReaction.h.

◆ dim

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
int model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::dim = MobileTrialFunctionType::dim
staticconstexpr

Definition at line 21 of file FirstOrderReaction.h.

◆ inFactors

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
const Eigen::Matrix<double,rows,1> model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::inFactors

Definition at line 30 of file FirstOrderReaction.h.

◆ iSize

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
int model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::iSize = ImmobileTrialFunctionType::rows
staticconstexpr

Definition at line 19 of file FirstOrderReaction.h.

◆ mat

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
const PolycrystallineMaterialBase& model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::mat

Definition at line 24 of file FirstOrderReaction.h.

◆ mSize

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
int model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::mSize = MobileTrialFunctionType::rows
staticconstexpr

Definition at line 20 of file FirstOrderReaction.h.

◆ outFactors

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
const Eigen::Matrix<double,rows,1> model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::outFactors

Definition at line 31 of file FirstOrderReaction.h.

◆ rows

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
int model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::rows = MobileTrialFunctionType::rows
staticconstexpr

Definition at line 17 of file FirstOrderReaction.h.

◆ sink

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
const std::shared_ptr<ImmobileTrialFunctionType> model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::sink

Definition at line 27 of file FirstOrderReaction.h.

◆ sinke

template<typename MobileTrialFunctionType, typename ImmobileTrialFunctionType>
const std::shared_ptr<ImmobileEvalFunctionType> model::FirstOrderReaction< MobileTrialFunctionType, ImmobileTrialFunctionType >::sinke

Definition at line 28 of file FirstOrderReaction.h.


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