aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid2/src
Commit message (Collapse)AuthorAge
* Import CarpetErik Schnetter2011-12-14
| | | | Ignore-this: 309b4dd613f4af2b84aa5d6743fdb6b3
* CarpetRegrid2: Initialise radii for all possible levelsErik Schnetter2008-09-26
| | | | | Initialise the radii for all possible refinement levels, not just for all currently active refinement levels.
* 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.
* CarpetRegrid2: Adapt to API change in Carpet::MakeMultigridBoxesErik Schnetter2008-02-20
| | | | darcs-hash:20080220003313-dae7b-53fa05791c266e11a3e543c72b107c763e019f3d.gz
* CarpetRegrid2: Add new parameter "boundary_shiftout"Erik Schnetter2008-01-28
| | | | | | | | | Add a new parameter "boundary_shiftout" which determines the number of grid points added to the refinement boundary radius. This allows refined regions which are larger or smaller than the radius by a certain number of points. darcs-hash:20080128041105-dae7b-77e435f5b46d6136b5eafff86796f97b46accc99.gz
* CarpetRegrid2: Correct error in grid structure setupErik Schnetter2007-09-29
| | | | | | Change a reference to a copy since the original variable was modified. darcs-hash:20070929121817-dae7b-8a2cf07549636dab459de2dff77c76c454956800.gz
* CarpetRegrid2: Enforce regridding when the number of levels has changedErik Schnetter2007-09-27
| | | | | | | | | When using the movement_threshold parameters to regrid less often, still regrid when the number of levels has changed, or when a region has become active or inactive, or when the radius has changed significantly. darcs-hash:20070927164001-dae7b-d70720cb48753f0554f2301c4da2407d52ccb2f4.gz
* CarpetRegrid2: Correct logic error in ensuring proper nestingErik Schnetter2007-09-18
| | | | | | | Correct logic error when ensuring proper nesting. Check for proper nesting after ensuring it. darcs-hash:20070918112539-dae7b-7161de9f758e0d81279994ece9bc476fc29d641c.gz
* CarpetRegrid2: Add new parameter "active"Erik Schnetter2007-08-21
| | | | | | | | Add new parameters and grid scalars "active" for refined regions, which specify whether a region is active. This allows switching refined regions on and off, e.g. when a common horizon is found. darcs-hash:20070821191037-dae7b-8f5c0ec10326b5eb876fa8ccb7e3147b6fa2ff2f.gz
* CarpetRegrid2: More output when parameter verbose is setErik Schnetter2007-05-27
| | | | | | Output the location of the centres of the refined regions when they change. darcs-hash:20070527191139-dae7b-16394354ba0ffc6bb9414666546eaa23529db092.gz
* CarpetRegrid2: Ensure and test proper nestingErik Schnetter2007-04-25
| | | | | | | | | | Introduce a parameter ensure_proper_nesting, which automatically enlarges the levels of the grid hierarchy to ensure proper nesting. (It does not enlarge the coarsest level.) If this parameter is not set, proper nesting is still tested, and a warning is emitted if it is violated. darcs-hash:20070425002649-dae7b-7431881af786bbae5048c5329807e90a4f7b2e29.gz
* CarpetRegrid2: Avoid accessing non-existing level informationErik Schnetter2007-04-24
| | | | | | | Store information about the coarse grid in the vector regions as well, although this is not used for regridding later. darcs-hash:20070424223735-dae7b-5bb3bdd52d5ec0b912658a020de973f679f595ac.gz
* CarpetRegrid2: Do not enlarge grids if they are not properly nestedErik Schnetter2007-04-24
| | | | | | | Do not enlarge grids if they are not properly nested. Abort with an error instead. darcs-hash:20070424163656-dae7b-b7c135dcc329df4fd634205491adcdfcb1ce8d49.gz
* CarpetRegrid2:Erik Schnetter2007-04-19
| | | | | | | | | | | | Update to recent changes. Add buffer zones outside of the specified regions. This uses inner buffer zones internally, but makes them appear as comfortable as outer buffer zones to the user. Keep grid structure setup algorithm consistent. darcs-hash:20070419022326-dae7b-32ea6df84c5027b7afb1f88b3e41d46d89ce844b.gz
* CarpetRegrid2: Initialise all centresErik Schnetter2007-04-19
| | | | darcs-hash:20070419022230-dae7b-725bd3374af16808fde7cc006afbeca41bcabd2c.gz
* CarpetRegrid2: Regrid only if the tracked objects have moved sufficientlyErik Schnetter2007-03-17
| | | | | | Implement this also when for regridding in level mode. darcs-hash:20070317161135-dae7b-12db8cca8c7beb2550609c58c32232cf29918f5d.gz
* CarpetRegrid2: Regrid only if the tracked objects have moved sufficientlyErik Schnetter2007-03-11
| | | | | | | Regrid only if the tracked objects have moved a certain minimum distance. darcs-hash:20070311204027-dae7b-7c39e3c51d6b617188b477aed73facd5fe7e6fe8.gz
* CarpetRegrid2: Allow up to 10 refined regionsErik Schnetter2007-03-11
| | | | darcs-hash:20070311184448-dae7b-67389684b8c83c29f7984b52d006d82741c385bd.gz
* CarpetRegrid2: Add commentErik Schnetter2007-02-04
| | | | darcs-hash:20070204212401-dae7b-5f017dc3583b65287cf4d4cfce6b7e9588f85a56.gz
* CarpetRegrid2: Correct checkpointing error. Implement cell centering.Erik Schnetter2007-01-12
| | | | | | | | | | | | | | | Correct error with checkpointing and recovery. Store the last regridding iteration in grid variables, so that it is conserved during checkpointing and recovery. Implement cell centered refinement. Introduce a new parameter "snap_to_coarse" that makes the fine grid always cover complete coarse grid cells. Add a parameter "min_fraction" which specifies when to combine several small grids to form a single, larger, combined grid. darcs-hash:20070112233156-dae7b-3f32c9558e29f25f9bc1ba533985a4392877feab.gz
* CarpetRegrid2: Adapt to region_t changesErik Schnetter2007-01-12
| | | | darcs-hash:20070112233049-dae7b-e2f4a2190ccb021ce4887e623d7a4c8c623f256e.gz
* CarpetRegrid2: Correctly keep track of last regridding time across restartsErik Schnetter2006-12-05
| | | | | | | Store the time of the last regridding in grid variables, so that this is correctly remembered across restarts. darcs-hash:20061205180821-dae7b-1beb4b54928c06f0eb6af3871532c2e29006ca1d.gz
* CarpetRegrid2: Change code style slightlyErik Schnetter2006-12-05
| | | | | | Use #include <> instead of #include "" for Cactus header files. darcs-hash:20061205175748-dae7b-dee74aea85f9a8b83ac343b988e58dc97b3a7135.gz
* CarpetRegrid2: Combine all components into a single one if that is efficientErik Schnetter2006-12-05
| | | | | | | | | | | Introduce a parameter "min_fraction" that defines, indirectly, how many additional refined grid points can be introduced if that leads to a simpler structure. If using a single refined region instead of several ones would not introduce too many unnecessarily refined grid points, then do so. darcs-hash:20061205175426-dae7b-18d2467cf123b734aaef19eb2f5f9c4994480b99.gz
* CarpetRegrid2: Keep sufficient separation between level boundariesErik Schnetter2006-10-13
| | | | | | | | Take ghost zones, inner and outer buffer zones, and the prolongation stencil size into account when calculating the necessary minimum distance between refinement level boundaries. darcs-hash:20061013211100-dae7b-367cc0eee54c5434ce8ddeb175d6ae03380fd6ac.gz
* CarpetRegrid2: Call regrid function in singlemape modeErik Schnetter2006-10-13
| | | | darcs-hash:20061013211035-dae7b-1264d308176bc4384cf1c7c437e3528f6a81d622.gz
* CarpetRegrid2: Regrid at most once per iterationErik Schnetter2006-09-28
| | | | | | | Remember the iteration at which the last regridding happened, and regrid only once per iteration. darcs-hash:20060928033352-dae7b-5f92904364803097578bc43c9c394800cbf1cf4a.gz
* CarpetRegrid2: Update logic that decides whether to regridErik Schnetter2006-09-25
| | | | darcs-hash:20060925221156-dae7b-06282159942a5b0f624ee88398b8a7be0bcdff12.gz
* CarpetRegrid2: Support rotating symmetriesErik Schnetter2006-09-25
| | | | darcs-hash:20060925221137-dae7b-d016ec0a27faeda88b8335eb074d3dcf87b3b222.gz
* CarpetRegrid2: Correct several logic errorsErik Schnetter2006-09-25
| | | | darcs-hash:20060925221030-dae7b-85fbe4a359d84ed6a01b218cabff57491ec35fe7.gz
* CarpetRegrid2: Introduce "verbose" parameterErik Schnetter2006-09-25
| | | | | | Introduce "verbose" parameter, defaulting to "no". darcs-hash:20060925220919-dae7b-448f3480758e89861c0201eefdaabbaab2808ece.gz
* CarpetRegrid2: Handle refined regions near boundaries correctlyErik Schnetter2006-08-07
| | | | | | | | When a refined region is close to an outer (or symmetry) boundary, then extend the refined region up to that boundary, including the correct number of boundary points. darcs-hash:20060807203904-dae7b-b17a235e0cc50191b50647e1c89801970662aaf4.gz
* CarpetRegrid2: Make it possible to regrid all maps at onceErik Schnetter2006-08-04
| | | | darcs-hash:20060804133836-dae7b-10f0524d418ba823dbd5c9db27146347c58ba7c8.gz
* CarpetRegrid2: Convert explicitly from size_t to intErik Schnetter2006-07-05
| | | | darcs-hash:20060705041707-dae7b-96fac2d1470cbdf043346bf3f2fdcf229d80a309.gz
* CarpetRegrid2: Do not place grids too close to the outer boundaryErik Schnetter2006-07-05
| | | | | | | | | When a refined region is too close to an outer (or symmetry) boundary, then it forced to abut this boundary, so that the corresponding boundary condition can probably be applied. This takes buffer zones into account. darcs-hash:20060705041644-dae7b-06ac1bf50a5cdc38322d54afbbc85d06099de802.gz
* CarpetRegrid2: Check number of refinement levelsErik Schnetter2006-06-27
| | | | darcs-hash:20060627191640-dae7b-7ba8608e73c3e4cbe1cede70a8f1c0eee81e3c78.gz
* CarpetReduce2: Explicitly convert from/to CCTK_INT and from/to CCTK_REALErik Schnetter2006-06-13
| | | | | | | Explicitly convert between int and CCTK_INT, and between double and CCTK_REAL, where necessary. darcs-hash:20060613171825-dae7b-5b198c3276d6096bac4bbda6e6b48672610af191.gz
* CarpetRegrid2: Treat lower and upper domain boundaries symmetricallyErik Schnetter2006-06-06
| | | | | | | | When converting real numbers to integers at the lower and upper domain boundaries, round downwards at the lower and upwards at the upper boundary, so that the domain remains symmetric. darcs-hash:20060606224920-dae7b-3f82eb81ddfd7d72ffc02a4d7f582195ff4bde62.gz
* CarpetRegrid2: Define at least one levelErik Schnetter2006-05-12
| | | | darcs-hash:20060512210241-dae7b-89b392654109b5bc4a3930732869b2829c164722.gz
* CarpetRegrid2: Rely on CoordBase informationErik Schnetter2006-04-20
| | | | | | This thorn works now. darcs-hash:20060420025155-dae7b-01881883f067668faf7686ed39bbd1e6af077c79.gz
* CarpetRegrid2: New thornErik Schnetter2006-04-17
Add a new regridding thorn that works independently of CarpetRegrid. It is written more cleanly and easier to understand, but it has also fewer features. It is mostly intended for tracking objects that move in the domain. darcs-hash:20060417221723-dae7b-fb004dda04eae2d284388f1f1f660426ece37c20.gz