Public Member Functions | List of all members
SpatialReconstruction1D Class Referenceabstract

Base class for spatial reconstruction. More...

#include <spatial_reconstruction1d.hpp>

Inheritance diagram for SpatialReconstruction1D:
Inheritance graph
[legend]

Public Member Functions

virtual Primitive operator() (vector< double > const &vp, vector< Primitive > const &hv, double interface_speed, size_t i, int dir, double dt) const =0
 Returns the hydrodynamic state on the left or the right side of the interface position (=vertexes). More...
 

Detailed Description

Base class for spatial reconstruction.

Definition at line 15 of file spatial_reconstruction1d.hpp.

Member Function Documentation

◆ operator()()

virtual Primitive SpatialReconstruction1D::operator() ( vector< double > const &  vp,
vector< Primitive > const &  hv,
double  interface_speed,
size_t  i,
int  dir,
double  dt 
) const
pure virtual

Returns the hydrodynamic state on the left or the right side of the interface position (=vertexes).

Parameters
vpPointer to vertex positions
hvPointer to hydrodynamic variables
iVertex index
interface_speedSpeed of the interface between cells
dirDirection (0 for left of the boundary, 1 for right ofthe boundary) *** ( positive direction is from the left to the right).
dtTime step
Returns
Hydrodynamic variables on the left or right side of the interface

Implemented in interpolations1d::EOSConsistent, PLM1D, ArepoInterp, and PCM1D.


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