![]() |
v0.14.0 |
#include <users_modules/eshelbian_plasticty/src/EshelbianPlasticity.hpp>
Classes | |
struct | SetUpSchur |
Public Member Functions | |
MoFEMErrorCode | query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const |
Getting interface of core database. More... | |
EshelbianCore (MoFEM::Interface &m_field) | |
virtual | ~EshelbianCore () |
MoFEMErrorCode | getOptions () |
template<typename BC > | |
MoFEMErrorCode | getBc (boost::shared_ptr< BC > &bc_vec_ptr, const std::string block_name, const int nb_attributes) |
MoFEMErrorCode | getSpatialDispBc () |
[Getting norms] More... | |
MoFEMErrorCode | getSpatialRotationBc () |
MoFEMErrorCode | getSpatialTractionBc () |
MoFEMErrorCode | getTractionFreeBc (const EntityHandle meshset, boost::shared_ptr< TractionFreeBc > &bc_ptr, const std::string contact_set_name) |
Remove all, but entities where kinematic constrains are applied. More... | |
MoFEMErrorCode | getSpatialTractionFreeBc (const EntityHandle meshset=0) |
MoFEMErrorCode | addFields (const EntityHandle meshset=0) |
MoFEMErrorCode | addVolumeFiniteElement (const EntityHandle meshset=0) |
MoFEMErrorCode | addBoundaryFiniteElement (const EntityHandle meshset=0) |
MoFEMErrorCode | addDMs (const BitRefLevel bit=BitRefLevel().set(0)) |
MoFEMErrorCode | addMaterial_HMHHStVenantKirchhoff (const int tape, const double lambda, const double mu, const double sigma_y) |
MoFEMErrorCode | addMaterial_HMHMooneyRivlin (const int tape, const double alpha, const double beta, const double lambda, const double sigma_y) |
MoFEMErrorCode | addMaterial_Hencky (double E, double nu) |
MoFEMErrorCode | setBaseVolumeElementOps (const int tag, const bool do_rhs, const bool do_lhs, boost::shared_ptr< VolumeElementForcesAndSourcesCore > &fe) |
MoFEMErrorCode | setVolumeElementOps (const int tag, const bool add_elastic, const bool add_material, boost::shared_ptr< VolumeElementForcesAndSourcesCore > &fe_rhs, boost::shared_ptr< VolumeElementForcesAndSourcesCore > &fe_lhs) |
MoFEMErrorCode | setFaceElementOps (const bool add_elastic, const bool add_material, boost::shared_ptr< FaceElementForcesAndSourcesCore > &fe_rhs, boost::shared_ptr< FaceElementForcesAndSourcesCore > &fe_lhs) |
MoFEMErrorCode | setContactElementOps (boost::shared_ptr< ContactTree > &fe_contact_tree, boost::shared_ptr< FaceElementForcesAndSourcesCore > &fe_rhs, boost::shared_ptr< FaceElementForcesAndSourcesCore > &fe_lhs) |
MoFEMErrorCode | setElasticElementOps (const int tag) |
MoFEMErrorCode | setElasticElementToTs (DM dm) |
MoFEMErrorCode | solveElastic (TS ts, Mat m, Vec f, Vec x) |
MoFEMErrorCode | postProcessResults (const int tag, const std::string file) |
MoFEMErrorCode | gettingNorms () |
[Getting norms] More... | |
![]() | |
virtual MoFEMErrorCode | query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const =0 |
template<class IFACE > | |
MoFEMErrorCode | registerInterface (bool error_if_registration_failed=true) |
Register interface. More... | |
template<class IFACE > | |
MoFEMErrorCode | getInterface (IFACE *&iface) const |
Get interface refernce to pointer of interface. More... | |
template<class IFACE > | |
MoFEMErrorCode | getInterface (IFACE **const iface) const |
Get interface pointer to pointer of interface. More... | |
template<class IFACE , typename boost::enable_if< boost::is_pointer< IFACE >, int >::type = 0> | |
IFACE | getInterface () const |
Get interface pointer to pointer of interface. More... | |
template<class IFACE , typename boost::enable_if< boost::is_reference< IFACE >, int >::type = 0> | |
IFACE | getInterface () const |
Get reference to interface. More... | |
template<class IFACE > | |
IFACE * | getInterface () const |
Function returning pointer to interface. More... | |
virtual | ~UnknownInterface ()=default |
Static Public Member Functions | |
static double | f_log (const double v) |
static double | d_f_log (const double v) |
static double | dd_f_log (const double v) |
static double | inv_f_log (const double v) |
static double | inv_d_f_log (const double v) |
static double | inv_dd_f_log (const double v) |
static double | f_linear (const double v) |
static double | d_f_linear (const double v) |
static double | dd_f_linear (const double v) |
static double | inv_f_linear (const double v) |
static double | inv_d_f_linear (const double v) |
static double | inv_dd_f_linear (const double v) |
![]() | |
static MoFEMErrorCode | getLibVersion (Version &version) |
Get library version. More... | |
static MoFEMErrorCode | getFileVersion (moab::Interface &moab, Version &version) |
Get database major version. More... | |
static MoFEMErrorCode | setFileVersion (moab::Interface &moab, Version version=Version(MoFEM_VERSION_MAJOR, MoFEM_VERSION_MINOR, MoFEM_VERSION_BUILD)) |
Get database major version. More... | |
static MoFEMErrorCode | getInterfaceVersion (Version &version) |
Get database major version. More... | |
Public Attributes | |
MoFEM::Interface & | mField |
boost::shared_ptr< DataAtIntegrationPts > | dataAtPts |
boost::shared_ptr< PhysicalEquations > | physicalEquations |
boost::shared_ptr< VolumeElementForcesAndSourcesCore > | elasticFeRhs |
boost::shared_ptr< VolumeElementForcesAndSourcesCore > | elasticFeLhs |
boost::shared_ptr< FaceElementForcesAndSourcesCore > | elasticBcLhs |
boost::shared_ptr< FaceElementForcesAndSourcesCore > | elasticBcRhs |
boost::shared_ptr< FaceElementForcesAndSourcesCore > | contactRhs |
boost::shared_ptr< ContactTree > | contactTreeRhs |
Make a contact treee. More... | |
SmartPetscObj< DM > | dM |
Coupled problem all fields. More... | |
SmartPetscObj< DM > | dmElastic |
Elastic problem. More... | |
SmartPetscObj< DM > | dmPrjSpatial |
Projection spatial displacement. More... | |
const std::string | piolaStress |
const std::string | eshelbyStress |
const std::string | spatialL2Disp |
const std::string | spatialH1Disp |
const std::string | materialL2Disp |
const std::string | stretchTensor |
const std::string | rotAxis |
const std::string | materialGradient |
const std::string | tauField |
const std::string | lambdaField |
const std::string | bubbleField |
const std::string | elementVolumeName |
const std::string | naturalBcElement |
const std::string | essentialBcElement |
const std::string | skinElement |
const std::string | contactElement |
int | spaceOrder |
int | spaceH1Order |
int | materialOrder |
double | alphaU |
double | alphaW |
double | alphaRho |
double | precEps |
double | precEpsOmega |
double | precEpsW |
boost::shared_ptr< BcDispVec > | bcSpatialDispVecPtr |
boost::shared_ptr< BcRotVec > | bcSpatialRotationVecPtr |
boost::shared_ptr< TractionBcVec > | bcSpatialTraction |
boost::shared_ptr< TractionFreeBc > | bcSpatialFreeTraction |
Static Public Attributes | |
static enum RotSelector | rotSelector |
static enum RotSelector | gradApperoximator |
static enum StretchSelector | stretchSelector |
static double | exponentBase = exp(1) |
static boost::function< double(const double)> | f = EshelbianCore::f_log |
static boost::function< double(const double)> | d_f |
static boost::function< double(const double)> | dd_f |
static boost::function< double(const double)> | inv_f |
static boost::function< double(const double)> | inv_d_f |
static boost::function< double(const double)> | inv_dd_f |
Definition at line 823 of file EshelbianPlasticity.hpp.
EshelbianPlasticity::EshelbianCore::EshelbianCore | ( | MoFEM::Interface & | m_field | ) |
Definition at line 91 of file EshelbianPlasticity.cpp.
|
virtualdefault |
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::addBoundaryFiniteElement | ( | const EntityHandle | meshset = 0 | ) |
Definition at line 396 of file EshelbianPlasticity.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::addDMs | ( | const BitRefLevel | bit = BitRefLevel().set(0) | ) |
Definition at line 501 of file EshelbianPlasticity.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::addFields | ( | const EntityHandle | meshset = 0 | ) |
Definition at line 223 of file EshelbianPlasticity.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::addMaterial_Hencky | ( | double | E, |
double | nu | ||
) |
Definition at line 623 of file EshelbianADOL-C.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::addMaterial_HMHHStVenantKirchhoff | ( | const int | tape, |
const double | lambda, | ||
const double | mu, | ||
const double | sigma_y | ||
) |
Definition at line 446 of file EshelbianADOL-C.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::addMaterial_HMHMooneyRivlin | ( | const int | tape, |
const double | alpha, | ||
const double | beta, | ||
const double | lambda, | ||
const double | sigma_y | ||
) |
Definition at line 455 of file EshelbianADOL-C.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::addVolumeFiniteElement | ( | const EntityHandle | meshset = 0 | ) |
Definition at line 357 of file EshelbianPlasticity.cpp.
Definition at line 859 of file EshelbianPlasticity.hpp.
Definition at line 840 of file EshelbianPlasticity.hpp.
Definition at line 860 of file EshelbianPlasticity.hpp.
Definition at line 843 of file EshelbianPlasticity.hpp.
Definition at line 858 of file EshelbianPlasticity.hpp.
Definition at line 837 of file EshelbianPlasticity.hpp.
|
inline |
Definition at line 930 of file EshelbianPlasticity.hpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::getOptions | ( | ) |
Definition at line 106 of file EshelbianPlasticity.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::getSpatialDispBc | ( | ) |
[Getting norms]
Definition at line 1530 of file EshelbianPlasticity.cpp.
|
inline |
Definition at line 958 of file EshelbianPlasticity.hpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::getSpatialTractionBc | ( | ) |
Definition at line 1568 of file EshelbianPlasticity.cpp.
|
inline |
Definition at line 980 of file EshelbianPlasticity.hpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::gettingNorms | ( | ) |
[Getting norms]
Definition at line 1469 of file EshelbianPlasticity.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::getTractionFreeBc | ( | const EntityHandle | meshset, |
boost::shared_ptr< TractionFreeBc > & | bc_ptr, | ||
const std::string | contact_set_name | ||
) |
Remove all, but entities where kinematic constrains are applied.
meshset | |
bc_ptr | |
disp_block_set_name | |
rot_block_set_name | |
contact_set_name |
Definition at line 641 of file EshelbianPlasticity.cpp.
Definition at line 863 of file EshelbianPlasticity.hpp.
Definition at line 851 of file EshelbianPlasticity.hpp.
Definition at line 864 of file EshelbianPlasticity.hpp.
Definition at line 854 of file EshelbianPlasticity.hpp.
Definition at line 862 of file EshelbianPlasticity.hpp.
Definition at line 848 of file EshelbianPlasticity.hpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::postProcessResults | ( | const int | tag, |
const std::string | file | ||
) |
Definition at line 1401 of file EshelbianPlasticity.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::query_interface | ( | boost::typeindex::type_index | type_index, |
UnknownInterface ** | iface | ||
) | const |
Getting interface of core database.
uuid | unique ID of interface |
iface | returned pointer to interface |
Definition at line 73 of file EshelbianPlasticity.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::setBaseVolumeElementOps | ( | const int | tag, |
const bool | do_rhs, | ||
const bool | do_lhs, | ||
boost::shared_ptr< VolumeElementForcesAndSourcesCore > & | fe | ||
) |
Definition at line 827 of file EshelbianPlasticity.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::setContactElementOps | ( | boost::shared_ptr< ContactTree > & | fe_contact_tree, |
boost::shared_ptr< FaceElementForcesAndSourcesCore > & | fe_rhs, | ||
boost::shared_ptr< FaceElementForcesAndSourcesCore > & | fe_lhs | ||
) |
Contact requires that body is marked
Definition at line 1026 of file EshelbianPlasticity.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::setElasticElementOps | ( | const int | tag | ) |
Definition at line 1177 of file EshelbianPlasticity.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::setElasticElementToTs | ( | DM | dm | ) |
Definition at line 1199 of file EshelbianPlasticity.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::setFaceElementOps | ( | const bool | add_elastic, |
const bool | add_material, | ||
boost::shared_ptr< FaceElementForcesAndSourcesCore > & | fe_rhs, | ||
boost::shared_ptr< FaceElementForcesAndSourcesCore > & | fe_lhs | ||
) |
Definition at line 998 of file EshelbianPlasticity.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::setVolumeElementOps | ( | const int | tag, |
const bool | add_elastic, | ||
const bool | add_material, | ||
boost::shared_ptr< VolumeElementForcesAndSourcesCore > & | fe_rhs, | ||
boost::shared_ptr< VolumeElementForcesAndSourcesCore > & | fe_lhs | ||
) |
Definition at line 893 of file EshelbianPlasticity.cpp.
MoFEMErrorCode EshelbianPlasticity::EshelbianCore::solveElastic | ( | TS | ts, |
Mat | m, | ||
Vec | f, | ||
Vec | x | ||
) |
Definition at line 1245 of file EshelbianPlasticity.cpp.
double EshelbianPlasticity::EshelbianCore::alphaRho |
Definition at line 917 of file EshelbianPlasticity.hpp.
double EshelbianPlasticity::EshelbianCore::alphaU |
Definition at line 915 of file EshelbianPlasticity.hpp.
double EshelbianPlasticity::EshelbianCore::alphaW |
Definition at line 916 of file EshelbianPlasticity.hpp.
boost::shared_ptr<BcDispVec> EshelbianPlasticity::EshelbianCore::bcSpatialDispVecPtr |
Definition at line 924 of file EshelbianPlasticity.hpp.
boost::shared_ptr<TractionFreeBc> EshelbianPlasticity::EshelbianCore::bcSpatialFreeTraction |
Definition at line 927 of file EshelbianPlasticity.hpp.
boost::shared_ptr<BcRotVec> EshelbianPlasticity::EshelbianCore::bcSpatialRotationVecPtr |
Definition at line 925 of file EshelbianPlasticity.hpp.
boost::shared_ptr<TractionBcVec> EshelbianPlasticity::EshelbianCore::bcSpatialTraction |
Definition at line 926 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::bubbleField |
Definition at line 901 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::contactElement |
Definition at line 907 of file EshelbianPlasticity.hpp.
boost::shared_ptr<FaceElementForcesAndSourcesCore> EshelbianPlasticity::EshelbianCore::contactRhs |
Definition at line 884 of file EshelbianPlasticity.hpp.
boost::shared_ptr<ContactTree> EshelbianPlasticity::EshelbianCore::contactTreeRhs |
Make a contact treee.
Definition at line 885 of file EshelbianPlasticity.hpp.
Definition at line 831 of file EshelbianPlasticity.hpp.
boost::shared_ptr<DataAtIntegrationPts> EshelbianPlasticity::EshelbianCore::dataAtPts |
Definition at line 877 of file EshelbianPlasticity.hpp.
Definition at line 832 of file EshelbianPlasticity.hpp.
SmartPetscObj<DM> EshelbianPlasticity::EshelbianCore::dM |
Coupled problem all fields.
Definition at line 887 of file EshelbianPlasticity.hpp.
SmartPetscObj<DM> EshelbianPlasticity::EshelbianCore::dmElastic |
SmartPetscObj<DM> EshelbianPlasticity::EshelbianCore::dmPrjSpatial |
Projection spatial displacement.
Definition at line 889 of file EshelbianPlasticity.hpp.
boost::shared_ptr<FaceElementForcesAndSourcesCore> EshelbianPlasticity::EshelbianCore::elasticBcLhs |
Definition at line 882 of file EshelbianPlasticity.hpp.
boost::shared_ptr<FaceElementForcesAndSourcesCore> EshelbianPlasticity::EshelbianCore::elasticBcRhs |
Definition at line 883 of file EshelbianPlasticity.hpp.
boost::shared_ptr<VolumeElementForcesAndSourcesCore> EshelbianPlasticity::EshelbianCore::elasticFeLhs |
Definition at line 881 of file EshelbianPlasticity.hpp.
boost::shared_ptr<VolumeElementForcesAndSourcesCore> EshelbianPlasticity::EshelbianCore::elasticFeRhs |
Definition at line 880 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::elementVolumeName |
Definition at line 903 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::eshelbyStress |
Definition at line 892 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::essentialBcElement |
Definition at line 905 of file EshelbianPlasticity.hpp.
|
static |
Definition at line 829 of file EshelbianPlasticity.hpp.
|
static |
Definition at line 830 of file EshelbianPlasticity.hpp.
|
static |
Definition at line 826 of file EshelbianPlasticity.hpp.
Definition at line 834 of file EshelbianPlasticity.hpp.
Definition at line 835 of file EshelbianPlasticity.hpp.
Definition at line 833 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::lambdaField |
Definition at line 900 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::materialGradient |
Definition at line 898 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::materialL2Disp |
Definition at line 895 of file EshelbianPlasticity.hpp.
int EshelbianPlasticity::EshelbianCore::materialOrder |
Definition at line 914 of file EshelbianPlasticity.hpp.
MoFEM::Interface& EshelbianPlasticity::EshelbianCore::mField |
Definition at line 875 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::naturalBcElement |
Definition at line 904 of file EshelbianPlasticity.hpp.
boost::shared_ptr<PhysicalEquations> EshelbianPlasticity::EshelbianCore::physicalEquations |
Definition at line 878 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::piolaStress |
Definition at line 891 of file EshelbianPlasticity.hpp.
double EshelbianPlasticity::EshelbianCore::precEps |
Definition at line 918 of file EshelbianPlasticity.hpp.
double EshelbianPlasticity::EshelbianCore::precEpsOmega |
Definition at line 919 of file EshelbianPlasticity.hpp.
double EshelbianPlasticity::EshelbianCore::precEpsW |
Definition at line 920 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::rotAxis |
Definition at line 897 of file EshelbianPlasticity.hpp.
|
static |
Definition at line 825 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::skinElement |
Definition at line 906 of file EshelbianPlasticity.hpp.
int EshelbianPlasticity::EshelbianCore::spaceH1Order |
Definition at line 913 of file EshelbianPlasticity.hpp.
int EshelbianPlasticity::EshelbianCore::spaceOrder |
Definition at line 912 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::spatialH1Disp |
Definition at line 894 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::spatialL2Disp |
Definition at line 893 of file EshelbianPlasticity.hpp.
|
static |
Definition at line 827 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::stretchTensor |
Definition at line 896 of file EshelbianPlasticity.hpp.
const std::string EshelbianPlasticity::EshelbianCore::tauField |
Definition at line 899 of file EshelbianPlasticity.hpp.