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

#include <src/boundary_conditions/EssentialTemperatureCubitBcData.hpp>

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

Public Types

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

Public Member Functions

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

Private Attributes

VecOfTimeScalingMethods vecOfTimeScalingMethods
 
double bcVal
 

Detailed Description

template<AssemblyType A, IntegrationType I, typename OpBase>
struct MoFEM::OpEssentialRhsImpl< TemperatureCubitBcData, 1, 1, A, I, OpBase >

Definition at line 20 of file EssentialTemperatureCubitBcData.hpp.

Member Typedef Documentation

◆ OpSource

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

Definition at line 25 of file EssentialTemperatureCubitBcData.hpp.

Constructor & Destructor Documentation

◆ OpEssentialRhsImpl()

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

Definition at line 39 of file EssentialTemperatureCubitBcData.hpp.

43  : OpSource(
44  field_name, [this](double, double, double) { return bcVal; },
45  ents_ptr),
47 
48  bcVal = bc_data->data.value1;
49  this->timeScalingFun = [this](const double t) {
50  double s = 1;
51  for (auto &o : vecOfTimeScalingMethods) {
52  s *= o->getScale(t);
53  }
54  return s;
55  };
56 
57 }

Member Data Documentation

◆ bcVal

template<AssemblyType A, IntegrationType I, typename OpBase >
double MoFEM::OpEssentialRhsImpl< TemperatureCubitBcData, 1, 1, A, I, OpBase >::bcVal
private

Definition at line 34 of file EssentialTemperatureCubitBcData.hpp.

◆ vecOfTimeScalingMethods

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

Definition at line 33 of file EssentialTemperatureCubitBcData.hpp.


The documentation for this struct was generated from the following file:
MoFEM::OpEssentialRhsImpl< TemperatureCubitBcData, 1, 1, A, I, OpBase >::vecOfTimeScalingMethods
VecOfTimeScalingMethods vecOfTimeScalingMethods
Definition: EssentialTemperatureCubitBcData.hpp:33
MoFEM::OpEssentialRhsImpl< TemperatureCubitBcData, 1, 1, A, I, OpBase >::bcVal
double bcVal
Definition: EssentialTemperatureCubitBcData.hpp:34
t
constexpr double t
plate stiffness
Definition: plate.cpp:59
field_name
constexpr auto field_name
Definition: poisson_2d_homogeneous.cpp:13
MoFEM::OpEssentialRhsImpl< TemperatureCubitBcData, 1, 1, A, I, OpBase >::OpSource
typename FormsIntegrators< OpBase >::template Assembly< A >::template LinearForm< I >::template OpSource< 1, 1 > OpSource
Definition: EssentialTemperatureCubitBcData.hpp:25