|
| HMHPMooneyRivlinWriggersEq63 (const double alpha, const double beta, const double lambda, const double sigma_y) |
|
virtual OpJacobian * | returnOpJacobian (const std::string &field_name, const int tag, const bool eval_rhs, const bool eval_lhs, boost::shared_ptr< DataAtIntegrationPts > &data_ptr, boost::shared_ptr< PhysicalEquations > &physics_ptr) |
|
MoFEMErrorCode | getOptions () |
|
MoFEMErrorCode | recordTape (const int tape, DTensor2Ptr *t_h_ptr) |
|
| PhysicalEquations ()=delete |
|
| PhysicalEquations (const int size_active, const int size_dependent) |
|
virtual | ~PhysicalEquations () |
|
virtual MoFEMErrorCode | recordTape (const int tag, DTensor2Ptr *t_h)=0 |
|
virtual OpJacobian * | returnOpJacobian (const std::string &field_name, const int tag, const bool eval_rhs, const bool eval_lhs, boost::shared_ptr< DataAtIntegrationPts > &data_ptr, boost::shared_ptr< PhysicalEquations > &physics_ptr)=0 |
|
DTensor2Ptr | get_P () |
|
DTensor2Ptr | get_Sigma () |
|
DTensor0Ptr | get_Phi () |
|
double & | get_PhiRef () |
|
DTensor2Ptr | get_Flow () |
|
DTensor3Ptr | get_P_dh0 () |
|
DTensor3Ptr | get_P_dH0 () |
|
DTensor3Ptr | get_P_dh1 () |
|
DTensor3Ptr | get_P_dH1 () |
|
DTensor3Ptr | get_P_dh2 () |
|
DTensor3Ptr | get_P_dH2 () |
|
DTensor3Ptr | get_Sigma_dh0 () |
|
DTensor3Ptr | get_Sigma_dH0 () |
|
DTensor3Ptr | get_Sigma_dh1 () |
|
DTensor3Ptr | get_Sigma_dH1 () |
|
DTensor3Ptr | get_Sigma_dh2 () |
|
DTensor3Ptr | get_Sigma_dH2 () |
|
DTensor2Ptr | get_Phi_dh () |
|
DTensor2Ptr | get_Phi_dH () |
|
DTensor3Ptr | get_Flow_dh0 () |
|
DTensor3Ptr | get_Flow_dH0 () |
|
DTensor3Ptr | get_Flow_dh1 () |
|
DTensor3Ptr | get_Flow_dH1 () |
|
DTensor3Ptr | get_Flow_dh2 () |
|
DTensor3Ptr | get_Flow_dH2 () |
|
DTensor2Ptr | get_h () |
|
DTensor2Ptr | get_H () |
|
|
typedef FTensor::Tensor1< adouble, 3 > | ATensor1 |
|
typedef FTensor::Tensor2< adouble, 3, 3 > | ATensor2 |
|
typedef FTensor::Tensor3< adouble, 3, 3, 3 > | ATensor3 |
|
typedef FTensor::Tensor0< FTensor::PackPtr< double *, 1 > > | DTensor0Ptr |
|
typedef FTensor::Tensor2< FTensor::PackPtr< double *, 1 >, 3, 3 > | DTensor2Ptr |
|
typedef FTensor::Tensor3< FTensor::PackPtr< double *, 1 >, 3, 3, 3 > | DTensor3Ptr |
|
template<int S> |
static DTensor2Ptr | get_VecTensor2 (std::vector< double > &v) |
|
template<int S> |
static DTensor0Ptr | get_VecTensor0 (std::vector< double > &v) |
|
template<int S0, int S1, int S2> |
static DTensor3Ptr | get_vecTensor3 (std::vector< double > &v) |
|
Definition at line 426 of file EshelbianADOL-C.cpp.
◆ HMHPMooneyRivlinWriggersEq63()
EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::HMHPMooneyRivlinWriggersEq63 |
( |
const double |
alpha, |
|
|
const double |
beta, |
|
|
const double |
lambda, |
|
|
const double |
sigma_y |
|
) |
| |
|
inline |
Definition at line 431 of file EshelbianADOL-C.cpp.
static constexpr int numberOfActiveVariables
static constexpr int numberOfDependentVariables
PhysicalEquations()=delete
◆ getOptions()
MoFEMErrorCode EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::getOptions |
( |
| ) |
|
|
inline |
Definition at line 445 of file EshelbianADOL-C.cpp.
445 {
447 CHKERR PetscOptionsBegin(PETSC_COMM_WORLD,
"mooneyrivlin_",
"",
"none");
448
450 CHKERR PetscOptionsScalar(
"-alpha",
"Alpha",
"",
alpha, &
alpha, PETSC_NULL);
452 CHKERR PetscOptionsScalar(
"-beta",
"Beta",
"",
beta, &
beta, PETSC_NULL);
453
456 PETSC_NULL);
457
460 PETSC_NULL);
461
463 PETSC_NULL);
464
465 ierr = PetscOptionsEnd();
468 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define CHKERRG(n)
Check error code of MoFEM/MOAB/PETSc function.
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
◆ recordTape()
Implements EshelbianPlasticity::PhysicalEquations.
Definition at line 513 of file EshelbianADOL-C.cpp.
513 {
515
525
527
530 if (t_h_ptr)
531 ih(
i,
j) = (*t_h_ptr)(
i,
j);
532 else {
534 for (auto ii : {0, 1, 2})
535 ih(ii, ii) = 1;
536 }
537
539 for (auto ii : {0, 1, 2})
540 iH(ii, ii) = 1;
541
546
547 enableMinMaxUsingAbs();
548 trace_on(tape);
549
550
553
554
557
561
563
566
572
577
578
583
584
589
590
596
597
598
602
603
612
613
620
621
626
627 trace_off();
628
630 }
FTensor::Index< 'i', SPACE_DIM > i
FTensor::Index< 'j', 3 > j
FTensor::Index< 'k', 3 > k
constexpr std::enable_if<(Dim0<=2 &&Dim1<=2), Tensor2_Expr< Levi_Civita< T >, T, Dim0, Dim1, i, j > >::type levi_civita(const Index< i, Dim0 > &, const Index< j, Dim1 > &)
levi_civita functions to make for easy adhoc use
MoFEMErrorCode invertTensor3by3(ublas::matrix< T, L, A > &jac_data, ublas::vector< T, A > &det_data, ublas::matrix< T, L, A > &inv_jac_data)
Calculate inverse of tensor rank 2 at integration points.
static auto determinantTensor3by3(T &t)
Calculate the determinant of a 3x3 matrix or a tensor of rank 2.
constexpr IntegrationType I
MoFEMErrorCode getOptions()
ATensor2 tPulledPhi_dSigma
◆ returnOpJacobian()
virtual OpJacobian * EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::returnOpJacobian |
( |
const std::string & |
field_name, |
|
|
const int |
tag, |
|
|
const bool |
eval_rhs, |
|
|
const bool |
eval_lhs, |
|
|
boost::shared_ptr< DataAtIntegrationPts > & |
data_ptr, |
|
|
boost::shared_ptr< PhysicalEquations > & |
physics_ptr |
|
) |
| |
|
inlinevirtual |
adouble EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::A |
◆ alpha
double EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::alpha |
adouble EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::B |
◆ beta
double EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::beta |
◆ detF
adouble EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::detF |
◆ detH
adouble EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::detH |
◆ energy
adouble EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::energy |
◆ epsilon
double EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::epsilon |
adouble EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::f |
◆ lambda
double EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::lambda |
◆ meanCauchy
adouble EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::meanCauchy |
◆ numberOfActiveVariables
constexpr int EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::numberOfActiveVariables = 9 + 9 |
|
staticconstexpr |
◆ numberOfDependentVariables
constexpr int EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::numberOfDependentVariables = 9 + 9 + 1 + 9 |
|
staticconstexpr |
◆ phi
adouble EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::phi |
◆ s2
adouble EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::s2 |
◆ sigmaY
double EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::sigmaY |
◆ tBCof
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tBCof |
◆ tBF
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tBF |
◆ tBj
adouble EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tBj |
◆ tCauchy
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tCauchy |
◆ tCof
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tCof |
◆ tDevCauchy
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tDevCauchy |
◆ tF
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tF |
◆ th
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::th |
◆ tH
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tH |
◆ tInvF
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tInvF |
◆ tInvH
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tInvH |
◆ tP
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tP |
◆ tPhi_dCauchy
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tPhi_dCauchy |
◆ tPhi_dDevCauchy
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tPhi_dDevCauchy |
◆ tPhi_dSigma
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tPhi_dSigma |
◆ tPulledP
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tPulledP |
◆ tPulledPhi_dSigma
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tPulledPhi_dSigma |
◆ tPulledSigma
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tPulledSigma |
◆ tSigma
ATensor2 EshelbianPlasticity::HMHPMooneyRivlinWriggersEq63::tSigma |
The documentation for this struct was generated from the following file: