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

#include <src/boundary_conditions/NaturalMeshsetType.hpp>

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

 OpFluxRhsImpl (const std::string field_name, FTensor::Tensor1< double, FIELD_DIM > t_force, boost::shared_ptr< Range > ents_ptr, std::vector< boost::shared_ptr< TimeScaleVector< FIELD_DIM > > > smv)
 Function to push operators to rhs pipeline. This function user API. More...
 

Protected Member Functions

 OpFluxRhsImpl (const std::string field_name, std::vector< boost::shared_ptr< TimeScaleVector< FIELD_DIM > > > smv)
 

Protected Attributes

FTensor::Tensor1< double, FIELD_DIMtForce
 
VecOfTimeVectorScalingMethods< FIELD_DIMvecOfTimeVectorScalingMethods
 

Detailed Description

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

Definition at line 225 of file NaturalMeshsetType.hpp.

Member Typedef Documentation

◆ OpSource

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

Definition at line 230 of file NaturalMeshsetType.hpp.

Constructor & Destructor Documentation

◆ OpFluxRhsImpl() [1/2]

template<int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
MoFEM::OpFluxRhsImpl< NaturalMeshsetTypeVectorScaling< UNKNOWNSET >, 1, FIELD_DIM, A, I, OpBase >::OpFluxRhsImpl ( const std::string  field_name,
FTensor::Tensor1< double, FIELD_DIM t_force,
boost::shared_ptr< Range ents_ptr,
std::vector< boost::shared_ptr< TimeScaleVector< FIELD_DIM > > >  smv 
)

Function to push operators to rhs pipeline. This function user API.

Template Parameters
BCTYPE
BASE_DIM
FIELD_DIM
A
I
OpBase

Definition at line 626 of file NaturalMeshsetType.hpp.

632 : OpFluxRhsImpl(field_name, smv) {
634 this->tForce(i) = t_force(i);
635 this->entsPtr = ents_ptr;
636}
FTensor::Index< 'i', SPACE_DIM > i
constexpr auto field_name
OpFluxRhsImpl(const std::string field_name, FTensor::Tensor1< double, FIELD_DIM > t_force, boost::shared_ptr< Range > ents_ptr, std::vector< boost::shared_ptr< TimeScaleVector< FIELD_DIM > > > smv)
Function to push operators to rhs pipeline. This function user API.

◆ OpFluxRhsImpl() [2/2]

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

Definition at line 640 of file NaturalMeshsetType.hpp.

645 [this](double, double, double) {
647 auto t = this->getFEMethod()->ts_t;
648 for (auto &o : vecOfTimeVectorScalingMethods) {
649 auto vec = o->getVector(t);
650 this->tForce(i) = vec(i);
651 }
652 return this->tForce;
653 }),
655
656 static_assert(FIELD_DIM > 1, "Not implemented for scalar field");
657}
static Index< 'o', 3 > o
constexpr int FIELD_DIM
constexpr double t
plate stiffness
Definition: plate.cpp:59
typename FormsIntegrators< OpBase >::template Assembly< A >::template LinearForm< I >::template OpSource< 1, FIELD_DIM > OpSource

Member Data Documentation

◆ tForce

Definition at line 242 of file NaturalMeshsetType.hpp.

◆ vecOfTimeVectorScalingMethods

template<int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
VecOfTimeVectorScalingMethods<FIELD_DIM> MoFEM::OpFluxRhsImpl< NaturalMeshsetTypeVectorScaling< UNKNOWNSET >, 1, FIELD_DIM, A, I, OpBase >::vecOfTimeVectorScalingMethods
protected

Definition at line 243 of file NaturalMeshsetType.hpp.


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