v0.13.2
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 1, 1, A, I, OpBase > Struct Template Reference

#include <src/boundary_conditions/NaturalMeshsetType.hpp>

Inheritance diagram for MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 1, 1, A, I, OpBase >:
[legend]
Collaboration diagram for MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 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

 OpFluxRhsImpl (const std::string field_name, double value, boost::shared_ptr< Range > ents_ptr, std::vector< boost::shared_ptr< ScalingMethod > > smv)
 

Protected Member Functions

 OpFluxRhsImpl (const std::string field_name, std::vector< boost::shared_ptr< ScalingMethod > > smv)
 
MoFEMErrorCode getMeshsetData (MoFEM::Interface &m_field, int ms_id)
 

Protected Attributes

double scalarValue
 
VecOfTimeScalingMethods vecOfTimeScalingMethods
 

Detailed Description

template<AssemblyType A, IntegrationType I, typename OpBase>
struct MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 1, 1, A, I, OpBase >

Definition at line 90 of file NaturalMeshsetType.hpp.

Member Typedef Documentation

◆ OpSource

template<AssemblyType A, IntegrationType I, typename OpBase >
using MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 1, 1, A, I, OpBase >::OpSource = typename FormsIntegrators<OpBase>::template Assembly< A>::template LinearForm<I>::template OpSource<1, 1>

Definition at line 94 of file NaturalMeshsetType.hpp.

Constructor & Destructor Documentation

◆ OpFluxRhsImpl() [1/2]

template<AssemblyType A, IntegrationType I, typename OpBase >
MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 1, 1, A, I, OpBase >::OpFluxRhsImpl ( const std::string  field_name,
double  value,
boost::shared_ptr< Range ents_ptr,
std::vector< boost::shared_ptr< ScalingMethod > >  smv 
)

Definition at line 359 of file NaturalMeshsetType.hpp.

363 : OpFluxRhsImpl(field_name, smv) {
364 this->scalarValue = value;
365 this->entsPtr = ents_ptr;
366}
constexpr auto field_name
OpFluxRhsImpl(const std::string field_name, double value, boost::shared_ptr< Range > ents_ptr, std::vector< boost::shared_ptr< ScalingMethod > > smv)

◆ OpFluxRhsImpl() [2/2]

template<AssemblyType A, IntegrationType I, typename OpBase >
MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 1, 1, A, I, OpBase >::OpFluxRhsImpl ( const std::string  field_name,
std::vector< boost::shared_ptr< ScalingMethod > >  smv 
)
protected

Definition at line 369 of file NaturalMeshsetType.hpp.

373
374 [this](const double, const double, const double) {
375 return scalarValue;
376 }
377
378 ),
380
381 this->timeScalingFun = [this](const double t) {
382 double s = 1;
383 for (auto &o : vecOfTimeScalingMethods) {
384 s *= o->getScale(t);
385 }
386 return s;
387 };
388}
static Index< 'o', 3 > o
constexpr double t
plate stiffness
Definition: plate.cpp:59
typename FormsIntegrators< OpBase >::template Assembly< A >::template LinearForm< I >::template OpSource< 1, 1 > OpSource

Member Function Documentation

◆ getMeshsetData()

template<AssemblyType A, IntegrationType I, typename OpBase >
MoFEMErrorCode MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 1, 1, A, I, OpBase >::getMeshsetData ( MoFEM::Interface m_field,
int  ms_id 
)
protected

Member Data Documentation

◆ scalarValue

template<AssemblyType A, IntegrationType I, typename OpBase >
double MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 1, 1, A, I, OpBase >::scalarValue
protected

Definition at line 106 of file NaturalMeshsetType.hpp.

◆ vecOfTimeScalingMethods

template<AssemblyType A, IntegrationType I, typename OpBase >
VecOfTimeScalingMethods MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 1, 1, A, I, OpBase >::vecOfTimeScalingMethods
protected

Definition at line 108 of file NaturalMeshsetType.hpp.


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