Public Member Functions | |
InRegridder (String fname) throws IOException, NumberFormatException | |
Regridder | newRegridder (Grid p) |
Regridder | cloneRegridder () |
int | getInvFreqUnit () |
boolean | checkRegriddingIsDue (Grid g, int maxAllowedLevel, boolean onInitialHypersurface, int r, int ir, int errorCheckFreq, int regridFreq) |
boolean | isErrorEstimated () |
void | setLastRegridTime (int t) |
int | getLastRegridTime () |
boolean | hasUncoveredFlaggedPoint (Grid grid, Grid[] subGrids, int margin) |
Checks if there exists any flagged point which is not covered by a refined subgrid. | |
final IntervalList | getIntervalList (Grid grid, Grid[] newSubSubgrids, int minl, int maxl, int numvel, int margin, int bufzoneradius, int tsc) |
Generates a list of new subgrids from the flagged points. | |
void | beginTimeStep (Grid baseg) |
Called before each time step. | |
void | endTimeStep (double t) |
Called after each time step. | |
Protected Member Functions | |
InRegridder (DataInputStream in, int f) | |
InRegridder (InRegridder r) |
Must be used together with BData initial state!
boolean gridripper::amr1d::regridder::InRegridder::hasUncoveredFlaggedPoint | ( | Grid | grid, | |
Grid[] | subGrids, | |||
int | margin | |||
) | [inline, virtual] |
Checks if there exists any flagged point which is not covered by a refined subgrid.
Implements gridripper::amr1d::Regridder.
final IntervalList gridripper::amr1d::regridder::InRegridder::getIntervalList | ( | Grid | grid, | |
Grid[] | newSubSubgrids, | |||
int | minl, | |||
int | maxl, | |||
int | numvel, | |||
int | margin, | |||
int | bufzoneradius, | |||
int | tsc | |||
) | [inline, virtual] |
Generates a list of new subgrids from the flagged points.
grid | the grid | |
newSubSubgrids | (neglected) | |
minl | the minimum level to regrid, larger than or equal to zero and smaller than Integer.MAX_VALUE if the grids are regenerated, Integer.MAX_VALUE at the first generation (neglected) | |
maxl | the maximum allowed refinement level (neglected) | |
numvel | the error propagation velocity (neglected) | |
margin | margin for new grids (neglected) | |
bufzoneradius | size of the buffer zone (neglected) | |
tsc | time step count (neglected) |
Implements gridripper::amr1d::Regridder.