v0.14.0
Public Member Functions | Static Public Member Functions | List of all members
MoFEM::AddFluxToRhsPipelineImpl< OpFluxRhsImpl< NaturalForceMeshsets, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase > Struct Template Reference

#include <src/boundary_conditions/NaturalForceMeshsets.hpp>

Public Member Functions

 AddFluxToRhsPipelineImpl ()=delete
 

Static Public Member Functions

static MoFEMErrorCode add (boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &pipeline, MoFEM::Interface &m_field, const std::string field_name, std::vector< boost::shared_ptr< ScalingMethod >> smv, const std::string block_name, Sev sev)
 

Detailed Description

template<int BASE_DIM, int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase>
struct MoFEM::AddFluxToRhsPipelineImpl< OpFluxRhsImpl< NaturalForceMeshsets, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase >

Definition at line 27 of file NaturalForceMeshsets.hpp.

Constructor & Destructor Documentation

◆ AddFluxToRhsPipelineImpl()

template<int BASE_DIM, int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
MoFEM::AddFluxToRhsPipelineImpl< OpFluxRhsImpl< NaturalForceMeshsets, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase >::AddFluxToRhsPipelineImpl ( )
delete

Member Function Documentation

◆ add()

template<int BASE_DIM, int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
static MoFEMErrorCode MoFEM::AddFluxToRhsPipelineImpl< OpFluxRhsImpl< NaturalForceMeshsets, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase >::add ( boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &  pipeline,
MoFEM::Interface m_field,
const std::string  field_name,
std::vector< boost::shared_ptr< ScalingMethod >>  smv,
const std::string  block_name,
Sev  sev 
)
inlinestatic

Definition at line 36 of file NaturalForceMeshsets.hpp.

43  {
45 
46  using OpFluxForceset =
47  typename NaturalBC<OpBase>::template Assembly<A>::template LinearForm<
49  FIELD_DIM>;
50  using OpFluxPressureset =
51  typename NaturalBC<OpBase>::template Assembly<A>::template LinearForm<
53  FIELD_DIM>;
54  using OpFluxBlockset =
55  typename NaturalBC<OpBase>::template Assembly<A>::template LinearForm<
57  FIELD_DIM>;
58 
59  CHKERR
60  NaturalBC<OpBase>::template Assembly<A>::template LinearForm<
61  I>::template AddFluxToPipeline<OpFluxForceset>::add(pipeline, m_field,
62  field_name, smv,
63  block_name, sev);
64  CHKERR
65  NaturalBC<OpBase>::template Assembly<A>::template LinearForm<
66  I>::template AddFluxToPipeline<OpFluxPressureset>::add(pipeline,
67  m_field,
68  field_name, smv,
69  block_name, sev);
70  CHKERR
71  NaturalBC<OpBase>::template Assembly<A>::template LinearForm<
72  I>::template AddFluxToPipeline<OpFluxBlockset>::add(pipeline, m_field,
73  field_name, smv,
74  block_name, sev);
75 
77  }

The documentation for this struct was generated from the following file:
BASE_DIM
constexpr int BASE_DIM
Definition: dg_projection.cpp:15
FIELD_DIM
constexpr int FIELD_DIM
Definition: child_and_parent.cpp:15
I
constexpr IntegrationType I
Definition: operators_tests.cpp:31
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:548
OpFlux
Definition: hcurl_divergence_operator_2d.cpp:56
field_name
constexpr auto field_name
Definition: poisson_2d_homogeneous.cpp:13
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:429
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:359