Abstract class for creating ghost points. More...
#include <GhostPointGenerator.hpp>
Public Member Functions | |
virtual boost::container::flat_map< size_t, ComputationalCell > | operator() (const Tessellation &tess, const vector< ComputationalCell > &cells, double time, TracerStickerNames const &tracerstickernames) const =0 |
Calculates the ghost points. More... | |
virtual Slope | GetGhostGradient (const Tessellation &tess, const vector< ComputationalCell > &cells, const vector< Slope > &gradients, size_t ghost_index, double time, const Edge &edge, TracerStickerNames const &tracerstickernames) const =0 |
Calculates the gradients for the ghost cells. More... | |
virtual | ~GhostPointGenerator (void) |
Virtual destructor. | |
vector< std::pair< size_t, size_t > > | GetOuterEdgesIndeces (Tessellation const &tess) const |
Finds the indeces of the outer edges points. More... | |
Abstract class for creating ghost points.
Definition at line 16 of file GhostPointGenerator.hpp.
|
pure virtual |
Calculates the gradients for the ghost cells.
tess | The tessellation |
cells | The computational cells |
gradients | The gradients for the non-ghost cells |
ghost_index | The index of the ghost cell |
time | The time |
edge | The edge of the ghost cell |
tracerstickernames | The names of the tracers and stickers |
Implemented in SeveralGhostGenerators, ConstantPrimitiveGenerator, NoGhostGenerator, PeriodicGhostGenerator, FreeFlowGenerator, and RigidWallGenerator.
vector< std::pair< size_t, size_t > > GhostPointGenerator::GetOuterEdgesIndeces | ( | Tessellation const & | tess | ) | const |
Finds the indeces of the outer edges points.
tess | The tessellation |
Definition at line 18 of file GhostPointGenerator.cpp.
|
pure virtual |
Calculates the ghost points.
tess | The tessellation |
cells | The computational cells |
time | The time |
tracerstickernames | The names of the tracers and stickers |
Implemented in SeveralGhostGenerators, ConstantPrimitiveGenerator, FreeFlowGenerator, NoGhostGenerator, PeriodicGhostGenerator, and RigidWallGenerator.