#include "tutorials/cor-7/src/ElasticityMixedFormulation.hpp"
◆ DataAtIntegrationPts() [1/3]
Definition at line 33 of file ElasticityMixedFormulation.hpp.
34
35
38
40 CHKERRABORT(PETSC_COMM_WORLD,
ierr);
41 }
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
UBlasMatrix< double > MatrixDouble
UBlasVector< double > VectorDouble
boost::shared_ptr< MatrixDouble > gradDispPtr
MoFEM::Interface & mField
MoFEMErrorCode setBlocks()
boost::shared_ptr< VectorDouble > pPtr
◆ DataAtIntegrationPts() [2/3]
Definition at line 62 of file electrostatics.hpp.
62 {
65 PetscInt ghosts[2] = {0, 1};
68 else
70 }
auto createGhostVector(MPI_Comm comm, PetscInt n, PetscInt N, PetscInt nghost, const PetscInt ghosts[])
Create smart ghost vector.
SmartPetscObj< Vec > petscVec
virtual MPI_Comm & get_comm() const =0
virtual int get_comm_rank() const =0
◆ DataAtIntegrationPts() [3/3]
DataAtIntegrationPts::DataAtIntegrationPts |
( |
| ) |
|
|
inline |
- Examples
- ElasticityMixedFormulation.hpp.
Definition at line 96 of file HookeElement.hpp.
96 {
97
101
105
110
112 }
boost::shared_ptr< MatrixDouble > HMat
boost::shared_ptr< MatrixDouble > invHMat
boost::shared_ptr< MatrixDouble > smallStrainMat
boost::shared_ptr< MatrixDouble > cauchyStressMat
boost::shared_ptr< MatrixDouble > eshelbyStress_dx
boost::shared_ptr< MatrixDouble > FMat
boost::shared_ptr< MatrixDouble > eshelbyStressMat
boost::shared_ptr< MatrixDouble > stiffnessMat
boost::shared_ptr< MatrixDouble > hMat
boost::shared_ptr< VectorDouble > energyVec
boost::shared_ptr< VectorDouble > detHVec
◆ getBlockData()
- Examples
- ElasticityMixedFormulation.hpp.
Definition at line 51 of file ElasticityMixedFormulation.hpp.
51 {
53
58
63
65
66 tD(0, 0, 0, 0) = 2 *
mU;
73 tD(1, 1, 1, 1) = 2 *
mU;
80 tD(2, 2, 2, 2) = 2 *
mU;
81
83 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
FTensor::Index< 'i', SPACE_DIM > i
FTensor::Index< 'l', 3 > l
FTensor::Index< 'j', 3 > j
FTensor::Index< 'k', 3 > k
FTensor::Ddg< double, 3, 3 > tD
◆ getParameters()
◆ setBlocks()
- Examples
- ElasticityMixedFormulation.hpp.
Definition at line 85 of file ElasticityMixedFormulation.hpp.
85 {
89 Mat_Elastic mydata;
90 CHKERR it->getAttributeDataStructure(mydata);
91 int id = it->getMeshsetId();
98 }
100 }
@ MAT_ELASTICSET
block name is "MAT_ELASTIC"
#define CHKERR
Inline error check.
#define _IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP_(MESHSET_MANAGER, CUBITBCTYPE, IT)
Iterator that loops over a specific Cubit MeshSet in a moFEM field.
std::map< int, BlockData > setOfBlocksData
virtual moab::Interface & get_moab()=0
◆ blockChrgDens
double DataAtIntegrationPts::blockChrgDens |
◆ blockPermittivity
double DataAtIntegrationPts::blockPermittivity |
◆ cauchyStressMat
boost::shared_ptr<MatrixDouble> DataAtIntegrationPts::cauchyStressMat |
◆ detHVec
boost::shared_ptr<VectorDouble> DataAtIntegrationPts::detHVec |
◆ energyVec
boost::shared_ptr<VectorDouble> DataAtIntegrationPts::energyVec |
◆ eshelbyStress_dx
boost::shared_ptr<MatrixDouble> DataAtIntegrationPts::eshelbyStress_dx |
◆ eshelbyStressMat
boost::shared_ptr<MatrixDouble> DataAtIntegrationPts::eshelbyStressMat |
◆ FMat
◆ forcesOnlyOnEntitiesCol
Range DataAtIntegrationPts::forcesOnlyOnEntitiesCol |
◆ forcesOnlyOnEntitiesRow
Range DataAtIntegrationPts::forcesOnlyOnEntitiesRow |
◆ gradDispPtr
boost::shared_ptr<MatrixDouble> DataAtIntegrationPts::gradDispPtr |
◆ HMat
◆ hMat
◆ invHMat
boost::shared_ptr<MatrixDouble> DataAtIntegrationPts::invHMat |
◆ lAmbda
double DataAtIntegrationPts::lAmbda |
◆ mField
◆ mU
double DataAtIntegrationPts::mU |
◆ petscVec
◆ pOisson
double DataAtIntegrationPts::pOisson |
◆ pPtr
◆ setOfBlocksData
std::map<int, BlockData> DataAtIntegrationPts::setOfBlocksData |
◆ smallStrainMat
boost::shared_ptr<MatrixDouble> DataAtIntegrationPts::smallStrainMat |
◆ stiffnessMat
boost::shared_ptr<MatrixDouble> DataAtIntegrationPts::stiffnessMat |
◆ tD
◆ yOung
double DataAtIntegrationPts::yOung |
The documentation for this struct was generated from the following files: