v0.13.2
Loading...
Searching...
No Matches
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 24 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 38 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}
static Index< 'o', 3 > o
constexpr double t
plate stiffness
Definition: plate.cpp:59
constexpr auto field_name
typename FormsIntegrators< OpBase >::template Assembly< A >::template LinearForm< I >::template OpSource< 1, 1 > OpSource

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: