Alsvinn  0.5.3
The fast FVM simulator with UQ support
Public Member Functions | List of all members
alsfvm::simulator::ConservedSystem Class Reference

#include <alsfvm/simulator/ConservedSystem.hpp>

Inheritance diagram for alsfvm::simulator::ConservedSystem:
alsfvm::integrator::System

Public Member Functions

 ConservedSystem (alsfvm::shared_ptr< numflux::NumericalFlux > numericalFlux, alsfvm::shared_ptr< diffusion::DiffusionOperator > diffusionOperator)
 
virtual void operator() (volume::Volume &conservedVariables, rvec3 &waveSpeed, bool computeWaveSpeed, volume::Volume &output)
 operator () computes the right hand side of the ODE. (see class definition) More...
 
virtual size_t getNumberOfGhostCells () const
 
void setCellExchanger (mpi::CellExchangerPtr cellExchanger)
 
- Public Member Functions inherited from alsfvm::integrator::System
virtual ~System ()
 

Constructor & Destructor Documentation

◆ ConservedSystem()

alsfvm::simulator::ConservedSystem::ConservedSystem ( alsfvm::shared_ptr< numflux::NumericalFlux numericalFlux,
alsfvm::shared_ptr< diffusion::DiffusionOperator diffusionOperator 
)

Member Function Documentation

◆ getNumberOfGhostCells()

size_t alsfvm::simulator::ConservedSystem::getNumberOfGhostCells ( ) const
virtual

Returns the number of ghost cells needed. This will take the maximum between the number of ghost cells the numerical flux needs, and the number of ghost cells the diffusion operator needs

Reimplemented from alsfvm::integrator::System.

◆ operator()()

void alsfvm::simulator::ConservedSystem::operator() ( volume::Volume conservedVariables,
rvec3 waveSpeed,
bool  computeWaveSpeed,
volume::Volume output 
)
virtual

operator () computes the right hand side of the ODE. (see class definition)

Parameters
[in]conservedVariablesthe current state of the conserved variables corresponds to $\vec{u}$.
[out]waveSpeedat end of invocation, the maximum wavespeed
[in]computeWaveSpeed
[out]outputwill at end of invocation contain the values of $F(\vec{u})$

Implements alsfvm::integrator::System.

◆ setCellExchanger()

void alsfvm::simulator::ConservedSystem::setCellExchanger ( mpi::CellExchangerPtr  cellExchanger)
virtual

Reimplemented from alsfvm::integrator::System.


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