v0.14.0
Loading...
Searching...
No Matches
NaturalDomainBC.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<DomainBCs, BASE_DIM, FIELD_DIM, A, I, OpBase>, A, I, OpBase
16
17 > {
18
20
21 using T =
22 typename NaturalBC<OpBase>::template Assembly<A>::template LinearForm<I>;
25
26 static MoFEMErrorCode add(
27
28 boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pipeline,
29 MoFEM::Interface &m_field, std::string field_name, Sev sev
30
31 ) {
33 CHKERR T::template AddFluxToPipeline<OpBodyForce>::add(
34 pipeline, m_field, field_name, {}, "BODY_FORCE", sev);
36 }
37};
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
IntegrationType
Form integrator integration types.
AssemblyType
[Storage and set boundary conditions]
constexpr IntegrationType I
constexpr AssemblyType A
constexpr auto field_name
static MoFEMErrorCode add(boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &pipeline, MoFEM::Interface &m_field, std::string field_name, Sev sev)
typename NaturalBC< OpBase >::template Assembly< A >::template LinearForm< I > T
typename T::template OpFlux< NaturalMeshsetType< BLOCKSET >, BASE_DIM, FIELD_DIM > OpBodyForce
[OpInternalForce]
Definition: elastic.cpp:45
Deprecated interface functions.