v0.14.0
Public Types | Public Member Functions | Private Attributes | List of all members
MoFEM::OpEssentialRhsImpl< MPCsType, 1, FIELD_DIM, A, I, OpBase > Struct Template Reference

#include <src/boundary_conditions/EssentialMPCsData.hpp>

Inheritance diagram for MoFEM::OpEssentialRhsImpl< MPCsType, 1, FIELD_DIM, A, I, OpBase >:
[legend]
Collaboration diagram for MoFEM::OpEssentialRhsImpl< MPCsType, 1, FIELD_DIM, A, I, OpBase >:
[legend]

Public Types

using OpSource = typename FormsIntegrators< OpBase >::template Assembly< A >::template LinearForm< I >::template OpSource< 1, FIELD_DIM >
 

Public Member Functions

 OpEssentialRhsImpl (const std::string field_name, boost::shared_ptr< MPCsType > bc_data, boost::shared_ptr< Range > ents_ptr, std::vector< boost::shared_ptr< ScalingMethod >> smv)
 
VectorFun< FIELD_DIMinitConstraintFunction (boost::shared_ptr< MPCsType > bc_data)
 

Private Attributes

FTensor::Tensor1< double, FIELD_DIMtVal
 
VecOfTimeScalingMethods vecOfTimeScalingMethods
 

Detailed Description

template<int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase>
struct MoFEM::OpEssentialRhsImpl< MPCsType, 1, FIELD_DIM, A, I, OpBase >

Definition at line 118 of file EssentialMPCsData.hpp.

Member Typedef Documentation

◆ OpSource

template<int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
using MoFEM::OpEssentialRhsImpl< MPCsType, 1, FIELD_DIM, A, I, OpBase >::OpSource = typename FormsIntegrators<OpBase>::template Assembly< A>::template LinearForm<I>::template OpSource<1, FIELD_DIM>

Definition at line 123 of file EssentialMPCsData.hpp.

Constructor & Destructor Documentation

◆ OpEssentialRhsImpl()

template<int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
MoFEM::OpEssentialRhsImpl< MPCsType, 1, FIELD_DIM, A, I, OpBase >::OpEssentialRhsImpl ( const std::string  field_name,
boost::shared_ptr< MPCsType bc_data,
boost::shared_ptr< Range ents_ptr,
std::vector< boost::shared_ptr< ScalingMethod >>  smv 
)

Definition at line 142 of file EssentialMPCsData.hpp.

147  : OpSource(field_name, initConstraintFunction(bc_data), ents_ptr),
149  // static_assert(FIELD_DIM > 1, "Is not implemented for scalar field");
150 }

Member Function Documentation

◆ initConstraintFunction()

template<int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
VectorFun<FIELD_DIM> MoFEM::OpEssentialRhsImpl< MPCsType, 1, FIELD_DIM, A, I, OpBase >::initConstraintFunction ( boost::shared_ptr< MPCsType bc_data)
inline

Definition at line 131 of file EssentialMPCsData.hpp.

131  {
132  // FIXME: here implement functions depending on bc_data (MPC data)
133  return [this](double x, double y, double z) { return tVal; };
134  }

Member Data Documentation

◆ tVal

template<int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
FTensor::Tensor1<double, FIELD_DIM> MoFEM::OpEssentialRhsImpl< MPCsType, 1, FIELD_DIM, A, I, OpBase >::tVal
private

Definition at line 137 of file EssentialMPCsData.hpp.

◆ vecOfTimeScalingMethods

template<int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
VecOfTimeScalingMethods MoFEM::OpEssentialRhsImpl< MPCsType, 1, FIELD_DIM, A, I, OpBase >::vecOfTimeScalingMethods
private

Definition at line 138 of file EssentialMPCsData.hpp.


The documentation for this struct was generated from the following file:
MoFEM::OpEssentialRhsImpl< MPCsType, 1, FIELD_DIM, A, I, OpBase >::vecOfTimeScalingMethods
VecOfTimeScalingMethods vecOfTimeScalingMethods
Definition: EssentialMPCsData.hpp:138
MoFEM::OpEssentialRhsImpl< MPCsType, 1, FIELD_DIM, A, I, OpBase >::tVal
FTensor::Tensor1< double, FIELD_DIM > tVal
Definition: EssentialMPCsData.hpp:137
field_name
constexpr auto field_name
Definition: poisson_2d_homogeneous.cpp:13
MoFEM::OpEssentialRhsImpl< MPCsType, 1, FIELD_DIM, A, I, OpBase >::initConstraintFunction
VectorFun< FIELD_DIM > initConstraintFunction(boost::shared_ptr< MPCsType > bc_data)
Definition: EssentialMPCsData.hpp:131
MoFEM::OpEssentialRhsImpl< MPCsType, 1, FIELD_DIM, A, I, OpBase >::OpSource
typename FormsIntegrators< OpBase >::template Assembly< A >::template LinearForm< I >::template OpSource< 1, FIELD_DIM > OpSource
Definition: EssentialMPCsData.hpp:123