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

#include <src/boundary_conditions/NaturalMeshsetType.hpp>

Inheritance diagram for MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 3, FIELD_DIM, A, I, OpBase >:
[legend]
Collaboration diagram for MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 3, FIELD_DIM, A, I, OpBase >:
[legend]

Public Types

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

Public Member Functions

 OpFluxRhsImpl (const std::string field_name, const double value, boost::shared_ptr< Range > ents_ptr, std::vector< boost::shared_ptr< ScalingMethod > > smv, ScalarFun user_fun=[](double, double, double) { return 1;})
 

Protected Member Functions

 OpFluxRhsImpl (const std::string field_name, std::vector< boost::shared_ptr< ScalingMethod > > smv, ScalarFun user_fun=[](double, double, double) { return 1;})
 

Protected Attributes

double scalarValue
 
VecOfTimeScalingMethods vecOfTimeScalingMethods
 
ScalarFun userFun
 

Detailed Description

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

Definition at line 181 of file NaturalMeshsetType.hpp.

Member Typedef Documentation

◆ OpSource

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

Definition at line 185 of file NaturalMeshsetType.hpp.

Constructor & Destructor Documentation

◆ OpFluxRhsImpl() [1/2]

template<int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 3, FIELD_DIM, A, I, OpBase >::OpFluxRhsImpl ( const std::string  field_name,
const double  value,
boost::shared_ptr< Range ents_ptr,
std::vector< boost::shared_ptr< ScalingMethod > >  smv,
ScalarFun  user_fun = [](doubledoubledouble) { return 1; } 
)

Definition at line 563 of file NaturalMeshsetType.hpp.

568 : OpFluxRhsImpl(field_name, smv) {
569 this->scalarValue = value;
570 this->entsPtr = ents_ptr;
571}
constexpr auto field_name
OpFluxRhsImpl(const std::string field_name, const double value, boost::shared_ptr< Range > ents_ptr, std::vector< boost::shared_ptr< ScalingMethod > > smv, ScalarFun user_fun=[](double, double, double) { return 1;})

◆ OpFluxRhsImpl() [2/2]

template<int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 3, FIELD_DIM, A, I, OpBase >::OpFluxRhsImpl ( const std::string  field_name,
std::vector< boost::shared_ptr< ScalingMethod > >  smv,
ScalarFun  user_fun = [](doubledoubledouble) { return 1; } 
)
protected

Definition at line 574 of file NaturalMeshsetType.hpp.

579
580 [this](const double x, const double y, const double z) {
581 return scalarValue * userFun(x, y, z);
582 }
583
584 ),
585 vecOfTimeScalingMethods(smv), userFun(user_fun) {
586
587 this->timeScalingFun = [this](const double t) {
588 double s = 1;
589 for (auto &o : vecOfTimeScalingMethods) {
590 s *= o->getScale(t);
591 }
592 return s;
593 };
594}
static Index< 'o', 3 > o
constexpr double t
plate stiffness
Definition: plate.cpp:59
typename FormsIntegrators< OpBase >::template Assembly< A >::template LinearForm< I >::template OpNormalMixVecTimesScalar< FIELD_DIM > OpSource

Member Data Documentation

◆ scalarValue

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

Definition at line 199 of file NaturalMeshsetType.hpp.

◆ userFun

template<int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
ScalarFun MoFEM::OpFluxRhsImpl< NaturalMeshsetType< UNKNOWNSET >, 3, FIELD_DIM, A, I, OpBase >::userFun
protected

Definition at line 201 of file NaturalMeshsetType.hpp.

◆ vecOfTimeScalingMethods

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

Definition at line 200 of file NaturalMeshsetType.hpp.


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