6 #ifndef REMOVALSTRATEGY_HPP 7 #define REMOVALSTRATEGY_HPP 1 9 #include "../../tessellation/tessellation.hpp" 10 #include "../two_dimensional/computational_cell_2d.hpp" 12 #include "../../misc/universal_error.hpp" 29 vector<ComputationalCell>
const& cells,
45 vector<int>
RemoveNeighbors(vector<double>
const& merits,vector<int>
const&
59 #endif //REMOVALSTRATEGY_HPP Abstract class for tessellation.
vector< int > RemoveNearBoundary(vector< int > const &ToRemove, Tessellation const &tess) const
Removed from the list cells near periodic boundaries.
void CheckOutput(Tessellation const &tess, vector< int > &ToRemove) const
Checks if the removed list is good, throws an error if not.
Abstract class for derefinment strategies.
virtual vector< int > CellsToRemove(Tessellation const &tess, vector< ComputationalCell > const &cells, double time) const =0
Removal abstract class. Can't remove neighboring cells or cells near peiodic boundary. Use CheckOutput to check correctness.
virtual ~RemovalStrategy(void)
Virtual destructor.
vector< int > RemoveNeighbors(vector< double > const &merits, vector< int > const &candidates, Tessellation const &tess) const
Removes neighboring points and cells near the boundary which are not rigid walls. ...