DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
Testvs19_EMcNeilAlgorithm.h
Go to the documentation of this file.
1#pragma once
2
3// App include
5
6// forward declarations
7namespace dbpp {
8 class PhysicalSystem;
10
11namespace Sfx {
12 class Simulation;}
13
14namespace Testvs19
15{
30 {
31 public:
36 EMcNeilAlgorithm(std::string aName) : m_name{std::move(aName)} {}
37 //EMcNeilAlgorithm(FluxAlgorithm*, SrcNumericalTreatment*, PressureTermsDiscr*);
38 // EMcNeilAlgorithm(SweRhsAlgorithm*)
39
46 void calculate(dbpp::PhysicalSystem* aPhysys,
47 const std::shared_ptr<dbpp::FiniteVolumeDiscretization>& aGlbdiscr,
48 Sfx::Simulation* aSim) override;
53 bool isGodunovType() const noexcept { return true; }
58 bool useFriction() const noexcept { return false; }
63 std::string name() const noexcept { return m_name; }
68 bool isTimeDependent() const noexcept { return true; }
69 private:
70 std::string m_name;
71 // FluxAlgorithm* m_fluxCom;
72 // PressureDiscr* m_presurCom;
73 // SrcNumericalTreatment* m_srcCom;
74 // SweRhsAlgorithm* m_rhCom;
75 };
76}// End of namespace
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
main algorithm
Definition Testvs19_EMcNeilAlgorithm.cpp:30
bool useFriction() const noexcept
take into account the friction coefficient
Definition Testvs19_EMcNeilAlgorithm.h:58
bool isTimeDependent() const noexcept
is time dependent algorithm
Definition Testvs19_EMcNeilAlgorithm.h:68
bool isGodunovType() const noexcept
type of physical algorithm
Definition Testvs19_EMcNeilAlgorithm.h:53
std::string name() const noexcept
Getter.
Definition Testvs19_EMcNeilAlgorithm.h:63
EMcNeilAlgorithm(std::string aName)
ctor
Definition Testvs19_EMcNeilAlgorithm.h:36
std::string m_name
Definition Testvs19_EMcNeilAlgorithm.h:70
global discretized domain is defined as a set of all nodes and all elements. PHYSICAL ENTITIES includ...
Definition dbpp_FiniteVolumeDiscretization.h:26
Physical system made of physical objects under study and described by the state variables....
Definition dbpp_PhysicalSystem.h:32
Definition HydUtils.h:15
Definition Testvs19_BaseRhsPhysicsAlgorithm.cpp:19
Definition DamBreakProb.h:15