5#include "Sfx/Sfx_NodalValues.h"
6#include "Sfx/Sfx_FieldLattice.h"
8#include "numeric/Sfx_TwoStepIntegrator.h"
23 using pairofield = std::pair<Sfx::FieldLattice, Sfx::FieldLattice>;
70 if (getStepType() == TwoStepIntegrator::eStepType::predictorStep)
87 return std::make_pair(Sfx::FieldLattice{
m_currU1 }, Sfx::FieldLattice{
m_currU2 });
108 const Sfx::FieldLattice& aU2)
override final;
std::pair< Nodal_Value, Nodal_Value > pair_node
alias
Definition Sfx_ImposeBnd.h:27
Responsible to evaluate the spatial terms according to spatial discretization. The HOperator provides...
Definition Sfx_LDeltaOperator.h:34
void setBCValuesAtBothEnds(const std::pair< Sfx::Object *, Sfx::Object * > &aBcNodes) override final
set physical boundary
Definition Testvs19_Nujic2StepsIntegrator.h:122
void setBCAtBothEnds(const Sfx::EMcNeilBndCnd::pair_node &aBcNodes)
set physical boundary
Definition Testvs19_Nujic2StepsIntegrator.h:113
void corrector() override final
corrector step
Definition Testvs19_Nujic2StepsIntegrator.cpp:115
void predictor() override final
predictor step
Definition Testvs19_Nujic2StepsIntegrator.cpp:41
Sfx::FieldLattice m_midU2
Definition Testvs19_Nujic2StepsIntegrator.h:139
Sfx::FieldLattice m_currU1
Definition Testvs19_Nujic2StepsIntegrator.h:140
Sfx::FieldLattice m_midU1
Definition Testvs19_Nujic2StepsIntegrator.h:138
void step()
time stepping algorithm
Definition Testvs19_Nujic2StepsIntegrator.cpp:186
Nujic2StepsIntegrator(const Sfx::FieldLattice &aU1, const Sfx::FieldLattice &aU2)
ctor from field lattice values
Definition Testvs19_Nujic2StepsIntegrator.cpp:17
RetRhsType * currentState() const override
Getter.
Definition Testvs19_Nujic2StepsIntegrator.h:68
RetRhsType * previousState() const override
Getter.
Definition Testvs19_Nujic2StepsIntegrator.h:62
pairofield getFinalSolution() const noexcept
Getter.
Definition Testvs19_Nujic2StepsIntegrator.h:83
Sfx::Nodal_Value m_downstreamNode
Definition Testvs19_Nujic2StepsIntegrator.h:143
Sfx::LDeltaOperator * m_deltaOp
Definition Testvs19_Nujic2StepsIntegrator.h:133
Sfx::Nodal_Value m_upstreamNode
Definition Testvs19_Nujic2StepsIntegrator.h:142
void setInitialState(const Sfx::FieldLattice &aU1, const Sfx::FieldLattice &aU2) override final
set initial condition
Definition Testvs19_Nujic2StepsIntegrator.cpp:180
Sfx::FieldLattice m_currU2
Definition Testvs19_Nujic2StepsIntegrator.h:141
std::pair< Sfx::FieldLattice, Sfx::FieldLattice > pairofield
Definition Testvs19_Nujic2StepsIntegrator.h:23
void initialize() override final
set inital state of the integrator
Definition Testvs19_Nujic2StepsIntegrator.h:48
Wrapper data type used as RHS (right-hand-side) return structure.
Definition Testvs19_RetRhsType.h:14
Definition Testvs19_BaseRhsPhysicsAlgorithm.cpp:19