![]() |
DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
|
Base class ODE Solver (under construction). More...
#include <dbpp_ODESolver1D.h>
Public Member Functions | |
| ODESolver1D () | |
| default ctor | |
| ODESolver1D (DamBreakProblem aDbProb) | |
| Dam Break type (to solve) | |
| ODESolver1D (Sfx::LDeltaOperator *aLdeltaOp) | |
| Solve Dam Break problem. | |
| void | solve (const std::shared_ptr< dbpp::FiniteVolumeDiscretization > &aFVdiscr, float64 aTime) |
| solve ODE (Ordinary Differential Equation) | |
| void | solve (const Sfx::StateVectorField &aUfield, float64 aTime) |
| Solve ODE system. | |
| pairvarray | getSolution () const |
| Solution vector. | |
| void | registerPhysicalSystem (PhysicalSystem *aPhysys) noexcept |
| Set reference to physical system. | |
| PhysicalSystem * | getPhysicalSystem () const noexcept |
| Getter. | |
Private Types | |
| using | pairvarray = std::pair<std::valarray<float64>, std::valarray<float64>> |
| Alias pair of numerical array. | |
Private Attributes | |
| DamBreakProblem | m_dbProb |
| NujicIntegrator | m_integrator |
| PhysicalSystem * | m_physSys |
| Sfx::LDeltaOperator * | m_LdeltaOp |
Base class ODE Solver (under construction).
ODE solved in this simulation U_t = L_delta(U) (1) where L_delta is the spatial discretization operator. Semi-discrete equation (Method of Line MOL). Spatial and time discretization are done separately.
Time-Stepping is a two-steps integrator that belongs to Runge-Kutta family.
|
private |
Alias pair of numerical array.
|
inline |
default ctor
|
inline |
Dam Break type (to solve)
| aDbProb | Dam Break problem |
|
inline |
Solve Dam Break problem.
| aLdeltaOp | RHS discretization operator |
|
inlinenoexcept |
Getter.
|
inline |
Solution vector.
|
inlinenoexcept |
Set reference to physical system.
| aPhysys | Physical systemm to attach |
| void dbpp::ODESolver1D::solve | ( | const Sfx::StateVectorField & | aUfield, |
| float64 | aTime ) |
Solve ODE system.
| aUfield | state variables field vector |
| aTime | simulation time |
| void dbpp::ODESolver1D::solve | ( | const std::shared_ptr< dbpp::FiniteVolumeDiscretization > & | aFVdiscr, |
| float64 | aTime ) |
solve ODE (Ordinary Differential Equation)
| aFVdiscr | finite volume discretization |
| aTime | simulation time |
|
private |
|
private |
numerical integrator
|
private |
Rhs discr operator
|
private |
physical system