DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
Testvs19::EMcNeilAlgorithm Class Reference

Concept of physical algoritm using components (set numerical method). This allow to program complex algorithms quickly by components. In project require to prototype according to physics assumptions. Each of these components are programmed or support a wide (large) implementation of discretization. For example, Nujic 1995 propose to use ENO techniques to compute flux and some source special treatment to take account ... Model of an explicit conservative scheme with source terms (energy and bed slope). Switch components to re-configure the algorithm (Nujic flux) but E. McNeil use HLL. This kind of flexibility must be supported particularly in industrial projects since ... to be completed. More...

#include <Testvs19_EMcNeilAlgorithm.h>

Inheritance diagram for Testvs19::EMcNeilAlgorithm:
Sfx::PhysicalAlgorithm

Public Member Functions

 EMcNeilAlgorithm (std::string aName)
 ctor
void calculate (dbpp::PhysicalSystem *aPhysys, const std::shared_ptr< dbpp::FiniteVolumeDiscretization > &aGlbdiscr, Sfx::Simulation *aSim) override
 main algorithm
bool isGodunovType () const noexcept
 type of physical algorithm
bool useFriction () const noexcept
 take into account the friction coefficient
std::string name () const noexcept
 Getter.
bool isTimeDependent () const noexcept
 is time dependent algorithm
Public Member Functions inherited from Sfx::PhysicalAlgorithm
virtual ~PhysicalAlgorithm ()=default
 dtor

Private Attributes

std::string m_name

Detailed Description

Concept of physical algoritm using components (set numerical method). This allow to program complex algorithms quickly by components. In project require to prototype according to physics assumptions. Each of these components are programmed or support a wide (large) implementation of discretization. For example, Nujic 1995 propose to use ENO techniques to compute flux and some source special treatment to take account ... Model of an explicit conservative scheme with source terms (energy and bed slope). Switch components to re-configure the algorithm (Nujic flux) but E. McNeil use HLL. This kind of flexibility must be supported particularly in industrial projects since ... to be completed.

Constructor & Destructor Documentation

◆ EMcNeilAlgorithm()

Testvs19::EMcNeilAlgorithm::EMcNeilAlgorithm ( std::string aName)
inline

ctor

Parameters
aNamealgorithm name

Member Function Documentation

◆ calculate()

void Testvs19::EMcNeilAlgorithm::calculate ( dbpp::PhysicalSystem * aPhysys,
const std::shared_ptr< dbpp::FiniteVolumeDiscretization > & aGlbdiscr,
Sfx::Simulation * aSim )
overridevirtual

main algorithm

Parameters
aPhysysphysical system
aGlbdiscrglobal dicretization
aSimsimulatioon bean

Implements Sfx::PhysicalAlgorithm.

◆ isGodunovType()

bool Testvs19::EMcNeilAlgorithm::isGodunovType ( ) const
inlinenoexcept

type of physical algorithm

Returns
true/false

◆ isTimeDependent()

bool Testvs19::EMcNeilAlgorithm::isTimeDependent ( ) const
inlinevirtualnoexcept

is time dependent algorithm

Returns
true/false

Reimplemented from Sfx::PhysicalAlgorithm.

◆ name()

std::string Testvs19::EMcNeilAlgorithm::name ( ) const
inlinenoexcept

Getter.

Returns
algorithm name

◆ useFriction()

bool Testvs19::EMcNeilAlgorithm::useFriction ( ) const
inlinenoexcept

take into account the friction coefficient

Returns
true/false

Member Data Documentation

◆ m_name

std::string Testvs19::EMcNeilAlgorithm::m_name
private

algorithm name


The documentation for this class was generated from the following files: