aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid2/src/regrid.cc
Commit message (Collapse)AuthorAge
* CarpetRegrid2: Correct wording of error messageErik Schnetter2013-09-24
|
* Timers: Move all timer-related code into a new thorn TimersErik Schnetter2013-08-07
|
* CarpetRegrid2: Always set do_recompose when adaptive_refiment is trueErik Schnetter2013-08-06
| | | | Correct logic error that would override do_recompose by looking at movement thresholds.
* CarpetRegrid2: More verbose info output during regriddingErik Schnetter2012-11-25
|
* Carpet, CarpetRegrid2: When comparing refined regions treat non-existing ↵Erik Schnetter2012-10-24
| | | | levels as empty
* CarpetRegrid2: Perform domain decomposition only when a refinement level changesErik Schnetter2012-10-23
| | | | Compare new to old refined regions for each refinement level. Don't perform domain decomposition if a level didn't change. If no level changed, tell Carpet.
* CarpetRegrid2: Try harder to combine different refined regionsErik Schnetter2012-09-11
|
* CarpetRegrid2: Correct error messageErik Schnetter2012-09-11
|
* CarpetRegrid2: Add commentsErik Schnetter2012-09-11
|
* Remove all #warning statementsErik Schnetter2012-09-11
|
* CarpetRegrid2: Ensure that the refinement hierarchy is symmetry about the ↵Erik Schnetter2012-09-11
| | | | | | origin, if desired Introduce a new parameter that tests whether the refinement hierarchy is symmetric about the origin.
* Carpet: Make compile with CCTK_REAL=floatErik Schnetter2012-09-11
|
* CarpetRegrid2: Add periodic boundary conditionsErik Schnetter2012-09-11
| | | | | | Add new parameters symmetry_periodic_x, symmetry_periodic_y, and symmetry_periodic_z that ensure that the generated grid structure has the corresponding symmetry.
* Re-organise some refluxing internalsErik Schnetter2012-09-11
| | | | | | | | | | | Re-organise some of the internal details of refluxing. Refluxing requires restricting fluxes from fine to coarse grids. Previously, Carpet would internally store bounding boxes that were offset by 1/2 grid point, and adjust (correct) these boxes in various places in a rather ad-hoc manner. This is now cleaned up. Remove the (unused) "accumulate" operator, and the (unused) "accumulate" prolongation type.
* CarpetRegrid2: Always regrid if AMR is usedErik Schnetter2011-12-14
|
* CarpetRegrid2: Typo in commentErik Schnetter2011-12-14
|
* CarpetRegrid2: Activate AMRErik Schnetter2011-12-14
|
* CarpetRegrid2: Enforce certain grid hierarchy propertiesErik Schnetter2011-12-14
| | | | | | | | | | | | | | | | | | | | Enforce certain grid structure properites, and ensure that they hold after being enforced. This change may lead to Carpet using a (slightly) different grid structure than before. The differences are not "important"; what potentially changes is the order in which consistency conditions are applied. I expect that, in most cases, there will be no differences. The list of consistency conditions is: - ensure proper nesting (level must be larger than next finer level) - add buffer zones (only once, not really a consistency condition) - combine regions into a single box (if this is efficient) - apply rotating 90/180 symmetry (if requested) - clip at outer boundary (so that boxes that are too large or are outside are cut off) This change also reorganises the code in CarpetRegrid2.
* CarpetRegrid2: New debugging parameter add_levels_automaticallyErik Schnetter2011-12-14
|
* CarpetRegrid2: Provide more debug outputErik Schnetter2011-12-14
|
* Merged changesErik Schnetter2011-12-14
|\
| * * remove debug output from regrid.ccChristian D. Ott2011-12-14
| |
| * * change radius criterion for regridding to being a relative radius change ↵Christian D. Ott2011-12-14
| | | | | | | | criterion.
| * rename local variables to avoid compiler warnings: declaration of xxx ↵knarf2011-12-14
| | | | | | | | shadows a member of 'this'
| * * fix issue in regrid.cc that lead to NANs in old_radius_{x,y,z}Christian D. Ott2011-12-14
| |
* | CarpetRegrid2: Correct handling positions of refined regionsErik Schnetter2011-12-14
|/ | | | Correct indexing error.
* CarpetRegrid2: Correct check whether to regridErik Schnetter2011-12-14
|
* CarpetRegrid2: Rename type ibboxset to ibbsetErik Schnetter2011-12-14
|
* CarpetRegrid2: Use CarpetLib's new nan handling mechanismErik Schnetter2011-12-14
|
* CarpetRegrid2: Correct regridding for cell centeringErik Schnetter2011-12-14
| | | | | | Correct errors for cell centered grids Correct snap_to_coarse Introduce veryverbose parameter
* CarpetRegrid2: Support symmetries for cell centred gridsErik Schnetter2011-12-14
|
* CarpetRegrid2: Make output consistentErik Schnetter2011-12-14
| | | | Always number refined regions starting from 1.
* CarpetRegrid2: Check for nans in the region locations and sizesErik Schnetter2011-12-14
|
* Re-organise time level handlingErik Schnetter2011-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store the current Cactus time (and not a fake Carpet time) in the th "time hiearchy". This removes the now redundant "leveltimes" data structure in Carpet. Add past time levels to th, so that it can store the time for past time levels instead of assuming the time step size is constant. This allows changing the time step size during evolution. Share the time hierarchy between all maps, instead of having one time hierarchy per map. Simplify the time level cycling and time stepping code used during evolution. Improve structure of the code that loops over time levels for certain schedule bins. Introduce a new Carpet variable "timelevel", similar to "reflevel". This also makes it possible to avoid time interpolation for the past time levels during regridding. The past time levels of the fine grid then remain aligned (in time) with the past time levels of the coarse grid. This is controlled by a new parameter "time_interpolation_during_regridding", which defaults to "yes" for backwards compatibility. Simplify the three time level initialisation. Instead of initialising all three time levels by taking altogether three time steps (forwards and backwards), initialise only one past time level by taking one time step backwards. The remaining time level is initialised during the first time step of the evolution, which begins by cycling time levels, which drops the non-initialised last time level anyway. Update Carpet and the mode handling correspondingly. Update the CarpetIOHDF5 checkpoint format correspondingly. Update CarpetInterp, CarpetReduce, and CarpetRegrid2 correspondingly. Update CarpetJacobi and CarpetMG correspondingly.
* CarpetRegrid2: Do not abort for the default refinement region radius valuesErik Schnetter2011-12-14
| | | | Do not abort when the refinement region radius has its default value -1.
* CarpetRegrid2: Use illegal default value for refinement region radiiErik Schnetter2011-12-14
| | | | | Use an illegal default value for the refinement region radii. This catches parameter file errors where the radii are not set.
* CarpetRegrid2: Allow different numbers of ghost zones on different levelsErik Schnetter2011-12-14
| | | | | Allow different numbers of ghost zones and different spatial prolongation orders on different refinement levels.
* CarpetRegrid2: Support cell centringErik Schnetter2011-12-14
|
* CarpetRegrid2: Support 90 degree rotating symmetriesErik Schnetter2011-12-14
|
* CarpetRegrid2: Allow rectangular (cuboid, non-cubic) refined regionsErik Schnetter2011-12-14
|
* CarpetRegrid2: Rely on CoordBase for boundary and domain size informationErik Schnetter2011-12-14
|
* CarpetRegrid2: Correct error messageErik Schnetter2011-12-14
|
* Import CarpetErik Schnetter2011-12-14
| | | | Ignore-this: 309b4dd613f4af2b84aa5d6743fdb6b3
* CarpetRegrid2: Correct check for non-proper nestingErik Schnetter2008-09-19
| | | | | Take the boundaries correctly into account when checking for proper nesting.
* CarpetRegrid2: Correct errors in handling of freeze_unaligned_levelsErik Schnetter2008-09-10
|
* CarpetRegrid2: Output correct centre number in info messageErik Schnetter2008-09-05
|
* CarpetRegrid2: Add parameters to regrid only aligned refinement levelsErik Schnetter2008-08-28
| | | | | | | Add parameters to regrid only those refinement levels that exist at a particular time, and leave all coarser refinement levels unchanged. At the moment, this may lead to improperly nested grids if grids move too far.
* CarpetRegrid2: White space changeErik Schnetter2008-08-03
|
* Introduce a tree data structure to speed up domain decompositionErik Schnetter2008-06-20
| | | | | | | | | Introduce a tree data structure "fulltree", which decomposes a single, rectangular region into a tree of non-overlapping, rectangular sub-regions. Move the processor decomposition from the regridding thorns into Carpet. Create such trees during processor decomposition. Store these trees with the grid hierarchy.
* Enhance support for multi-patch simulationsErik Schnetter2008-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | Carpet: Ensure that at most one of GetDomainSpecificatio or MultiPatch_GetDomainSpecification is defined. Allow the boundary case of having zero regions on a refinement level. CarpetLib: Allow the boundary case of having zero components on a patch, if there are still more than zero components overall. CarpetIOASCII: Loop over the components using explicit light-weight for loops instead of Carpet's looping macros. This is faster, since less state information needs to be updated. Correct an inconsistency in converting between integer indices and coordinates in multi-patch simulations. CarpetRegrid2: Take multi-patch systems into account.