54 const std::shared_ptr<dbpp::FiniteVolumeDiscretization>& aGlbdiscr,
58 RhsHLLFluxSrc rhsDiscr{...}
59 LDeltaOperator w_ldeltaOp(rhsDiscr);
60 ODESolver1D w_odeSolver1d(w_ldeltaOp);
61 w_odeSolver.registerPhysicalSystem(aPhysys);
62 w_odeSolver.solve(... dt);
64 auto w_numethod = std::make_shared<dbpp::SemiDiscreteMethod>(&w_odeSolver1d);
66 auto w_gblDiscr = std::make_shared<dbpp::FiniteVolumeDiscretization>(w_numethod);
68 [[maybe_unused]]
auto startT = aSim->getSimulationStartTime();
Abstract class provide an interface with services to implement physical based algorithm to solve st-V...
Definition Sfx_PhysicalAlgorithm.h:20
Bean that represents a simulation in the framework. Many of the attributes of the simulation bean are...
Definition Sfx_Simulation.h:22
void calculate(dbpp::PhysicalSystem *aPhysys, const std::shared_ptr< dbpp::FiniteVolumeDiscretization > &aGlbdiscr, Sfx::Simulation *aSim) override final
Numerical.
Definition Testvs19_ProtoPhysicalAlgorithm.h:53
std::string getName() const noexcept
Getter.
Definition Testvs19_ProtoPhysicalAlgorithm.h:75
ProtoPhysicalAlgorithm(std::string aName, dbpp::FluxAlgorithm *aFluxAlgo)
Ctor from name and flux algorithm.
Definition Testvs19_ProtoPhysicalAlgorithm.h:44
dbpp::FluxAlgorithm * m_fluxAlgo
Definition Testvs19_ProtoPhysicalAlgorithm.h:78
std::string m_name
Definition Testvs19_ProtoPhysicalAlgorithm.h:77
global discretized domain is defined as a set of all nodes and all elements. PHYSICAL ENTITIES includ...
Definition dbpp_FiniteVolumeDiscretization.h:26
Abstract base class for numerical flux algorithm.
Definition dbpp_FluxAlgorithm.h:24
Physical system made of physical objects under study and described by the state variables....
Definition dbpp_PhysicalSystem.h:32
Definition Testvs19_BaseRhsPhysicsAlgorithm.cpp:19
Definition DamBreakProb.h:15