|
| v0.14.0
|
Go to the documentation of this file.
21 struct AddFluxToRhsPipelineImpl<
28 AddFluxToRhsPipelineImpl() =
delete;
31 typename NaturalBC<OpBase>::template Assembly<A>::template LinearForm<I>;
44 boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pipeline,
46 std::vector<boost::shared_ptr<ScalingMethod>> smv,
Sev sev
50 CHKERR T::template AddFluxToPipeline<OpForce>::add(
51 pipeline, m_field,
field_name, smv,
"FORCE", sev);
52 CHKERR T::template AddFluxToPipeline<OpFluidLevelRhs>::add(
53 pipeline, m_field,
field_name, smv, 1,
"FLUID_PRESSURE", sev);
54 auto u_ptr = boost::make_shared<MatrixDouble>();
56 new OpCalculateVectorFieldValues<SPACE_DIM>(
field_name, u_ptr));
57 CHKERR T::template AddFluxToPipeline<OpSpringRhs>::add(
58 pipeline, m_field,
field_name, u_ptr, 1,
"SPRING", sev);
65 struct AddFluxToLhsPipelineImpl<
72 AddFluxToLhsPipelineImpl() =
delete;
74 using T =
typename NaturalBC<OpBase>::template Assembly<
83 boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pipeline,
88 CHKERR T::template AddFluxToPipeline<OpSpringLhs>::add(
96 struct AddFluxToRhsPipelineImpl<
103 AddFluxToRhsPipelineImpl() =
delete;
106 typename NaturalBC<OpBase>::template Assembly<A>::template LinearForm<I>;
112 boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pipeline,
114 std::vector<boost::shared_ptr<ScalingMethod>> smv,
Sev sev
118 CHKERR T::template AddFluxToPipeline<OpBodyForce>::add(
119 pipeline, m_field,
field_name, smv,
"BODY_FORCE", sev);
Implementation of elastic spring bc.
typename T::template OpFlux< NaturalMeshsetType< BLOCKSET >, BASE_DIM, FIELD_DIM > OpBodyForce
typename NaturalBC< OpBase >::template Assembly< A >::template LinearForm< I > T
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
Deprecated interface functions.
constexpr IntegrationType I
MoFEM::LogManager::SeverityLevel Sev
#define CHKERR
Inline error check.
static MoFEMErrorCode add(boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &pipeline, MoFEM::Interface &m_field, std::string field_name, std::vector< boost::shared_ptr< ScalingMethod >> smv, Sev sev)
constexpr auto field_name
Natural boundary condition applying pressure from fluid.
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...