v0.14.0
Public Member Functions | Static Public Member Functions | List of all members
MoFEM::AddFluxToRhsPipelineImpl< OpFluxRhsImpl< NaturalForceMeshsetsScalarAndVectorScaling, 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)
 
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, std::vector< boost::shared_ptr< TimeScaleVector< FIELD_DIM >>> vsmv, 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< NaturalForceMeshsetsScalarAndVectorScaling, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase >

Definition at line 92 of file NaturalForceMeshsets.hpp.

Constructor & Destructor Documentation

◆ AddFluxToRhsPipelineImpl()

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

Member Function Documentation

◆ add() [1/2]

template<int BASE_DIM, int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
static MoFEMErrorCode MoFEM::AddFluxToRhsPipelineImpl< OpFluxRhsImpl< NaturalForceMeshsetsScalarAndVectorScaling, 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 102 of file NaturalForceMeshsets.hpp.

109  {
110  return add(pipeline, m_field, field_name, smv, block_name, sev);
111  }

◆ add() [2/2]

template<int BASE_DIM, int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
static MoFEMErrorCode MoFEM::AddFluxToRhsPipelineImpl< OpFluxRhsImpl< NaturalForceMeshsetsScalarAndVectorScaling, 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,
std::vector< boost::shared_ptr< TimeScaleVector< FIELD_DIM >>>  vsmv,
const std::string  block_name,
Sev  sev 
)
inlinestatic

Definition at line 113 of file NaturalForceMeshsets.hpp.

121  {
123 
124  using OpFluxForceset =
125  typename NaturalBC<OpBase>::template Assembly<A>::template LinearForm<
127  FIELD_DIM>;
128  using OpFluxPressureset =
129  typename NaturalBC<OpBase>::template Assembly<A>::template LinearForm<
131  FIELD_DIM>;
132  using OpFluxBlockset =
133  typename NaturalBC<OpBase>::template Assembly<A>::template LinearForm<
135  FIELD_DIM>;
136 
137  using OpFluxBlocksetVectorScaling =
138  typename NaturalBC<OpBase>::template Assembly<A>::template LinearForm<
141 
142  CHKERR
143  NaturalBC<OpBase>::template Assembly<A>::template LinearForm<
144  I>::template AddFluxToPipeline<OpFluxForceset>::add(pipeline, m_field,
145  field_name, smv,
146  block_name, sev);
147  CHKERR
148  NaturalBC<OpBase>::template Assembly<A>::template LinearForm<
149  I>::template AddFluxToPipeline<OpFluxPressureset>::add(pipeline,
150  m_field,
151  field_name, smv,
152  block_name, sev);
153  CHKERR
154  NaturalBC<OpBase>::template Assembly<A>::template LinearForm<
155  I>::template AddFluxToPipeline<OpFluxBlockset>::add(pipeline, m_field,
156  field_name, smv,
157  block_name, sev);
158  CHKERR
159  NaturalBC<OpBase>::template Assembly<A>::template LinearForm<I>::
160  template AddFluxToPipeline<OpFluxBlocksetVectorScaling>::add(
161  pipeline, m_field, field_name, vsmv, block_name, sev);
162 
164  }

The documentation for this struct was generated from the following file:
BASE_DIM
constexpr int BASE_DIM
Definition: dg_projection.cpp:15
MoFEM::AddFluxToRhsPipelineImpl< OpFluxRhsImpl< NaturalForceMeshsetsScalarAndVectorScaling, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase >::add
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)
Definition: NaturalForceMeshsets.hpp:102
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