15 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
16 boost::shared_ptr<PhysicalEquations> physics_ptr)
34 boost::shared_ptr<DataAtIntegrationPts>
36 boost::shared_ptr<PhysicalEquations>
45 boost::shared_ptr<DataAtIntegrationPts>
49 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
54 std::string row_field, std::string col_field,
55 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
const char type,
56 const bool assemble_symmetry,
ScaleOff scale_off = []() {
return 1; })
57 : T(row_field, col_field,
type, false),
84 double *vec_ptr =
nF.data().data();
85 int nb_dofs =
data.getIndices().size();
86 int *ind_ptr =
data.getIndices().data().data();
87 CHKERR VecSetValues(this->getTSf(), nb_dofs, ind_ptr, vec_ptr, ADD_VALUES);
103 virtual MoFEMErrorCode
assemble(
int,
int, EntityType, EntityType,
108 const auto row_nb_dofs = row_data.
getIndices().size();
109 const auto col_nb_dofs = col_data.
getIndices().size();
110 transposeK.resize(col_nb_dofs, row_nb_dofs,
false);
115 CHKERR MatSetValues<AssemblyTypeSelector<A>>(this->getTSB(), row_data,
116 col_data,
K, ADD_VALUES);
118 CHKERR MatSetValues<AssemblyTypeSelector<A>>(
119 this->getTSB(), col_data, row_data,
transposeK, ADD_VALUES);
127 if (
data.getIndices().empty())
129 nF.resize(
data.getIndices().size(),
false);
136 MoFEMErrorCode
doWork(
int row_side,
int col_side, EntityType row_type,
137 EntityType col_type,
EntData &row_data,
147 CHKERR assemble(row_side, col_side, row_type, col_type, row_data, col_data);
158 MoFEMErrorCode
assemble(
int row_side,
int col_side, EntityType row_type,
159 EntityType col_type,
EntData &row_data,
164 constexpr bool store_matrices =
false;
165 if constexpr (store_matrices) {
167 m.resize(
K.size1(),
K.size2(),
false);
171 m.resize(
K.size2(),
K.size1(),
false);
179 static inline std::map<std::pair<std::string, std::string>, MatrixDouble>
188 using OpAssembleVolume::OpAssembleVolume;
192 "OpAssembleVolumePositiveDefine not implemented");
196 MoFEMErrorCode
doWork(
int row_side,
int col_side, EntityType row_type,
197 EntityType col_type,
EntData &row_data,
208 constexpr bool run_psd =
true;
212 auto higham_method_one_pass = [&](MatrixDouble &mat) {
215 const int size = (
n + 2) *
n;
219 VectorDouble eig(
n, 0.0);
220 MatrixDouble eigen_vec = prod(trans(mat), mat);
222 eig.data().data(),
work, lwork) > 0)
224 "The algorithm failed to compute eigenvalues.");
227 for (
auto &e : eig) {
228 constexpr double eps = std::numeric_limits<double>::epsilon();
229 e = std::max(std::sqrt(std::abs(e)),
eps);
232 auto diagonal_matrix =
233 ublas::diagonal_matrix<
double, ublas::row_major,
234 VecAllocator<double>>(
n, eig.data());
235 MatrixDouble symm_mat;
236 symm_mat = prod(trans(eigen_vec), diagonal_matrix);
237 symm_mat = prod(symm_mat, eigen_vec);
239 MatrixDouble hat_m = (mat + symm_mat) / 2.0;
244 auto hat_k = higham_method_one_pass(
K);
248 CHKERR assemble(row_side, col_side, row_type, col_type, row_data, col_data);
258 VectorPtr external_pressure_ptr,
259 boost::shared_ptr<ExternalStrainVec> external_strain_vec_ptr,
260 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv);
273 boost::shared_ptr<DataAtIntegrationPts> data_ptr)
278 boost::shared_ptr<DataAtIntegrationPts>
284 boost::shared_ptr<DataAtIntegrationPts> data_ptr)
286 std::fill(&doEntities[MBVERTEX], &doEntities[MBMAXTYPE],
false);
287 for (
auto t = moab::CN::TypeDimensionMap[
SPACE_DIM].first;
288 t <= moab::CN::TypeDimensionMap[
SPACE_DIM].second; ++
t)
289 doEntities[
t] =
true;
295 boost::shared_ptr<DataAtIntegrationPts>
301 std::string block_name,
Range block_entities,
302 std::array<double, 6> &reaction_vec)
309 boost::shared_ptr<DataAtIntegrationPts>
318 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
319 const double alpha,
const double rho)
331 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
332 double alpha_r,
double alpha_omega,
double alpha_viscous_r,
333 double alpha_viscous_omega)
348 boost::shared_ptr<DataAtIntegrationPts> data_ptr)
357 boost::shared_ptr<DataAtIntegrationPts> data_ptr)
366 boost::shared_ptr<DataAtIntegrationPts> data_ptr)
371template <
int INTERP_ORDER>
374 std::string tag_name =
"")
376 std::fill(&doEntities[MBVERTEX], &doEntities[MBMAXTYPE],
false);
377 doEntities[MBVERTEX] =
true;
390 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
391 boost::shared_ptr<ScalingMethod> scaling_method_ptr)
402template <AssemblyType A>
404 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBrokenBase {
406 using OP =
typename FormsIntegrators<FaceUserDataOperator>::Assembly<
410 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
411 boost::shared_ptr<BcDispVec> &bc_disp_ptr,
412 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
413 boost::shared_ptr<Range> ents_ptr =
nullptr)
414 :
OP(broken_base_side_data, ents_ptr), bcDispPtr(bc_disp_ptr),
415 scalingMethodsMap(smv) {}
425 using OP::OpDispBcImpl;
433template <AssemblyType A>
435 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBrokenBase {
437 using OP =
typename FormsIntegrators<FaceUserDataOperator>::Assembly<
441 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
442 boost::shared_ptr<BcRotVec> &bc_rot_ptr,
443 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
444 boost::shared_ptr<Range> ents_ptr =
nullptr)
445 :
OP(broken_base_side_data, ents_ptr), bcRotPtr(bc_rot_ptr),
446 scalingMethodsMap(smv) {}
466 using OP::OpRotationBcImpl;
473 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase {
475 const std::string row_field, boost::shared_ptr<TractionBcVec> bc_data,
476 boost::shared_ptr<double> piola_scale_ptr,
477 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv)
478 : FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>::
OpBase(
479 row_field, row_field, FaceUserDataOperator::OPROW),
492 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase {
494 const std::string row_field, boost::shared_ptr<PressureBcVec> bc_data,
495 boost::shared_ptr<double> piola_scale_ptr,
496 boost::shared_ptr<MatrixDouble> hybrid_grad_disp,
497 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv)
498 : FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>::
OpBase(
499 row_field, row_field, FaceUserDataOperator::OPROW),
512template <AssemblyType A, IntegrationType I>
515template <AssemblyType A>
517 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBase {
520 typename FormsIntegrators<FaceUserDataOperator>::Assembly<
A>
::OpBase;
523 std::string row_field, boost::shared_ptr<PressureBcVec> bc_data,
524 boost::shared_ptr<MatrixDouble> hybrid_grad_disp,
525 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv)
526 :
OP(row_field, row_field,
OP::OPROWCOL), bcData(bc_data),
527 hybridGradDispPtr(hybrid_grad_disp), scalingMethodsMap(smv) {}
546 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase {
548 const std::string row_field,
549 boost::shared_ptr<AnalyticalTractionBcVec> bc_data,
550 boost::shared_ptr<double> piola_scale_ptr,
551 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv)
552 : FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>::
OpBase(
553 row_field, row_field, FaceUserDataOperator::OPROW),
560 boost::shared_ptr<AnalyticalTractionBcVec>
bcData;
566 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase {
569 typename FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase;
572 std::string row_field, boost::shared_ptr<MatrixDouble> hybrid_disp_ptr,
573 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_side_data_ptr,
574 boost::shared_ptr<SpringBcVec> bc_spring_ptr)
588 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBase {
591 typename FormsIntegrators<FaceUserDataOperator>::Assembly<
A>
::OpBase;
594 boost::shared_ptr<SpringBcVec> bc_spring_ptr)
595 :
OP(row_field, row_field,
OP::OPROWCOL),
bcSpringPtr(bc_spring_ptr) {}
604 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBrokenBase {
606 using OP =
typename FormsIntegrators<FaceUserDataOperator>::Assembly<
610 std::string row_field,
611 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
612 boost::shared_ptr<SpringBcVec> bc_spring_ptr)
613 :
OP(row_field, broken_base_side_data, false, false, nullptr),
626template <AssemblyType A>
628 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase {
631 typename FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase;
634 std::string row_field, boost::shared_ptr<MatrixDouble> hybrid_disp_ptr,
635 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_side_data_ptr,
637 boost::shared_ptr<NormalDisplacementBcVec> &bc_disp_ptr,
638 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
639 boost::shared_ptr<Range> ents_ptr =
nullptr)
640 : FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>::
OpBase(
641 row_field, row_field,
OP::OPROW),
642 hybridDispPtr(hybrid_disp_ptr),
643 brokenBaseSideDataPtr(
644 broken_side_data_ptr),
645 bcDispPtr(bc_disp_ptr), scalingMethodsMap(smv) {}
656template <AssemblyType A>
658 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBase {
661 typename FormsIntegrators<FaceUserDataOperator>::Assembly<
A>
::OpBase;
664 std::string row_field,
665 boost::shared_ptr<NormalDisplacementBcVec> &bc_disp_ptr,
666 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
667 boost::shared_ptr<Range> ents_ptr =
nullptr)
668 :
OP(row_field, row_field,
OP::OPROWCOL), bcDispPtr(bc_disp_ptr),
669 scalingMethodsMap(smv) {}
677template <AssemblyType A>
679 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBrokenBase {
681 using OP =
typename FormsIntegrators<FaceUserDataOperator>::Assembly<
685 std::string row_field,
686 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
687 boost::shared_ptr<NormalDisplacementBcVec> &bc_disp_ptr,
688 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
689 boost::shared_ptr<Range> ents_ptr =
nullptr)
690 :
OP(row_field, broken_base_side_data, false, false, ents_ptr),
691 bcDispPtr(bc_disp_ptr), scalingMethodsMap(smv) {}
701 using OP::OpNormalDispBcRhsImpl;
725template <AssemblyType A>
727 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBrokenBase {
729 using OP =
typename FormsIntegrators<FaceUserDataOperator>::Assembly<
733 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
734 boost::shared_ptr<AnalyticalDisplacementBcVec> &bc_disp_ptr,
735 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
736 boost::shared_ptr<Range> ents_ptr =
nullptr)
737 :
OP(broken_base_side_data, ents_ptr), bcDispPtr(bc_disp_ptr),
738 scalingMethodsMap(smv) {}
742 boost::shared_ptr<AnalyticalDisplacementBcVec>
bcDispPtr;
748 using OP::OpAnalyticalDispBcImpl;
756 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
757 const bool assemble_off =
false)
769 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
770 const double alpha,
const double rho)
780 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
781 const bool assemble_off =
false)
792 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
793 const bool assemble_off =
false)
803 using OpAssembleVolume::OpAssembleVolume;
805 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
806 const bool assemble_off)
816 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
817 [[maybe_unused]]
double alpha_omega)
828 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
829 const bool assemble_off)
839 std::string row_field, std::string col_field,
840 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
const bool assemble_off)
850 std::string row_field, std::string col_field,
851 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
double alpha_r,
852 double alpha_omega,
double alpha_viscous_r,
double alpha_viscous_omega)
870 :
public FormsIntegrators<VolUserDataOperator>::Assembly<PETSC>
::OpBase {
871 using OP = FormsIntegrators<VolUserDataOperator>::Assembly<PETSC>
::OpBase;
874 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
875 const double alpha_omega_prec)
884 const bool)
override;
893 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
894 const bool has_nonhomogeneous_mat_block)
909 std::string row_field, std::string col_field,
910 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
911 const bool has_nonhomogeneous_mat_block)
926 std::string row_field, std::string col_field,
927 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
928 const bool has_nonhomogeneous_mat_block)
949 boost::shared_ptr<DataAtIntegrationPts> data_ptr)
958 std::string row_field, std::string col_field,
959 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
const bool assemble_off)
971 std::string row_field, std::string col_field,
972 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
const bool assemble_off)
983 :
public VolumeElementForcesAndSourcesCoreOnSide::UserDataOperator {
985 using OP = VolumeElementForcesAndSourcesCoreOnSide::UserDataOperator;
992 std::vector<EntityHandle> &map_gauss_pts,
993 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
1005 :
public VolumeElementForcesAndSourcesCoreOnSide::UserDataOperator {
1008 using OP = VolumeElementForcesAndSourcesCoreOnSide::UserDataOperator;
1016 boost::shared_ptr<DataAtIntegrationPts>
1021 :
public FaceElementForcesAndSourcesCore::UserDataOperator {
1024 using OP = FaceElementForcesAndSourcesCore::UserDataOperator;
1032 boost::shared_ptr<DataAtIntegrationPts>
1036template <
int FE_DIM,
int PROBLEM_DIM,
int SPACE_DIM>
struct AddHOOps;
1040 static MoFEMErrorCode
1041 add(boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pipeline,
1042 std::vector<FieldSpace> space, std::string geom_field_name,
1043 boost::shared_ptr<Range> crack_front_edges_ptr);
1048 static MoFEMErrorCode
1049 add(boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pipeline,
1050 std::vector<FieldSpace> space, std::string geom_field_name,
1051 boost::shared_ptr<Range> crack_front_edges_ptr);
1056 static MoFEMErrorCode
1057 add(boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pipeline,
1058 std::vector<FieldSpace> space, std::string geom_field_name,
1059 boost::shared_ptr<Range> crack_front_edges_ptr,
1060 boost::shared_ptr<MatrixDouble> jac =
nullptr,
1061 boost::shared_ptr<VectorDouble> det =
nullptr,
1062 boost::shared_ptr<MatrixDouble> inv_jac =
nullptr);
1066 FormsIntegrators<FaceElementForcesAndSourcesCore::UserDataOperator>::
1067 Assembly<A>::LinearForm<GAUSS>::OpBaseTimesVector<1,
SPACE_DIM,
1070template <
typename OP>
1076 MoFEMErrorCode
doWork(
int row_side, EntityType row_type,
1077 EntitiesFieldData::EntData &row_data) {
1081 if (OP::entsPtr->find(this->getFEEntityHandle()) == OP::entsPtr->end())
1086 if (!BASE::brokenBaseSideData) {
1091 auto do_work_rhs = [
this](int, EntityType,
1092 EntitiesFieldData::EntData &row_data) {
1095 OP::nbRows = row_data.getIndices().size();
1099 OP::nbIntegrationPts = OP::getGaussPts().size2();
1101 OP::nbRowBaseFunctions = OP::getNbOfBaseFunctions(row_data);
1103 OP::locF.resize(OP::nbRows,
false);
1106 CHKERR this->iNtegrate(row_data);
1108 CHKERR this->aSsemble(row_data);
1112 auto do_work_lhs = [
this](
int row_side,
int col_side, EntityType row_type,
1113 EntityType col_type,
1114 EntitiesFieldData::EntData &row_data,
1115 EntitiesFieldData::EntData &col_data) {
1118 auto check_if_assemble_transpose = [&] {
1120 if (OP::rowSide != OP::colSide || OP::rowType != OP::colType)
1124 }
else if (OP::assembleTranspose) {
1130 OP::rowSide = row_side;
1131 OP::rowType = row_type;
1132 OP::colSide = col_side;
1133 OP::colType = col_type;
1134 OP::nbCols = col_data.getIndices().size();
1135 OP::locMat.resize(OP::nbRows, OP::nbCols,
false);
1137 CHKERR this->iNtegrate(row_data, col_data);
1138 CHKERR this->aSsemble(row_data, col_data, check_if_assemble_transpose());
1142 switch (OP::opType) {
1145 OP::nbRows = row_data.getIndices().size();
1148 OP::nbIntegrationPts = OP::getGaussPts().size2();
1149 OP::nbRowBaseFunctions = OP::getNbOfBaseFunctions(row_data);
1154 for (
auto &bd : *BASE::brokenBaseSideData) {
1157 if (!bd.getData().getNSharedPtr(bd.getData().getBase())) {
1159 "base functions not set");
1166 row_side, bd.getSide(),
1169 row_type, bd.getType(),
1172 row_data, bd.getData()
1179 for (
auto &bd : *BASE::brokenBaseSideData) {
1180 fluxMatPtr = boost::shared_ptr<MatrixDouble>(BASE::brokenBaseSideData,
1182 CHKERR do_work_rhs(bd.getSide(), bd.getType(), bd.getData());
1188 (std::string(
"wrong op type ") +
1189 OpBaseDerivativesBase::OpTypeNames[
static_cast<unsigned char>(
1206 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1207 boost::shared_ptr<MatrixDouble> vec,
1208 ScalarFun beta_coeff = [](
double,
double,
double)
constexpr {
return 1; },
1209 boost::shared_ptr<Range> ents_ptr =
nullptr);
1217 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1218 ScalarFun beta_coeff = [](
double,
double,
double)
constexpr {
return 1; },
1219 boost::shared_ptr<Range> ents_ptr =
nullptr);
1222 MoFEMErrorCode
doWork(
int row_side, EntityType row_type,
1223 EntitiesFieldData::EntData &row_data);
1230 const std::string row_field,
1231 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1232 ScalarFun beta_coeff, boost::shared_ptr<Range> ents_ptr =
nullptr);
1240 FormsIntegrators<FaceElementForcesAndSourcesCore::UserDataOperator>::
1247 std::string row_field,
1248 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1249 ScalarFun beta,
const bool assmb_transpose,
const bool only_transpose,
1250 boost::shared_ptr<Range> ents_ptr =
nullptr);
1257 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1258 ScalarFun beta, boost::shared_ptr<Range> ents_ptr =
nullptr);
1260 MoFEMErrorCode
doWork(
int row_side, EntityType row_type,
1261 EntitiesFieldData::EntData &row_data);
1269 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1270 boost::shared_ptr<BcDispVec> &bc_disp_ptr,
1271 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
1272 ScalarFun tau_coeff, boost::shared_ptr<Range> ents_ptr =
nullptr)
1287 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1288 boost::shared_ptr<BcDispVec> &bc_disp_ptr, ScalarFun tau_coeff,
1289 boost::shared_ptr<Range> ents_ptr =
nullptr)
1290 :
OP(broken_base_side_data, tau_coeff, ents_ptr),
bcDispPtr(bc_disp_ptr) {
1304 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1305 boost::shared_ptr<AnalyticalDisplacementBcVec> &bc_disp_ptr,
1306 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
1307 ScalarFun tau_coeff, boost::shared_ptr<Range> ents_ptr =
nullptr)
1322 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1323 boost::shared_ptr<AnalyticalDisplacementBcVec> &bc_disp_ptr,
1324 ScalarFun tau_coeff, boost::shared_ptr<Range> ents_ptr =
nullptr)
1325 :
OP(broken_base_side_data, tau_coeff, ents_ptr),
bcDispPtr(bc_disp_ptr) {
1338 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1339 boost::shared_ptr<BcRotVec> &bc_ptr,
1340 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
1341 ScalarFun tau_coeff, boost::shared_ptr<Range> ents_ptr =
nullptr)
1356 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1357 boost::shared_ptr<BcRotVec> &bc_ptr, ScalarFun tau_coeff,
1358 boost::shared_ptr<Range> ents_ptr =
nullptr)
1359 :
OP(broken_base_side_data, tau_coeff, ents_ptr),
bcRotPtr(bc_ptr) {}
FormsIntegrators< FaceElementForcesAndSourcesCore::UserDataOperator >::Assembly< A >::BiLinearForm< GAUSS >::OpMass< 1, SPACE_DIM > OpMassVectorFace
FormsIntegrators< VolUserDataOperator >::Assembly< A >::BiLinearForm< GAUSS >::OpMass< 9, 9 > OpStressGram_dBubble_dBubble
FormsIntegrators< FaceElementForcesAndSourcesCore::UserDataOperator >::Assembly< A >::LinearForm< GAUSS >::OpBaseTimesVector< 1, SPACE_DIM, SPACE_DIM > OpBaseTimesVectorFace
FormsIntegrators< VolUserDataOperator >::Assembly< A >::BiLinearForm< GAUSS >::OpMass< 3, 9 > OpStressGram_dP_dP
ForcesAndSourcesCore::UserDataOperator UserDataOperator
boost::shared_ptr< DataAtIntegrationPts > data
SmartPetscObj< Vec > work
#define CHK_THROW_MESSAGE(err, msg)
Check and throw MoFEM exception.
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
FieldSpace
approximation spaces
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define CHK_MOAB_THROW(err, msg)
Check error code of MoAB function and throw MoFEM exception.
@ MOFEM_DATA_INCONSISTENCY
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
const double n
refractive index of diffusive medium
static __CLPK_integer lapack_dsyev(char jobz, char uplo, __CLPK_integer n, __CLPK_doublereal *a, __CLPK_integer lda, __CLPK_doublereal *w, __CLPK_doublereal *work, __CLPK_integer lwork)
constexpr double t
plate stiffness
constexpr auto field_name
OpBaseImpl< PETSC, EdgeEleOp > OpBase
FormsIntegrators< DomainEleOp >::Assembly< PETSC >::BiLinearForm< GAUSS >::OpMass< 1, SPACE_DIM > OpMass
[Only used with Hooke equation (linear material model)]
FTensor::Index< 'm', 3 > m
static MoFEMErrorCode add(boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &pipeline, std::vector< FieldSpace > space, std::string geom_field_name, boost::shared_ptr< Range > crack_front_edges_ptr)
static MoFEMErrorCode add(boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &pipeline, std::vector< FieldSpace > space, std::string geom_field_name, boost::shared_ptr< Range > crack_front_edges_ptr)
static MoFEMErrorCode add(boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &pipeline, std::vector< FieldSpace > space, std::string geom_field_name, boost::shared_ptr< Range > crack_front_edges_ptr, boost::shared_ptr< MatrixDouble > jac=nullptr, boost::shared_ptr< VectorDouble > det=nullptr, boost::shared_ptr< MatrixDouble > inv_jac=nullptr)
bool sYmm
If true assume that matrix is symmetric structure.
Data on single entity (This is passed as argument to DataOperator::doWork)
const VectorInt & getIndices() const
Get global indices of degrees of freedom on entity.
@ OPROW
operator doWork function is executed on FE rows
@ OPROWCOL
operator doWork is executed on FE rows &columns
@ OPSPACE
operator do Work is execute on space data
boost::shared_ptr< AnalyticalDisplacementBcVec > bcDispPtr
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
MoFEMErrorCode iNtegrate(EntData &data)
OpAnalyticalDispBcImpl(boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_base_side_data, boost::shared_ptr< AnalyticalDisplacementBcVec > &bc_disp_ptr, std::map< std::string, boost::shared_ptr< ScalingMethod > > smv, boost::shared_ptr< Range > ents_ptr=nullptr)
MoFEMErrorCode iNtegrate(EntData &data)
MatrixDouble K
local tangent matrix
VectorDouble nF
local right hand side vector
MoFEMErrorCode doWork(int row_side, int col_side, EntityType row_type, EntityType col_type, EntData &row_data, EntData &col_data)
MoFEMErrorCode doWork(int side, EntityType type, EntData &data)
virtual MoFEMErrorCode integrate(int, EntityType, EntData &data)
virtual MoFEMErrorCode assemble(EntData &data)
virtual MoFEMErrorCode integrate(EntData &, EntData &)
OpAssembleBasic(const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const char type)
virtual MoFEMErrorCode integrate(EntData &)
const bool assembleSymmetry
virtual MoFEMErrorCode assemble(int, int, EntityType, EntityType, EntData &row_data, EntData &col_data)
boost::function< double()> ScaleOff
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
OpAssembleBasic(const FieldSpace space)
virtual MoFEMErrorCode assemble(int, EntityType, EntData &data)
OpAssembleBasic(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const char type, const bool assemble_symmetry, ScaleOff scale_off=[]() { return 1;})
MoFEMErrorCode doWork(int, EntityType, EntData &)
Operator for linear form, usually to calculate values on right hand side.
MoFEMErrorCode doWork(int row_side, int col_side, EntityType row_type, EntityType col_type, EntData &row_data, EntData &col_data)
Operator for bi-linear form, usually to calculate values on left hand side.
typename OP::ScaleOff ScaleOff
static std::map< std::pair< std::string, std::string >, MatrixDouble > mapMatrix
MoFEMErrorCode assemble(int row_side, int col_side, EntityType row_type, EntityType col_type, EntData &row_data, EntData &col_data)
boost::shared_ptr< AnalyticalTractionBcVec > bcData
OpBrokenAnalyticalTractionBc(const std::string row_field, boost::shared_ptr< AnalyticalTractionBcVec > bc_data, boost::shared_ptr< double > piola_scale_ptr, std::map< std::string, boost::shared_ptr< ScalingMethod > > smv)
boost::shared_ptr< double > piolaScalePtr
MoFEMErrorCode iNtegrate(EntData &data)
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
MoFEMErrorCode doWork(int row_side, EntityType row_type, EntitiesFieldData::EntData &row_data)
MoFEMErrorCode doWork(int row_side, EntityType row_type, EntitiesFieldData::EntData &row_data)
MoFEMErrorCode iNtegrate(EntData &row_data, EntData &col_data)
boost::shared_ptr< MatrixDouble > hybridGradDispPtr
OpBrokenPressureBcLhsImpl_dU(std::string row_field, boost::shared_ptr< PressureBcVec > bc_data, boost::shared_ptr< MatrixDouble > hybrid_grad_disp, std::map< std::string, boost::shared_ptr< ScalingMethod > > smv)
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
boost::shared_ptr< PressureBcVec > bcData
MoFEMErrorCode iNtegrate(EntData &row_data, EntData &col_data)
boost::shared_ptr< MatrixDouble > hybridGradDispPtr
boost::shared_ptr< double > piolaScalePtr
MoFEMErrorCode iNtegrate(EntData &data)
OpBrokenPressureBc(const std::string row_field, boost::shared_ptr< PressureBcVec > bc_data, boost::shared_ptr< double > piola_scale_ptr, boost::shared_ptr< MatrixDouble > hybrid_grad_disp, std::map< std::string, boost::shared_ptr< ScalingMethod > > smv)
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
boost::shared_ptr< PressureBcVec > bcData
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
OpBrokenTractionBc(const std::string row_field, boost::shared_ptr< TractionBcVec > bc_data, boost::shared_ptr< double > piola_scale_ptr, std::map< std::string, boost::shared_ptr< ScalingMethod > > smv)
boost::shared_ptr< double > piolaScalePtr
boost::shared_ptr< TractionBcVec > bcData
MoFEMErrorCode iNtegrate(EntData &data)
Calculate q = 3 K_ext epsilon_ext at integration points.
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
MoFEMErrorCode doWork(int side, EntityType type, EntData &data) override
Operator for linear form, usually to calculate values on right hand side.
boost::shared_ptr< ExternalStrainVec > externalStrainVecPtr
VectorPtr externalPressurePtr
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
MoFEMErrorCode doWork(int side, EntityType type, EntData &data)
std::array< double, 6 > & reactionVec
OpCalculateReactionForces(boost::shared_ptr< DataAtIntegrationPts > data_ptr, std::string block_name, Range block_entities, std::array< double, 6 > &reaction_vec)
MoFEMErrorCode doWork(int side, EntityType type, EntData &data)
Operator for linear form, usually to calculate values on right hand side.
OpCalculateRotationAndSpatialGradient(boost::shared_ptr< DataAtIntegrationPts > data_ptr)
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
MoFEMErrorCode doWork(int side, EntityType type, EntData &data)
OpCalculateTractionFromSideEle(boost::shared_ptr< DataAtIntegrationPts > data_ptr)
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
OpDispBcImpl(boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_base_side_data, boost::shared_ptr< BcDispVec > &bc_disp_ptr, std::map< std::string, boost::shared_ptr< ScalingMethod > > smv, boost::shared_ptr< Range > ents_ptr=nullptr)
MoFEMErrorCode iNtegrate(EntData &data)
boost::shared_ptr< BcDispVec > bcDispPtr
MoFEMErrorCode iNtegrate(EntData &data)
MoFEMErrorCode doWork(int side, EntityType type, EntData &data)
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
FaceElementForcesAndSourcesCore::UserDataOperator OP
OpFaceMaterialForce(boost::shared_ptr< DataAtIntegrationPts > data_ptr)
MoFEMErrorCode doWork(int side, EntityType type, EntData &data)
Caluclate face material force and normal pressure at gauss points.
OpFaceSideMaterialForce(boost::shared_ptr< DataAtIntegrationPts > data_ptr)
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
MoFEMErrorCode doWork(int side, EntityType type, EntData &data)
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
OpGetInternalStress(boost::shared_ptr< DataAtIntegrationPts > data_ptr, std::string tag_name="")
MoFEMErrorCode iNtegrate(EntitiesFieldData::EntData &data)
boost::shared_ptr< std::vector< BrokenBaseSideData > > brokenBaseSideDataPtr
virtual MoFEMErrorCode evaluateLhs(EntData &data)=0
boost::shared_ptr< PhysicalEquations > physicsPtr
material physical equations
virtual MoFEMErrorCode evaluateRhs(EntData &data)=0
OpJacobian(FieldSpace space, UserDataOperator::OpType op_type)
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
OpJacobian(const bool eval_rhs, const bool eval_lhs, boost::shared_ptr< DataAtIntegrationPts > data_ptr, boost::shared_ptr< PhysicalEquations > physics_ptr)
MoFEMErrorCode doWork(int side, EntityType type, EntData &data)
boost::shared_ptr< NormalDisplacementBcVec > bcDispPtr
OpNormalDispBcLhsImpl_dP(std::string row_field, boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_base_side_data, boost::shared_ptr< NormalDisplacementBcVec > &bc_disp_ptr, std::map< std::string, boost::shared_ptr< ScalingMethod > > smv, boost::shared_ptr< Range > ents_ptr=nullptr)
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
MoFEMErrorCode iNtegrate(EntData &row_data, EntData &col_data)
MoFEMErrorCode iNtegrate(EntData &row_data, EntData &col_data)
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
OpNormalDispBcLhsImpl_dU(std::string row_field, boost::shared_ptr< NormalDisplacementBcVec > &bc_disp_ptr, std::map< std::string, boost::shared_ptr< ScalingMethod > > smv, boost::shared_ptr< Range > ents_ptr=nullptr)
boost::shared_ptr< NormalDisplacementBcVec > bcDispPtr
boost::shared_ptr< MatrixDouble > hybridDispPtr
OpNormalDispBcRhsImpl(std::string row_field, boost::shared_ptr< MatrixDouble > hybrid_disp_ptr, boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_side_data_ptr, boost::shared_ptr< NormalDisplacementBcVec > &bc_disp_ptr, std::map< std::string, boost::shared_ptr< ScalingMethod > > smv, boost::shared_ptr< Range > ents_ptr=nullptr)
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
MoFEMErrorCode iNtegrate(EntData &data)
boost::shared_ptr< NormalDisplacementBcVec > bcDispPtr
boost::shared_ptr< std::vector< BrokenBaseSideData > > brokenBaseSideDataPtr
MoFEMErrorCode iNtegrate(EntData &row_data, EntData &col_data)
MoFEMErrorCode iNtegrate(EntData &row_data, EntData &col_data)
MoFEMErrorCode iNtegrate(EntData &data)
std::vector< EntityHandle > & mapGaussPts
OpPostProcDataStructure(moab::Interface &post_proc_mesh, std::vector< EntityHandle > &map_gauss_pts, boost::shared_ptr< DataAtIntegrationPts > data_ptr, int sense)
moab::Interface & postProcMesh
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
MoFEMErrorCode doWork(int side, EntityType type, EntData &data)
VolumeElementForcesAndSourcesCoreOnSide::UserDataOperator OP
OpRotationBcImpl(boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_base_side_data, boost::shared_ptr< BcRotVec > &bc_rot_ptr, std::map< std::string, boost::shared_ptr< ScalingMethod > > smv, boost::shared_ptr< Range > ents_ptr=nullptr)
MoFEMErrorCode iNtegrate(EntData &data)
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
boost::shared_ptr< BcRotVec > bcRotPtr
Apply rotation boundary condition.
MoFEMErrorCode iNtegrate(EntData &data)
MoFEMErrorCode integrate(EntData &data)
OpSpatialConsistencyBubble(const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > data_ptr)
MoFEMErrorCode integrate(EntData &data)
OpSpatialConsistencyDivTerm(const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > data_ptr)
MoFEMErrorCode integrate(EntData &data)
OpSpatialConsistencyP(const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > data_ptr)
OpSpatialConsistency_dBubble_dBubble(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const bool has_nonhomogeneous_mat_block)
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
MoFEMErrorCode integrateImpl(EntData &row_data, EntData &col_data)
const bool hasNonhomogeneousMatBlock
MoFEMErrorCode integrateImpl(EntData &row_data, EntData &col_data)
OpSpatialConsistency_dBubble_dP(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const bool has_nonhomogeneous_mat_block)
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
const bool hasNonhomogeneousMatBlock
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
OpSpatialConsistency_dBubble_domega(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const bool assemble_off)
OpSpatialConsistency_dP_dP(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const bool has_nonhomogeneous_mat_block)
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
MoFEMErrorCode integrateImpl(EntData &row_data, EntData &col_data)
const bool hasNonhomogeneousMatBlock
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
OpSpatialConsistency_dP_domega(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const bool assemble_off)
OpSpatialEquilibrium_dw_dP(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const bool assemble_off=false)
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
OpSpatialEquilibrium_dw_dw(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const double alpha, const double rho)
MoFEMErrorCode integrate(EntData &data)
OpSpatialEquilibrium(const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const double alpha, const double rho)
MoFEMErrorCode integrate(EntData &row_data)
OpSpatialPhysicalInternalStress(const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > data_ptr, boost::shared_ptr< ScalingMethod > scaling_method_ptr)
boost::shared_ptr< ScalingMethod > scalingMethodPtr
OpSpatialPhysical_du_dBubble(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const bool assemble_off=false)
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
OpSpatialPhysical_du_dP(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const bool assemble_off=false)
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
OpSpatialPhysical_du_domega(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const bool assemble_off)
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
MoFEMErrorCode iNtegrate(EntData &row_data, EntData &col_data) override
const double alphaOmegaPrec
MoFEMErrorCode aSsemble(EntData &row_data, EntData &col_data, const bool) override
OpSpatialRotationPrec(const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const double alpha_omega_prec)
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
OpSpatialRotation_domega_dBubble(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const bool assemble_off)
OpSpatialRotation_domega_dP(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const bool assemble_off)
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
OpSpatialRotation_domega_domega(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, double alpha_r, double alpha_omega, double alpha_viscous_r, double alpha_viscous_omega)
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
OpSpatialRotation_domega_du(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, double alpha_omega)
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
MoFEMErrorCode integrate(EntData &data)
OpSpatialRotation(const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > data_ptr, double alpha_r, double alpha_omega, double alpha_viscous_r, double alpha_viscous_omega)
MoFEMErrorCode iNtegrate(EntData &row_data, EntData &col_data)
boost::shared_ptr< SpringBcVec > bcSpringPtr
OpSpringLhsBc_dP(std::string row_field, boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_base_side_data, boost::shared_ptr< SpringBcVec > bc_spring_ptr)
MoFEMErrorCode iNtegrate(EntData &row_data, EntData &col_data)
boost::shared_ptr< SpringBcVec > bcSpringPtr
OpSpringLhsBc_dU(std::string row_field, boost::shared_ptr< SpringBcVec > bc_spring_ptr)
boost::shared_ptr< MatrixDouble > hybridDispPtr
OpSpringRhsBc(std::string row_field, boost::shared_ptr< MatrixDouble > hybrid_disp_ptr, boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_side_data_ptr, boost::shared_ptr< SpringBcVec > bc_spring_ptr)
MoFEMErrorCode iNtegrate(EntData &data)
boost::shared_ptr< SpringBcVec > bcSpringPtr
boost::shared_ptr< std::vector< BrokenBaseSideData > > brokenBaseSideDataPtr
boost::weak_ptr< MatrixDouble > fluxMatPtr
MoFEMErrorCode doWork(int row_side, EntityType row_type, EntitiesFieldData::EntData &row_data)
OpBrokenBaseImpl< OP > BASE
OpStressGram_dBubble_dP(std::string row_field, std::string col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr)
MoFEMErrorCode integrate(EntData &row_data, EntData &col_data)
MoFEMErrorCode iNtegrate(EntData &row_data, EntData &col_data)
boost::shared_ptr< BcDispVec > bcDispPtr
OpTauStabilizationDispLhsBc(boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_base_side_data, boost::shared_ptr< BcDispVec > &bc_disp_ptr, ScalarFun tau_coeff, boost::shared_ptr< Range > ents_ptr=nullptr)
OpTauStabilizationDispRhsBc(boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_base_side_data, boost::shared_ptr< BcDispVec > &bc_disp_ptr, std::map< std::string, boost::shared_ptr< ScalingMethod > > smv, ScalarFun tau_coeff, boost::shared_ptr< Range > ents_ptr=nullptr)
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
MoFEMErrorCode iNtegrate(EntData &data)
boost::shared_ptr< BcDispVec > bcDispPtr
boost::shared_ptr< AnalyticalDisplacementBcVec > bcDispPtr
MoFEMErrorCode iNtegrate(EntData &data)
OpTauStabilizationOpAnalyticalDispBc(boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_base_side_data, boost::shared_ptr< AnalyticalDisplacementBcVec > &bc_disp_ptr, std::map< std::string, boost::shared_ptr< ScalingMethod > > smv, ScalarFun tau_coeff, boost::shared_ptr< Range > ents_ptr=nullptr)
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
MoFEMErrorCode iNtegrate(EntData &row_data, EntData &col_data)
boost::shared_ptr< AnalyticalDisplacementBcVec > bcDispPtr
OpTauStabilizationOpAnalyticalDispLhsBc(boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_base_side_data, boost::shared_ptr< AnalyticalDisplacementBcVec > &bc_disp_ptr, ScalarFun tau_coeff, boost::shared_ptr< Range > ents_ptr=nullptr)
boost::shared_ptr< BcRotVec > bcRotPtr
OpTauStabilizationRotationLhsBc(boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_base_side_data, boost::shared_ptr< BcRotVec > &bc_ptr, ScalarFun tau_coeff, boost::shared_ptr< Range > ents_ptr=nullptr)
MoFEMErrorCode iNtegrate(EntData &row_data, EntData &col_data)
std::map< std::string, boost::shared_ptr< ScalingMethod > > scalingMethodsMap
OpTauStabilizationRotationRhsBc(boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_base_side_data, boost::shared_ptr< BcRotVec > &bc_ptr, std::map< std::string, boost::shared_ptr< ScalingMethod > > smv, ScalarFun tau_coeff, boost::shared_ptr< Range > ents_ptr=nullptr)
MoFEMErrorCode iNtegrate(EntData &data)
boost::shared_ptr< BcRotVec > bcRotPtr