Go to the source code of this file.
◆ BoundaryEle
◆ BoundaryEleOp
◆ DomainEle
◆ DomainEleOp
Finire element operator type.
Definition at line 30 of file plate.cpp.
◆ EntData
◆ FaceSideEle
◆ FaceSideOp
◆ OpDomainGradGrad
◆ OpDomainPlateLoad
◆ OpDomainPlateStiffness
◆ PostProcEle
◆ ElementSide
Enumerator |
---|
LEFT_SIDE | |
RIGHT_SIDE | |
Definition at line 92 of file plate.cpp.
◆ get_diff2_ntensor() [1/2]
template<typename T >
auto get_diff2_ntensor |
( |
T & |
base_mat | ) |
|
|
inline |
- Examples
- plate.cpp.
Definition at line 489 of file plate.cpp.
490 double *ptr = &*base_mat.data().begin();
◆ get_diff2_ntensor() [2/2]
template<typename T >
auto get_diff2_ntensor |
( |
T & |
base_mat, |
|
|
int |
gg, |
|
|
int |
bb |
|
) |
| |
|
inline |
Definition at line 495 of file plate.cpp.
496 double *ptr = &base_mat(gg, 4 * bb);
◆ get_diff_ntensor() [1/2]
template<typename T >
auto get_diff_ntensor |
( |
T & |
base_mat | ) |
|
|
inline |
- Examples
- plate.cpp.
Definition at line 478 of file plate.cpp.
479 double *ptr = &*base_mat.data().begin();
480 return getFTensor1FromPtr<2>(ptr);
◆ get_diff_ntensor() [2/2]
template<typename T >
auto get_diff_ntensor |
( |
T & |
base_mat, |
|
|
int |
gg, |
|
|
int |
bb |
|
) |
| |
|
inline |
Definition at line 484 of file plate.cpp.
485 double *ptr = &base_mat(gg, 2 * bb);
486 return getFTensor1FromPtr<2>(ptr);
◆ get_ntensor() [1/2]
template<typename T >
auto get_ntensor |
( |
T & |
base_mat | ) |
|
|
inline |
◆ get_ntensor() [2/2]
template<typename T >
auto get_ntensor |
( |
T & |
base_mat, |
|
|
int |
gg, |
|
|
int |
bb |
|
) |
| |
|
inline |
Definition at line 473 of file plate.cpp.
474 double *ptr = &base_mat(gg, bb);
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
[Run program]
[Register MoFEM discrete manager in PETSc]
[Register MoFEM discrete manager in PETSc
[Create MoAB]
< mesh database
< mesh database interface
[Create MoAB]
[Create MoFEM]
< finite element database
< finite element database insterface
[Create MoFEM]
[Plate]
[Plate]
- Examples
- plate.cpp.
Definition at line 390 of file plate.cpp.
393 const char param_file[] =
"param_file.petsc";
397 auto core_log = logging::core::get();
398 core_log->add_sink(LogManager::createSink(LogManager::getStrmWorld(),
"PL"));
399 LogManager::setLog(
"PL");
405 DMType dm_name =
"DMMOFEM";
◆ 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;
}
get fourth-order constitutive tensor
- Examples
- plate.cpp.
Definition at line 79 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 71 of file plate.cpp.
◆ SPACE_DIM
constexpr int SPACE_DIM = 2 |
|
constexpr |
plate stiffness
- Examples
- ContactOps.hpp, free_surface.cpp, gauss_points_on_outer_product.cpp, hanging_node_approx.cpp, hcurl_divergence_operator_2d.cpp, heat_equation.cpp, HookeInternalStressElement.hpp, level_set.cpp, lorentz_force.cpp, matrix_function.cpp, plastic.cpp, plate.cpp, PoissonDiscontinousGalerkin.hpp, prism_elements_from_surface.cpp, remove_entities_from_problem.cpp, remove_entities_from_problem_not_partitioned.cpp, and wave_equation.cpp.
Definition at line 58 of file plate.cpp.
◆ t_kd
static MoFEMErrorCode Initialize(int *argc, char ***args, const char file[], const char help[])
Initializes the MoFEM database PETSc, MOAB and MPI.