15struct AddFluxToRhsPipelineImpl<
25 typename NaturalBC<OpBase>::template Assembly<A>::template
LinearForm<I>;
33 static MoFEMErrorCode
add(
35 boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pipeline,
37 std::vector<boost::shared_ptr<ScalingMethod>> smv, Sev sev
41 CHKERR T::template AddFluxToPipeline<OpForce>::add(
42 pipeline, m_field,
field_name, smv,
"FORCE", sev);
43 auto u_ptr = boost::make_shared<MatrixDouble>();
45 new OpCalculateVectorFieldValues<SPACE_DIM>(
field_name, u_ptr));
46 CHKERR T::template AddFluxToPipeline<OpSpringRhs>::add(
47 pipeline, m_field,
field_name, u_ptr, 1,
"SPRING", sev);
54struct AddFluxToLhsPipelineImpl<
63 using T =
typename NaturalBC<OpBase>::template Assembly<
70 static MoFEMErrorCode
add(
72 boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pipeline,
77 CHKERR T::template AddFluxToPipeline<OpSpringLhs>::add(
Implementation of elastic spring bc.
#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()
#define CHKERR
Inline error check.
constexpr int BASE_DIM
[Define dimension]
constexpr IntegrationType I
constexpr auto field_name
Deprecated interface functions.