Class for creating computationalcells of ghost points from several different methods. More...
#include <SeveralGhostGenerators.hpp>
Public Member Functions | |
SeveralGhostGenerators (vector< GhostPointGenerator *> ghosts, GhostCriteria const &ghostchooser) | |
Class constructor. More... | |
boost::container::flat_map< size_t, ComputationalCell > | operator() (const Tessellation &tess, const vector< ComputationalCell > &cells, double time, TracerStickerNames const &tracerstickernames) const |
Calculates the ghost points. More... | |
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 |
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... | |
Class for creating computationalcells of ghost points from several different methods.
Definition at line 31 of file SeveralGhostGenerators.hpp.
SeveralGhostGenerators::SeveralGhostGenerators | ( | vector< GhostPointGenerator *> | ghosts, |
GhostCriteria const & | ghostchooser | ||
) |
Class constructor.
ghosts | List of ghost generators |
ghostchooser | Criteria for when to use each ghost generator |
Definition at line 7 of file SeveralGhostGenerators.cpp.
|
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 |
Implements GhostPointGenerator.
Definition at line 28 of file SeveralGhostGenerators.cpp.
|
virtual |
Calculates the ghost points.
tess | The tessellation |
cells | The computational cells |
time | The time |
tracerstickernames | The names of the tracers and stickers |
Implements GhostPointGenerator.
Definition at line 11 of file SeveralGhostGenerators.cpp.