DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
Testvs19_ProtoAlgoPOM.h
Go to the documentation of this file.
1
2#pragma once
3
4// Stl include
5#include <vector>
6// SfxBase package include
7#include "include/Sfx_IPhysicalAlgorithm.h"
8// SweNumeric package includes
11
12namespace Sfx {class PhysicalSystem; }
13namespace Testvs19 { class RetRhsType; }
14
15namespace Testvs19
16{
17 // Actually, numerical integration of the ODE U_t=L(U).
18 // We use a Runge-Kutta solver family to solve this problem.
25 class EmcilAlgorithm : public Sfx::IPhysicalAlgorithm
26 {
27 public:
28 using scalarField = std::shared_ptr<Sfx::FieldLattice>;
29 public:
34 EmcilAlgorithm( std::string aName);
39 void calculate( Sfx::PhysicalSystem* aPhySys) override;
40
41 protected: // can be overwritten by subclass, don't see why?
48 void traitementTermeS( const Sfx::PhysicalSystem* aPsys, const Sfx::EMcNeilBndCnd& aBC, RetRhsType* aRetRHS);
55 void traitementTermeP( const Sfx::PhysicalSystem* aPsys, const Sfx::EMcNeilBndCnd& aBC, RetRhsType* aRetRHS);
62 void calculFF( const Sfx::PhysicalSystem* aPsys, const Sfx::EMcNeilBndCnd& aBC, RetRhsType* aRetRHS);
63
64 private:
65 std::string m_Name;
67 };
68} // End of namespace
Calculate the characteristic information to set boundary node values (A,Q,H)
Definition Sfx_ImposeBnd.h:22
std::string m_Name
Definition Testvs19_ProtoAlgoPOM.h:65
void calculate(Sfx::PhysicalSystem *aPhySys) override
IPhysicalAlgorithm interface.
Definition Testvs19_ProtoAlgoPOM.cpp:26
void calculFF(const Sfx::PhysicalSystem *aPsys, const Sfx::EMcNeilBndCnd &aBC, RetRhsType *aRetRHS)
convective flux numerical treatment
Definition Testvs19_ProtoAlgoPOM.cpp:293
Sfx::LDeltaOperator::SWE_RHS m_sweRhs
Definition Testvs19_ProtoAlgoPOM.h:66
void traitementTermeP(const Sfx::PhysicalSystem *aPsys, const Sfx::EMcNeilBndCnd &aBC, RetRhsType *aRetRHS)
bottom source numerical treatment
Definition Testvs19_ProtoAlgoPOM.cpp:241
void traitementTermeS(const Sfx::PhysicalSystem *aPsys, const Sfx::EMcNeilBndCnd &aBC, RetRhsType *aRetRHS)
bottom source numerical treatment
Definition Testvs19_ProtoAlgoPOM.cpp:150
std::shared_ptr< Sfx::FieldLattice > scalarField
Definition Testvs19_ProtoAlgoPOM.h:28
EmcilAlgorithm(std::string aName)
defailt ctor
Definition Testvs19_ProtoAlgoPOM.cpp:19
Wrapper data type used as RHS (right-hand-side) return structure.
Definition Testvs19_RetRhsType.h:14
Definition HydUtils.h:15
Definition Testvs19_BaseRhsPhysicsAlgorithm.cpp:19
Data structure RHS terms.
Definition Sfx_LDeltaOperator.h:55