v0.15.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
AddFluxToRhsPipelineImpl< OpFluxRhsImpl< ContactOps::BoundaryBCs, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase > Struct Template Reference

#include "tutorials/adv-1/src/ContactNaturalBC.hpp"

Public Types

using T = typename NaturalBC< OpBase >::template Assembly< A >::template LinearForm< I >
 
using OpForce = typename T::template OpFlux< NaturalForceMeshsets, 1, SPACE_DIM >
 
using OpSpringRhs = typename T::template OpFlux< ElasticExample::SpringBcType< BLOCKSET >, 1, SPACE_DIM >
 
using OpFluidLevelRhs = typename T::template OpFlux< ElasticExample::FluidLevelType< BLOCKSET >, 1, SPACE_DIM >
 

Public Member Functions

 AddFluxToRhsPipelineImpl ()=delete
 

Static Public Member Functions

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)
 

Detailed Description

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

Definition at line 21 of file ContactNaturalBC.hpp.

Member Typedef Documentation

◆ OpFluidLevelRhs

template<int BASE_DIM, int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
using AddFluxToRhsPipelineImpl< OpFluxRhsImpl< ContactOps::BoundaryBCs, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase >::OpFluidLevelRhs = typename T::template OpFlux<ElasticExample::FluidLevelType<BLOCKSET>, 1, SPACE_DIM>

Definition at line 38 of file ContactNaturalBC.hpp.

◆ OpForce

template<int BASE_DIM, int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
using AddFluxToRhsPipelineImpl< OpFluxRhsImpl< ContactOps::BoundaryBCs, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase >::OpForce = typename T::template OpFlux<NaturalForceMeshsets, 1, SPACE_DIM>

Definition at line 33 of file ContactNaturalBC.hpp.

◆ OpSpringRhs

template<int BASE_DIM, int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
using AddFluxToRhsPipelineImpl< OpFluxRhsImpl< ContactOps::BoundaryBCs, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase >::OpSpringRhs = typename T::template OpFlux<ElasticExample::SpringBcType<BLOCKSET>, 1, SPACE_DIM>

Definition at line 35 of file ContactNaturalBC.hpp.

◆ T

template<int BASE_DIM, int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
using AddFluxToRhsPipelineImpl< OpFluxRhsImpl< ContactOps::BoundaryBCs, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase >::T = typename NaturalBC<OpBase>::template Assembly<A>::template LinearForm<I>

Definition at line 30 of file ContactNaturalBC.hpp.

Constructor & Destructor Documentation

◆ AddFluxToRhsPipelineImpl()

template<int BASE_DIM, int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
AddFluxToRhsPipelineImpl< OpFluxRhsImpl< ContactOps::BoundaryBCs, 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 AddFluxToRhsPipelineImpl< OpFluxRhsImpl< ContactOps::BoundaryBCs, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase >::add ( boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &  pipeline,
MoFEM::Interface m_field,
std::string  field_name,
std::vector< boost::shared_ptr< ScalingMethod > >  smv,
Sev  sev 
)
inlinestatic

Definition at line 42 of file ContactNaturalBC.hpp.

48 {
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>();
55 pipeline.push_back(
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);
60 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
constexpr auto field_name

The documentation for this struct was generated from the following file: