1 #ifndef EMMG_DisplacementFEMOperator_H 2 #define EMMG_DisplacementFEMOperator_H 56 inline static SP::EMMG_DisplacementFEMOperator
New() {
80 if (gU==
null)
throw EMM_Exception(
"generic",
"EMMG_DisplacementFEMOperator::computeElasticStress(..)",
81 "U is an incompatible real field");
87 if (gS==
null)
throw EMM_Exception(
"generic",
"EMMG_DisplacementFEMOperator::computeElasticStress(..)",
88 "S is an incompatible real field");
111 if (gM==
null)
throw EMM_Exception(
"generic",
"EMMG_DisplacementFEMOperator::computeMagneticStress(..)",
112 "M is an incompatible real field");
117 if (gS==
null)
throw EMM_Exception(
"generic",
"EMMG_DisplacementFEMOperator::computeMagneticStress(..)",
118 "S is an incompatible real field");
virtual tUIndex getSize() const =0
return the size of the field
This class describes a generic real field.
Definition: EMMG_RealField.h:17
This class describes the displacement operator based on Finite Elements Method EMM_DisplacementFEMOpe...
Definition: EMMG_DisplacementFEMOperator.h:17
virtual ~EMMG_DisplacementFEMOperator(void)
destroy
Definition: EMMG_DisplacementFEMOperator.h:48
virtual void computeMagneticStress(const tReal &alpha, const tReal &beta, const EMM_RealArray &sigma, const EMM_RealField &M, EMM_RealField &S) const
compute the magnetic stress for all cells
Definition: EMMG_DisplacementFEMOperator.h:105
#define null
Definition: types.h:144
DEFINE_SPTR(EMMG_DisplacementFEMOperator)
#define tDimension
Definition: EMM_Types.h:10
static SP::EMMG_DisplacementFEMOperator New()
create a cubic anisotropy operator
Definition: EMMG_DisplacementFEMOperator.h:56
SP_OBJECT(EMMG_DisplacementFEMOperator)
#define tUIndex
Definition: types.h:126
This class describes a real array.
Definition: EMM_RealArray.h:16
const tDimension & getDimension() const
get the dimension
Definition: EMM_RealField.h:553
EMMG_DisplacementFEMOperator(void)
create
Definition: EMMG_DisplacementFEMOperator.h:41
this class describes the exceptions raised for E-MicromM package
Definition: EMM_Exception.h:14
virtual void computeElasticStress(const tBoolean &withConstraints, const tReal &beta, const tUIndex &nData, const tDimension &dim, const tReal *U, tReal *D) const
compute the elastic stress
Definition: EMM_DisplacementFEMOperator.cpp:1353
void setDimension(const tDimension &d)
set the dimension
Definition: EMM_RealField.h:158
virtual void computeMagneticStress(const tReal &alpha, const tReal &beta, const tUIndex &nCells, const tDimension &dim, const EMM_RealArray &sigma, const tReal *M, const tUIndex &nData, tReal *D) const
compute the magnetic stress to elastic stress S
Definition: EMM_DisplacementFEMOperator.cpp:1865
This class describes the displacement operator defined on the points of the mesh. ...
Definition: EMM_DisplacementFEMOperator.h:345
virtual void computeElasticStress(const EMM_RealField &U, EMM_RealField &S) const
compute the elastic stress for all cells
Definition: EMMG_DisplacementFEMOperator.h:74
This class describes a real field.
Definition: EMM_RealField.h:21
virtual void setSize(const tUIndex &n)=0
set the size
#define tReal
Definition: types.h:118
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141