1 #include "HalfPeriodicEdgeMotion.hpp" 3 HalfPeriodicEdgeVelocities::HalfPeriodicEdgeVelocities(
void) {}
6 const vector<Vector2D>& point_velocities)
const 9 vector<Vector2D> res(edge_list.size());
10 for (
size_t i = 0; i < res.size(); ++i)
12 const Edge& edge = edge_list.at(i);
Abstract class for tessellation.
virtual int GetOriginalIndex(int point) const
Returns the original index of the duplicated point.
Interface between two cells.
virtual Vector2D GetMeshPoint(int index) const =0
Returns Position of mesh generating point.
virtual const vector< Edge > & getAllEdges(void) const =0
Returns reference to the list of all edges.
std::pair< int, int > neighbors
Neighboring cells.
Vector3D calc_centroid(const Face &face)
Calculates the centroid of aa face.
virtual Vector2D CalcFaceVelocity(Vector2D wl, Vector2D wr, Vector2D rL, Vector2D rR, Vector2D f) const =0
Calculates the velocity of a single edge.
vector< Vector2D > operator()(const Tessellation &tess, const vector< Vector2D > &point_velocities) const
Calculates the velocity of the edges.