Noh problem Refinement strategy class. More...
#include <noh_amr.hpp>
Public Member Functions | |
NohRefine (double Vmax) | |
Class constructor. More... | |
~NohRefine () | |
Class destructor. | |
vector< int > | CellsToRefine (Tessellation const &tess, vector< ComputationalCell > const &cells, double time, vector< Vector2D > &directions, vector< int > const &Removed) |
Calculates the cells to be refined. More... | |
![]() | |
RefineStrategy (void) | |
Class constructor. | |
vector< int > | RemoveDuplicatedLately (vector< int > const &ToRefine, int Npoints, vector< Vector2D > &directions, vector< int > const &Removed, Tessellation const &tess) |
Removes cells that were splitted in the last time step. More... | |
vector< int > | RemoveNearBoundary (vector< int > const &ToRefine, vector< Vector2D > &directions, Tessellation const &tess) |
Removed from the list cells near periodic boundaries. More... | |
virtual | ~RefineStrategy (void) |
Virtual destructor. | |
Additional Inherited Members | |
![]() | |
vector< int > | refined_old |
The cells that were refined in the previous time step. | |
Noh problem Refinement strategy class.
Definition at line 12 of file noh_amr.hpp.
|
explicit |
Class constructor.
Vmax | The volume above to refine the cell |
Definition at line 3 of file noh_amr.cpp.
|
virtual |
Calculates the cells to be refined.
tess | The tessellation |
cells | The primitive cells |
time | The simulation time |
directions | The directions to move the splitted points, can be given empty |
Removed | A list of the cells that were removed in the last cell removal |
Implements RefineStrategy.
Definition at line 10 of file noh_amr.cpp.