v0.13.2
Loading...
Searching...
No Matches
ContactNaturalDomainBC.hpp
Go to the documentation of this file.
1/**
2 * @file NaturalDomainBC.hpp
3 * @brief Boundary conditions in domain, i.e. body forces.
4 * @version 0.13.2
5 * @date 2022-09-22
6 *
7 * @copyright Copyright (c) 2022
8 *
9 */
10
12 typename OpBase>
13struct AddFluxToRhsPipelineImpl<
14
15 OpFluxRhsImpl<ContactOps::DomainBCs, BASE_DIM, FIELD_DIM, A, I, OpBase>, A,
16 I, OpBase
17
18 > {
19
21
22 using T =
23 typename NaturalBC<OpBase>::template Assembly<A>::template LinearForm<I>;
26
27 static MoFEMErrorCode add(
28
29 boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pipeline,
30 MoFEM::Interface &m_field, std::string field_name,
31 std::vector<boost::shared_ptr<ScalingMethod>> smv, Sev sev
32
33 ) {
35 CHKERR T::template AddFluxToPipeline<OpBodyForce>::add(
36 pipeline, m_field, field_name, smv, "BODY_FORCE", sev);
38 }
39};
constexpr int FIELD_DIM
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
#define CHKERR
Inline error check.
Definition: definitions.h:535
constexpr int BASE_DIM
[Define dimension]
Definition: elastic.cpp:16
IntegrationType
Form integrator integration types.
AssemblyType
[Storage and set boundary conditions]
constexpr int BASE_DIM
[Only used for dynamics]
constexpr IntegrationType I
constexpr AssemblyType A
constexpr auto field_name
typename T::template OpFlux< NaturalMeshsetType< BLOCKSET >, BASE_DIM, FIELD_DIM > OpBodyForce
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)
Deprecated interface functions.