DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
dbpp::FiniteVolumeDiscretization Class Reference

global discretized domain is defined as a set of all nodes and all elements. PHYSICAL ENTITIES include nodes and elements Node <-— Cell; i.e., element depends on node Omega = { all Node, all Cell }; global discretized domain is defined as a set of all nodes and all elements. More...

#include <dbpp_FiniteVolumeDiscretization.h>

Public Member Functions

 FiniteVolumeDiscretization (std::shared_ptr< NumericalMethod > &aMethod)
 ctor from a numericla method
void init ()
 Initialize discretization.
const std::list< cellFace > & globalFaces () const
 global cell face
std::list< cellFace > & globalFaces ()
 global cell face
Omega Omega_e () const
Gammagamma () const
 boundary condition (numeric)
Uh U_h () const
UhU_h ()
 global nodal values
void setUh (const Uh::vec_nval &aVecValues)
 global nodal values
const std::shared_ptr< dbpp::NumericalMethod > & method () const
 numerical method in use
void update ()
void adjustValues ()
 'update' equivalent of the last version
void addTimes (const std::list< Times > &aListOfTimes)

Private Types

using Times = float64

Private Attributes

std::shared_ptr< dbpp::NumericalMethodm_method
Uh m_Uh
Omega m_omega
std::list< cellFacem_listGblFaces
std::list< Timesm_listTimes

Detailed Description

global discretized domain is defined as a set of all nodes and all elements. PHYSICAL ENTITIES include nodes and elements Node <-— Cell; i.e., element depends on node Omega = { all Node, all Cell }; global discretized domain is defined as a set of all nodes and all elements.

Member Typedef Documentation

◆ Times

Constructor & Destructor Documentation

◆ FiniteVolumeDiscretization()

dbpp::FiniteVolumeDiscretization::FiniteVolumeDiscretization ( std::shared_ptr< NumericalMethod > & aMethod)

ctor from a numericla method

Parameters
aMethodnumerical method

Member Function Documentation

◆ addTimes()

void dbpp::FiniteVolumeDiscretization::addTimes ( const std::list< Times > & aListOfTimes)
inline

◆ adjustValues()

void dbpp::FiniteVolumeDiscretization::adjustValues ( )

'update' equivalent of the last version

◆ gamma()

Gamma & dbpp::FiniteVolumeDiscretization::gamma ( ) const

boundary condition (numeric)

Returns
b.c.

◆ globalFaces() [1/2]

std::list< cellFace > & dbpp::FiniteVolumeDiscretization::globalFaces ( )
inline

global cell face

Returns
list of cell faces

◆ globalFaces() [2/2]

const std::list< cellFace > & dbpp::FiniteVolumeDiscretization::globalFaces ( ) const
inline

global cell face

Returns
list of cell faces

◆ init()

void dbpp::FiniteVolumeDiscretization::init ( )
inline

Initialize discretization.

◆ method()

const std::shared_ptr< dbpp::NumericalMethod > & dbpp::FiniteVolumeDiscretization::method ( ) const
inline

numerical method in use

Returns
numerical method

◆ Omega_e()

Omega dbpp::FiniteVolumeDiscretization::Omega_e ( ) const
inline
Returns

◆ setUh()

void dbpp::FiniteVolumeDiscretization::setUh ( const Uh::vec_nval & aVecValues)

global nodal values

Parameters
aVecValuesvetor of nodal values

◆ U_h() [1/2]

Uh & dbpp::FiniteVolumeDiscretization::U_h ( )
inline

global nodal values

Returns
nodal values

◆ U_h() [2/2]

Uh dbpp::FiniteVolumeDiscretization::U_h ( ) const
inline

◆ update()

void dbpp::FiniteVolumeDiscretization::update ( )

Member Data Documentation

◆ m_listGblFaces

std::list<cellFace> dbpp::FiniteVolumeDiscretization::m_listGblFaces
private

global faces

◆ m_listTimes

std::list<Times> dbpp::FiniteVolumeDiscretization::m_listTimes
private

times ...

◆ m_method

std::shared_ptr<dbpp::NumericalMethod> dbpp::FiniteVolumeDiscretization::m_method
private

◆ m_omega

Omega dbpp::FiniteVolumeDiscretization::m_omega
private

domain element

◆ m_Uh

Uh dbpp::FiniteVolumeDiscretization::m_Uh
private

nodal variables


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