Interpolation based on Arepo's method. More...
#include <arepo_interp.hpp>
Public Member Functions | |
ArepoInterp (IdealGas const &eos) | |
Class constructor. More... | |
Primitive | operator() (vector< double > const &vp, vector< Primitive > const &hv, double interface_speed, size_t i, int dir, double dt) const |
Returns the hydrodynamic state on the left or the right side of the interface position (=vertexes). More... | |
Interpolation based on Arepo's method.
Definition at line 13 of file arepo_interp.hpp.
|
explicit |
Class constructor.
eos | Equation of state |
Definition at line 7 of file arepo_interp.cpp.
|
virtual |
Returns the hydrodynamic state on the left or the right side of the interface position (=vertexes).
vp | Pointer to vertex positions |
hv | Pointer to hydrodynamic variables |
i | Vertex index |
interface_speed | Speed of the interface between cells |
dir | Direction (0 for left of the boundary, 1 for right ofthe boundary) *** ( positive direction is from the left to the right). |
dt | Time step |
Implements SpatialReconstruction1D.
Definition at line 72 of file arepo_interp.cpp.