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),
85 double *vec_ptr =
nF.data().data();
87 int *ind_ptr = data.
getIndices().data().data();
88 CHKERR VecSetValues(this->getTSf(), nb_dofs, ind_ptr, vec_ptr, ADD_VALUES);
92 virtual MoFEMErrorCode
assemble(
int, EntityType,
106 EntityType, EntityType,
111 const auto row_nb_dofs = row_data.
getIndices().size();
112 const auto col_nb_dofs = col_data.
getIndices().size();
113 transposeK.resize(col_nb_dofs, row_nb_dofs,
false);
118 CHKERR MatSetValues<AssemblyTypeSelector<A>>(this->getTSB(), row_data,
119 col_data,
K, ADD_VALUES);
121 CHKERR MatSetValues<AssemblyTypeSelector<A>>(
122 this->getTSB(), col_data, row_data,
transposeK, ADD_VALUES);
139 MoFEMErrorCode
doWork(
int row_side,
int col_side, EntityType row_type,
140 EntityType col_type,
EntData &row_data,
150 CHKERR assemble(row_side, col_side, row_type, col_type, row_data, col_data);
161 MoFEMErrorCode
assemble(
int row_side,
int col_side, EntityType row_type,
162 EntityType col_type,
EntData &row_data,
167 constexpr bool store_matrices =
false;
168 if constexpr (store_matrices) {
170 m.resize(
K.size1(),
K.size2(),
false);
174 m.resize(
K.size2(),
K.size1(),
false);
182 static inline std::map<std::pair<std::string, std::string>, MatrixDouble>
191 using OpAssembleVolume::OpAssembleVolume;
195 "OpAssembleVolumePositiveDefine not implemented");
199 MoFEMErrorCode
doWork(
int row_side,
int col_side, EntityType row_type,
200 EntityType col_type,
EntData &row_data,
211 constexpr bool run_psd =
true;
215 auto higham_method_one_pass = [&](MatrixDouble &mat) {
218 const int size = (
n + 2) *
n;
220 double *work =
new double[size];
222 VectorDouble eig(
n, 0.0);
223 MatrixDouble eigen_vec = prod(trans(mat), mat);
225 eig.data().data(), work, lwork) > 0)
227 "The algorithm failed to compute eigenvalues.");
230 for (
auto &e : eig) {
231 constexpr double eps = std::numeric_limits<double>::epsilon();
232 e = std::max(std::sqrt(std::abs(e)),
eps);
235 auto diagonal_matrix =
236 ublas::diagonal_matrix<
double, ublas::row_major,
237 VecAllocator<double>>(
n, eig.data());
238 MatrixDouble symm_mat;
239 symm_mat = prod(trans(eigen_vec), diagonal_matrix);
240 symm_mat = prod(symm_mat, eigen_vec);
242 MatrixDouble hat_m = (mat + symm_mat) / 2.0;
247 auto hat_k = higham_method_one_pass(
K);
251 CHKERR assemble(row_side, col_side, row_type, col_type, row_data, col_data);
261 VectorPtr external_pressure_ptr,
262 boost::shared_ptr<ExternalStrainVec> external_strain_vec_ptr,
263 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv);
276 boost::shared_ptr<DataAtIntegrationPts> data_ptr)
281 boost::shared_ptr<DataAtIntegrationPts>
287 boost::shared_ptr<DataAtIntegrationPts> data_ptr)
289 std::fill(&doEntities[MBVERTEX], &doEntities[MBMAXTYPE],
false);
290 for (
auto t = moab::CN::TypeDimensionMap[
SPACE_DIM].first;
291 t <= moab::CN::TypeDimensionMap[
SPACE_DIM].second; ++
t)
292 doEntities[
t] =
true;
298 boost::shared_ptr<DataAtIntegrationPts>
304 std::string block_name,
Range block_entities,
305 std::array<double, 6> &reaction_vec)
312 boost::shared_ptr<DataAtIntegrationPts>
321 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
322 const double alpha,
const double rho)
334 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
335 double alpha_r,
double alpha_omega,
336 double alpha_viscous_r,
double alpha_viscous_omega)
352 boost::shared_ptr<DataAtIntegrationPts> data_ptr)
361 boost::shared_ptr<DataAtIntegrationPts> data_ptr)
370 boost::shared_ptr<DataAtIntegrationPts> data_ptr)
375template <
int INTERP_ORDER>
378 std::string tag_name =
"")
380 std::fill(&doEntities[MBVERTEX], &doEntities[MBMAXTYPE],
false);
381 doEntities[MBVERTEX] =
true;
394 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
395 boost::shared_ptr<ScalingMethod> scaling_method_ptr)
406template <AssemblyType A>
408 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBrokenBase {
410 using OP =
typename FormsIntegrators<FaceUserDataOperator>::Assembly<
414 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
415 boost::shared_ptr<BcDispVec> &bc_disp_ptr,
416 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
417 boost::shared_ptr<Range> ents_ptr =
nullptr)
418 :
OP(broken_base_side_data, ents_ptr), bcDispPtr(bc_disp_ptr),
419 scalingMethodsMap(smv) {}
429 using OP::OpDispBcImpl;
437template <AssemblyType A>
439 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBrokenBase {
441 using OP =
typename FormsIntegrators<FaceUserDataOperator>::Assembly<
445 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
446 boost::shared_ptr<BcRotVec> &bc_rot_ptr,
447 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
448 boost::shared_ptr<Range> ents_ptr =
nullptr)
449 :
OP(broken_base_side_data, ents_ptr), bcRotPtr(bc_rot_ptr),
450 scalingMethodsMap(smv) {}
470 using OP::OpRotationBcImpl;
477 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase {
479 const std::string row_field, boost::shared_ptr<TractionBcVec> bc_data,
480 boost::shared_ptr<double> piola_scale_ptr,
481 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv)
482 : FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>::
OpBase(
483 row_field, row_field, FaceUserDataOperator::OPROW),
495 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase {
497 const std::string row_field, boost::shared_ptr<PressureBcVec> bc_data,
498 boost::shared_ptr<double> piola_scale_ptr,
499 boost::shared_ptr<MatrixDouble> hybrid_grad_disp,
500 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv)
501 : FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>::
OpBase(
502 row_field, row_field, FaceUserDataOperator::OPROW),
515template <AssemblyType A, IntegrationType I>
518template <AssemblyType A>
520 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBase {
523 typename FormsIntegrators<FaceUserDataOperator>::Assembly<
A>
::OpBase;
526 std::string row_field, boost::shared_ptr<PressureBcVec> bc_data,
527 boost::shared_ptr<MatrixDouble> hybrid_grad_disp,
528 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv)
529 :
OP(row_field, row_field,
OP::OPROWCOL), bcData(bc_data),
530 hybridGradDispPtr(hybrid_grad_disp), scalingMethodsMap(smv) {}
549 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase {
551 const std::string row_field,
552 boost::shared_ptr<AnalyticalTractionBcVec> bc_data,
553 boost::shared_ptr<double> piola_scale_ptr,
554 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv)
555 : FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>::
OpBase(
556 row_field, row_field, FaceUserDataOperator::OPROW),
563 boost::shared_ptr<AnalyticalTractionBcVec>
bcData;
569 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase {
572 typename FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase;
575 std::string row_field, boost::shared_ptr<MatrixDouble> hybrid_disp_ptr,
576 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_side_data_ptr,
577 boost::shared_ptr<SpringBcVec> bc_spring_ptr)
591 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBase {
593 using OP =
typename FormsIntegrators<FaceUserDataOperator>::Assembly<
A>
::OpBase;
596 boost::shared_ptr<SpringBcVec> bc_spring_ptr)
597 :
OP(row_field, row_field,
OP::OPROWCOL),
bcSpringPtr(bc_spring_ptr) {}
606 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBrokenBase {
609 typename FormsIntegrators<FaceUserDataOperator>::Assembly<
A>
::OpBrokenBase;
612 std::string row_field,
613 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
614 boost::shared_ptr<SpringBcVec> bc_spring_ptr)
615 :
OP(row_field, broken_base_side_data, false, false, nullptr),
628template <AssemblyType A>
630 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase {
633 typename FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>
::OpBase;
636 std::string row_field, boost::shared_ptr<MatrixDouble> hybrid_disp_ptr,
637 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_side_data_ptr,
639 boost::shared_ptr<NormalDisplacementBcVec> &bc_disp_ptr,
640 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
641 boost::shared_ptr<Range> ents_ptr =
nullptr)
642 : FormsIntegrators<FaceUserDataOperator>::Assembly<PETSC>::
OpBase(
643 row_field, row_field,
OP::OPROW),
644 hybridDispPtr(hybrid_disp_ptr),
645 brokenBaseSideDataPtr(
646 broken_side_data_ptr),
647 bcDispPtr(bc_disp_ptr), scalingMethodsMap(smv) {}
658template <AssemblyType A>
660 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBase {
663 typename FormsIntegrators<FaceUserDataOperator>::Assembly<
A>
::OpBase;
666 std::string row_field,
667 boost::shared_ptr<NormalDisplacementBcVec> &bc_disp_ptr,
668 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
669 boost::shared_ptr<Range> ents_ptr =
nullptr)
670 :
OP(row_field, row_field,
OP::OPROWCOL), bcDispPtr(bc_disp_ptr),
671 scalingMethodsMap(smv) {}
679template <AssemblyType A>
681 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBrokenBase {
683 using OP =
typename FormsIntegrators<FaceUserDataOperator>::Assembly<
687 std::string row_field,
688 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
689 boost::shared_ptr<NormalDisplacementBcVec> &bc_disp_ptr,
690 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
691 boost::shared_ptr<Range> ents_ptr =
nullptr)
692 :
OP(row_field, broken_base_side_data, false, false, ents_ptr),
693 bcDispPtr(bc_disp_ptr), scalingMethodsMap(smv) {}
703 using OP::OpNormalDispBcRhsImpl;
727template <AssemblyType A>
729 :
public FormsIntegrators<FaceUserDataOperator>::Assembly<A>
::OpBrokenBase {
731 using OP =
typename FormsIntegrators<FaceUserDataOperator>::Assembly<
735 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
736 boost::shared_ptr<AnalyticalDisplacementBcVec> &bc_disp_ptr,
737 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
738 boost::shared_ptr<Range> ents_ptr =
nullptr)
739 :
OP(broken_base_side_data, ents_ptr), bcDispPtr(bc_disp_ptr),
740 scalingMethodsMap(smv) {}
744 boost::shared_ptr<AnalyticalDisplacementBcVec>
bcDispPtr;
750 using OP::OpAnalyticalDispBcImpl;
758 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
759 const bool assemble_off =
false)
771 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
772 const double alpha,
const double rho)
782 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
783 const bool assemble_off =
false)
794 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
795 const bool assemble_off =
false)
805 using OpAssembleVolume::OpAssembleVolume;
807 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
808 const bool assemble_off)
818 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
819 [[maybe_unused]]
double alpha_omega)
830 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
831 const bool assemble_off)
841 std::string row_field, std::string col_field,
842 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
const bool assemble_off)
852 std::string row_field, std::string col_field,
853 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
double alpha_r,
854 double alpha_omega,
double alpha_viscous_r,
855 double alpha_viscous_omega)
873 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
874 const bool has_nonhomogeneous_mat_block)
889 std::string row_field, std::string col_field,
890 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
891 const bool has_nonhomogeneous_mat_block)
906 std::string row_field, std::string col_field,
907 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
908 const bool has_nonhomogeneous_mat_block)
931 boost::shared_ptr<DataAtIntegrationPts> data_ptr)
940 std::string row_field, std::string col_field,
941 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
const bool assemble_off)
953 std::string row_field, std::string col_field,
954 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
const bool assemble_off)
965 :
public VolumeElementForcesAndSourcesCoreOnSide::UserDataOperator {
967 using OP = VolumeElementForcesAndSourcesCoreOnSide::UserDataOperator;
974 std::vector<EntityHandle> &map_gauss_pts,
975 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
987 :
public VolumeElementForcesAndSourcesCoreOnSide::UserDataOperator {
990 using OP = VolumeElementForcesAndSourcesCoreOnSide::UserDataOperator;
998 boost::shared_ptr<DataAtIntegrationPts>
1003 :
public FaceElementForcesAndSourcesCore::UserDataOperator {
1006 using OP = FaceElementForcesAndSourcesCore::UserDataOperator;
1014 boost::shared_ptr<DataAtIntegrationPts>
1018template <
int FE_DIM,
int PROBLEM_DIM,
int SPACE_DIM>
struct AddHOOps;
1022 static MoFEMErrorCode
1023 add(boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pipeline,
1024 std::vector<FieldSpace> space, std::string geom_field_name,
1025 boost::shared_ptr<Range> crack_front_edges_ptr);
1030 static MoFEMErrorCode
1031 add(boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pipeline,
1032 std::vector<FieldSpace> space, std::string geom_field_name,
1033 boost::shared_ptr<Range> crack_front_edges_ptr);
1038 static MoFEMErrorCode
1039 add(boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pipeline,
1040 std::vector<FieldSpace> space, std::string geom_field_name,
1041 boost::shared_ptr<Range> crack_front_edges_ptr,
1042 boost::shared_ptr<MatrixDouble> jac =
nullptr,
1043 boost::shared_ptr<VectorDouble> det =
nullptr,
1044 boost::shared_ptr<MatrixDouble> inv_jac =
nullptr);
1048 FormsIntegrators<FaceElementForcesAndSourcesCore::UserDataOperator>::
1049 Assembly<A>::LinearForm<GAUSS>::OpBaseTimesVector<1,
SPACE_DIM,
1052template <
typename OP>
1058 MoFEMErrorCode
doWork(
int row_side, EntityType row_type,
1059 EntitiesFieldData::EntData &row_data) {
1063 if (OP::entsPtr->find(this->getFEEntityHandle()) == OP::entsPtr->end())
1068 if (!BASE::brokenBaseSideData) {
1073 auto do_work_rhs = [
this](int, EntityType,
1074 EntitiesFieldData::EntData &row_data) {
1077 OP::nbRows = row_data.getIndices().size();
1081 OP::nbIntegrationPts = OP::getGaussPts().size2();
1083 OP::nbRowBaseFunctions = OP::getNbOfBaseFunctions(row_data);
1085 OP::locF.resize(OP::nbRows,
false);
1088 CHKERR this->iNtegrate(row_data);
1090 CHKERR this->aSsemble(row_data);
1094 auto do_work_lhs = [
this](
int row_side,
int col_side, EntityType row_type,
1095 EntityType col_type,
1096 EntitiesFieldData::EntData &row_data,
1097 EntitiesFieldData::EntData &col_data) {
1100 auto check_if_assemble_transpose = [&] {
1102 if (OP::rowSide != OP::colSide || OP::rowType != OP::colType)
1106 }
else if (OP::assembleTranspose) {
1112 OP::rowSide = row_side;
1113 OP::rowType = row_type;
1114 OP::colSide = col_side;
1115 OP::colType = col_type;
1116 OP::nbCols = col_data.getIndices().size();
1117 OP::locMat.resize(OP::nbRows, OP::nbCols,
false);
1119 CHKERR this->iNtegrate(row_data, col_data);
1120 CHKERR this->aSsemble(row_data, col_data, check_if_assemble_transpose());
1124 switch (OP::opType) {
1127 OP::nbRows = row_data.getIndices().size();
1130 OP::nbIntegrationPts = OP::getGaussPts().size2();
1131 OP::nbRowBaseFunctions = OP::getNbOfBaseFunctions(row_data);
1136 for (
auto &bd : *BASE::brokenBaseSideData) {
1139 if (!bd.getData().getNSharedPtr(bd.getData().getBase())) {
1141 "base functions not set");
1148 row_side, bd.getSide(),
1151 row_type, bd.getType(),
1154 row_data, bd.getData()
1161 for (
auto &bd : *BASE::brokenBaseSideData) {
1162 fluxMatPtr = boost::shared_ptr<MatrixDouble>(BASE::brokenBaseSideData,
1164 CHKERR do_work_rhs(bd.getSide(), bd.getType(), bd.getData());
1170 (std::string(
"wrong op type ") +
1171 OpBaseDerivativesBase::OpTypeNames[
static_cast<unsigned char>(
1188 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1189 boost::shared_ptr<MatrixDouble> vec,
1190 ScalarFun beta_coeff = [](
double,
double,
double)
constexpr {
return 1; },
1191 boost::shared_ptr<Range> ents_ptr =
nullptr);
1199 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1200 ScalarFun beta_coeff = [](
double,
double,
double)
constexpr {
return 1; },
1201 boost::shared_ptr<Range> ents_ptr =
nullptr);
1204 MoFEMErrorCode
doWork(
int row_side, EntityType row_type,
1205 EntitiesFieldData::EntData &row_data);
1212 const std::string row_field,
1213 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1214 ScalarFun beta_coeff, boost::shared_ptr<Range> ents_ptr =
nullptr);
1217 MoFEMErrorCode
iNtegrate(EntitiesFieldData::EntData &data);
1222 FormsIntegrators<FaceElementForcesAndSourcesCore::UserDataOperator>::
1229 std::string row_field,
1230 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1231 ScalarFun beta,
const bool assmb_transpose,
const bool only_transpose,
1232 boost::shared_ptr<Range> ents_ptr =
nullptr);
1239 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1240 ScalarFun beta, boost::shared_ptr<Range> ents_ptr =
nullptr);
1242 MoFEMErrorCode
doWork(
int row_side, EntityType row_type,
1243 EntitiesFieldData::EntData &row_data);
1251 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1252 boost::shared_ptr<BcDispVec> &bc_disp_ptr,
1253 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
1254 ScalarFun tau_coeff, boost::shared_ptr<Range> ents_ptr =
nullptr)
1269 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1270 boost::shared_ptr<BcDispVec> &bc_disp_ptr, ScalarFun tau_coeff,
1271 boost::shared_ptr<Range> ents_ptr =
nullptr)
1272 :
OP(broken_base_side_data, tau_coeff, ents_ptr),
bcDispPtr(bc_disp_ptr) {
1286 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1287 boost::shared_ptr<AnalyticalDisplacementBcVec> &bc_disp_ptr,
1288 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
1289 ScalarFun tau_coeff, boost::shared_ptr<Range> ents_ptr =
nullptr)
1304 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1305 boost::shared_ptr<AnalyticalDisplacementBcVec> &bc_disp_ptr,
1306 ScalarFun tau_coeff, boost::shared_ptr<Range> ents_ptr =
nullptr)
1307 :
OP(broken_base_side_data, tau_coeff, ents_ptr),
bcDispPtr(bc_disp_ptr) {
1320 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1321 boost::shared_ptr<BcRotVec> &bc_ptr,
1322 std::map<std::string, boost::shared_ptr<ScalingMethod>> smv,
1323 ScalarFun tau_coeff, boost::shared_ptr<Range> ents_ptr =
nullptr)
1338 boost::shared_ptr<std::vector<BrokenBaseSideData>> broken_base_side_data,
1339 boost::shared_ptr<BcRotVec> &bc_ptr, ScalarFun tau_coeff,
1340 boost::shared_ptr<Range> ents_ptr =
nullptr)
1341 :
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
#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)
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