spatial_reconstruction.cpp
2 
4 {
5  return 0.5*(edge.vertices.first+edge.vertices.second);
6 }
7 
8 SpatialReconstruction::~SpatialReconstruction(void) {}
Interface between two cells.
Definition: Edge.hpp:13
std::pair< Vector2D, Vector2D > vertices
Points at the ends of the edge.
Definition: Edge.hpp:18
Abstract class for interpolation of the hydrodynamic variables.
2D Mathematical vector
Definition: geometry.hpp:15
Vector2D CalcCentroid(Edge const &edge)
Calculates the central point of the edge.