#include <MoFEM.hpp>
#include <BasicFiniteElements.hpp>
Go to the source code of this file.
◆ BoundaryEle
◆ BoundaryEleOp
◆ DomainEle
◆ DomainEleOp
Finire element operator type.
Definition at line 49 of file plate.cpp.
◆ EntData
◆ FaceSideEle
◆ FaceSideOp
◆ OpDomainGradGrad
◆ OpDomainPlateLoad
◆ OpDomainPlateStiffness
◆ PostProcEle
◆ ElementSide
Enumerator |
---|
LEFT_SIDE | |
RIGHT_SIDE | |
Definition at line 110 of file plate.cpp.
◆ get_diff2_ntensor() [1/2]
auto get_diff2_ntensor |
( |
T & |
base_mat | ) |
|
- Examples
- plate.cpp.
Definition at line 489 of file plate.cpp.
489 {
490 double *ptr = &*base_mat.data().begin();
492};
FTensor::Tensor2_symmetric< FTensor::PackPtr< double *, 4 >, 2 > getFTensor2SymmetricLowerFromPtr< 2 >(double *ptr)
◆ get_diff2_ntensor() [2/2]
auto get_diff2_ntensor |
( |
T & |
base_mat, |
|
|
int |
gg, |
|
|
int |
bb |
|
) |
| |
Definition at line 495 of file plate.cpp.
495 {
496 double *ptr = &base_mat(gg, 4 * bb);
498};
◆ get_diff_ntensor() [1/2]
auto get_diff_ntensor |
( |
T & |
base_mat | ) |
|
- Examples
- plate.cpp.
Definition at line 478 of file plate.cpp.
478 {
479 double *ptr = &*base_mat.data().begin();
481};
FTensor::Tensor1< FTensor::PackPtr< double *, 2 >, 2 > getFTensor1FromPtr< 2 >(double *ptr)
◆ get_diff_ntensor() [2/2]
auto get_diff_ntensor |
( |
T & |
base_mat, |
|
|
int |
gg, |
|
|
int |
bb |
|
) |
| |
Definition at line 484 of file plate.cpp.
484 {
485 double *ptr = &base_mat(gg, 2 * bb);
487};
◆ get_ntensor() [1/2]
auto get_ntensor |
( |
T & |
base_mat | ) |
|
◆ get_ntensor() [2/2]
auto get_ntensor |
( |
T & |
base_mat, |
|
|
int |
gg, |
|
|
int |
bb |
|
) |
| |
Definition at line 473 of file plate.cpp.
473 {
474 double *ptr = &base_mat(gg, bb);
476};
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
[Run program]
- Examples
- plate.cpp.
Definition at line 390 of file plate.cpp.
390 {
391
392
395
396
397 auto core_log = logging::core::get();
398 core_log->add_sink(LogManager::createSink(LogManager::getStrmWorld(), "PL"));
399 LogManager::setLog("PL");
401
402 try {
403
404
405 DMType dm_name = "DMMOFEM";
407
408
409
412
413
414
417
418
419
422
423 }
425
427}
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
PetscErrorCode DMRegister_MoFEM(const char sname[])
Register MoFEM problem.
#define MOFEM_LOG_TAG(channel, tag)
Tag channel.
DeprecatedCoreInterface Interface
static MoFEMErrorCode Initialize(int *argc, char ***args, const char file[], const char help[])
Initializes the MoFEM database PETSc, MOAB and MPI.
static MoFEMErrorCode Finalize()
Checks for options to be called at the conclusion of the program.
Deprecated interface functions.
◆ areaMap
◆ BASE_DIM
constexpr int BASE_DIM = 1 |
|
constexpr |
◆ diff2BaseSideMap
std::array<std::vector<MatrixDouble>, 2> diff2BaseSideMap |
◆ diffBaseSideMap
std::array<std::vector<MatrixDouble>, 2> diffBaseSideMap |
◆ FIELD_DIM
constexpr int FIELD_DIM = 1 |
|
constexpr |
◆ help
◆ indicesSideMap
std::array<std::vector<VectorInt>, 2> indicesSideMap |
◆ lambda
◆ mu
◆ nitsche
◆ order
◆ penalty
◆ phi
◆ plate_stiffness
Initial value:= []() {
auto mat_D_ptr = boost::make_shared<MatrixDouble>(
a *
a, 1);
auto t_D = getFTensor4DdgFromMat<2, 2, 0>(*(mat_D_ptr));
constexpr double t3 =
t *
t *
t;
constexpr double A =
mu * t3 / 12;
constexpr double B =
lambda * t3 / 12;
return mat_D_ptr;
}
constexpr double mu
lame parameter
FTensor::Index< 'j', SPACE_DIM > j
FTensor::Index< 'k', SPACE_DIM > k
FTensor::Index< 'i', SPACE_DIM > i
constexpr int SPACE_DIM
dimension of space
FTensor::Index< 'l', SPACE_DIM > l
constexpr double t
plate stiffness
get fourth-order constitutive tensor
- Examples
- plate.cpp.
Definition at line 97 of file plate.cpp.
◆ senseMap
std::array<int, 2> senseMap |
◆ source
Initial value:= [](
const double x,
const double y,
const double) {
return cos(2 * x * M_PI) * sin(2 * y * M_PI);
}
- Examples
- plate.cpp.
Definition at line 89 of file plate.cpp.
◆ SPACE_DIM
constexpr int SPACE_DIM = 2 |
|
constexpr |
plate stiffness
- Examples
- ContactOps.hpp, EshelbianOperators.cpp, EshelbianPlasticity.cpp, HookeInternalStressElement.hpp, OpPostProcElastic.hpp, PlasticOpsMonitor.hpp, PoissonDiscontinousGalerkin.hpp, SmallStrainPlasticityMaterialModels.hpp, hanging_node_approx.cpp, hcurl_divergence_operator_2d.cpp, heat_equation.cpp, lorentz_force.cpp, matrix_function.cpp, plate.cpp, prism_elements_from_surface.cpp, and wave_equation.cpp.
Definition at line 76 of file plate.cpp.
◆ t_kd