|
| HMHStVenantKirchhoff (const double lambda, const double mu, const double sigma_y) |
|
MoFEMErrorCode | getOptions () |
|
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 | 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 231 of file EshelbianADOL-C.cpp.
◆ HMHStVenantKirchhoff()
EshelbianPlasticity::HMHStVenantKirchhoff::HMHStVenantKirchhoff |
( |
const double |
lambda, |
|
|
const double |
mu, |
|
|
const double |
sigma_y |
|
) |
| |
|
inline |
Definition at line 236 of file EshelbianADOL-C.cpp.
static constexpr int numberOfDependentVariables
static constexpr int numberOfActiveVariables
PhysicalEquations()=delete
◆ getOptions()
MoFEMErrorCode EshelbianPlasticity::HMHStVenantKirchhoff::getOptions |
( |
| ) |
|
|
inline |
Definition at line 241 of file EshelbianADOL-C.cpp.
241 {
243
245 double nu = 0;
246
247 CHKERR PetscOptionsBegin(PETSC_COMM_WORLD,
"stvenant_",
"",
"none");
248
249 CHKERR PetscOptionsScalar(
"-young_modulus",
"Young modulus",
"",
E, &
E,
250 PETSC_NULL);
251 CHKERR PetscOptionsScalar(
"-poisson_ratio",
"poisson ratio",
"", nu, &nu,
252 PETSC_NULL);
254 PETSC_NULL);
255
256 ierr = PetscOptionsEnd();
258
261
263 }
#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 308 of file EshelbianADOL-C.cpp.
308 {
317
319
322 if (t_h_ptr)
323 ih(
i,
j) = (*t_h_ptr)(
i,
j);
324 else {
326 for (auto ii : {0, 1, 2})
327 ih(ii, ii) = 1;
328 }
329
331 for (auto ii : {0, 1, 2})
332 iH(ii, ii) = 1;
333
338
339 enableMinMaxUsingAbs();
340 trace_on(tape);
341
342
345
346
352
353
360
361
364
365
371
373
376
377
382
383
389
390
391
395
396
405
406
413
414
419
420 trace_off();
421
423 }
FTensor::Index< 'i', SPACE_DIM > i
FTensor::Index< 'j', 3 > j
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::HMHStVenantKirchhoff::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 |
◆ detF
adouble EshelbianPlasticity::HMHStVenantKirchhoff::detF |
◆ detH
adouble EshelbianPlasticity::HMHStVenantKirchhoff::detH |
◆ energy
adouble EshelbianPlasticity::HMHStVenantKirchhoff::energy |
adouble EshelbianPlasticity::HMHStVenantKirchhoff::f |
◆ lambda
double EshelbianPlasticity::HMHStVenantKirchhoff::lambda |
◆ meanCauchy
adouble EshelbianPlasticity::HMHStVenantKirchhoff::meanCauchy |
◆ mu
double EshelbianPlasticity::HMHStVenantKirchhoff::mu |
◆ numberOfActiveVariables
constexpr int EshelbianPlasticity::HMHStVenantKirchhoff::numberOfActiveVariables = 9 + 9 |
|
staticconstexpr |
◆ numberOfDependentVariables
constexpr int EshelbianPlasticity::HMHStVenantKirchhoff::numberOfDependentVariables = 9 + 9 + 1 + 9 |
|
staticconstexpr |
◆ phi
adouble EshelbianPlasticity::HMHStVenantKirchhoff::phi |
◆ s2
adouble EshelbianPlasticity::HMHStVenantKirchhoff::s2 |
◆ sigmaY
double EshelbianPlasticity::HMHStVenantKirchhoff::sigmaY |
◆ tC
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tC |
◆ tCauchy
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tCauchy |
◆ tDevCauchy
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tDevCauchy |
◆ tE
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tE |
◆ tF
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tF |
◆ th
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::th |
◆ tH
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tH |
◆ tInvF
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tInvF |
◆ tInvH
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tInvH |
◆ tP
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tP |
◆ tPhi_dCauchy
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tPhi_dCauchy |
◆ tPhi_dDevCauchy
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tPhi_dDevCauchy |
◆ tPhi_dSigma
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tPhi_dSigma |
◆ tPulledP
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tPulledP |
◆ tPulledPhi_dSigma
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tPulledPhi_dSigma |
◆ tPulledSigma
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tPulledSigma |
◆ trE
adouble EshelbianPlasticity::HMHStVenantKirchhoff::trE |
◆ tS
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tS |
◆ tSigma
ATensor2 EshelbianPlasticity::HMHStVenantKirchhoff::tSigma |
The documentation for this struct was generated from the following file: