gridripper::amr1d::regridder::InRegridder Class Reference

Regridder that reads the interval lists from file. More...

Inheritance diagram for gridripper::amr1d::regridder::InRegridder:

gridripper::amr1d::Regridder

List of all members.

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)


Detailed Description

Regridder that reads the interval lists from file.

Must be used together with BData initial state!

Version:
0.4, 10/24/2006
Since:
0.3, 02/22/2005
Author:
Peter Csizmadia

Member Function Documentation

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.

Returns:
false

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.

Parameters:
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)
Returns:
the list of intervals to refine

Implements gridripper::amr1d::Regridder.


The documentation for this class was generated from the following file:

Generated on Wed Jun 17 18:47:28 2009 for GridRipper by  doxygen 1.5.6