aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid
Commit message (Collapse)AuthorAge
...
* Take convergence level into account when checking grid spacing.schnetter2004-08-14
| | | | darcs-hash:20040814054200-07bb3-5174d89066b25ca8784e2de1c64e9a5c00339519.gz
* Remove empty lines.schnetter2004-08-07
| | | | darcs-hash:20040807174459-07bb3-155e34c9f1472a18531f78a73a0e94119893d80e.gz
* Update loop over a bounding box to the not-so-recent change of theschnetter2004-08-04
| | | | | | | Update loop over a bounding box to the not-so-recent change of the iterator semantics. darcs-hash:20040804142558-07bb3-ad9bf80bdcc1feb4fce2b05cc525950ba664816f.gz
* Use pow() instead of ipow() because the exponent can be negative.schnetter2004-08-03
| | | | | | | Use pow() instead of ipow() because the exponent can be negative. Fixes a bug with negative convergence levels. darcs-hash:20040803173945-07bb3-cd6785a069013a9ae3370ac476f02f24e6769bb6.gz
* Update check for "smart_outer_boundaries".schnetter2004-08-02
| | | | darcs-hash:20040802094236-07bb3-d6b0fd9eff990a3763e6707d6feefc84d8cd9573.gz
* Do not return early.schnetter2004-08-02
| | | | | | | Do not return early. Take "symmetric_*" parameters into account. darcs-hash:20040802094220-07bb3-c056a5903837e9d37d75ab68b9bfa03f35b1fcca.gz
* Use C++ cast instead of C cast.schnetter2004-08-02
| | | | darcs-hash:20040802094105-07bb3-f6b2024eb7bbdef9c3a99ece892383f2a633368d.gz
* Make parameters steerable.schnetter2004-08-02
| | | | darcs-hash:20040802094036-07bb3-64cf06381dc2b174152cf31a4725ee88f19ae4f9.gz
* #include <sstream>tradke2004-07-02
| | | | darcs-hash:20040702081451-1d9bf-9ca30da20856eb1a5f00beb88193e0a2b51aab49.gz
* Ensure that the spacing as given by the user is consistent with theschnetter2004-06-27
| | | | | | | Ensure that the spacing as given by the user is consistent with the refinement factor. darcs-hash:20040627191847-07bb3-03451c512721a46e120580d7ed1299e88c966f9c.gz
* Take convergence factor into account.schnetter2004-06-14
| | | | darcs-hash:20040614045952-07bb3-306f8fe7550e33527c630139293d41138a32431f.gz
* Use "requires thorns" to ensure that the thorns are activated in theschnetter2004-06-08
| | | | | | | Use "requires thorns" to ensure that the thorns are activated in the correct order. darcs-hash:20040608190925-07bb3-70b0ac8ee8e570c0b7fff50b02395a288482257d.gz
* Commit test results that are not zero in the prolongated region.schnetter2004-06-04
| | | | darcs-hash:20040604104129-07bb3-206ef5b4084e7e8438fa4144116820401509834e.gz
* Removed diagnostic output.bzink2004-06-02
| | | | darcs-hash:20040602053619-5b8bb-489c114e0b9f4bb3cea211c56f43d8973d11dcd7.gz
* Added "force" boolean parameter to Carpet_Regrid. This forces Carpet_Regridbzink2004-06-02
| | | | | | | | to recollect the GH without regard to parameters like regrid_every or activate_next. This also makes the ugly external steering to make recovery work unnecessary. darcs-hash:20040602050852-5b8bb-ae44a383f5bb2938d1a7fa37686e35a85f97c634.gz
* Fix PMR.cott2004-06-01
| | | | darcs-hash:20040601073944-19929-e3fc11b081654d1dc3040abcd0a4befdc2540291.gz
* Change indentation.schnetter2004-05-31
| | | | darcs-hash:20040531170400-07bb3-cb3b62fac2f02f6100f22e1a4cb3075ae5c38315.gz
* Remove development thorns.schnetter2004-05-29
| | | | darcs-hash:20040529175950-07bb3-f4db6fed9d82c9d793d5408e2439a80044d87cd7.gz
* Fix test cases.schnetter2004-05-29
| | | | darcs-hash:20040529174758-07bb3-cbc24630c2b4907e7b79aadb1a91cc8eb7c59b1a.gz
* Fix bug in keeping the refinement structure, and add two test casesschnetter2004-05-29
| | | | | | | Fix bug in keeping the refinement structure, and add two test cases for it. darcs-hash:20040529174219-07bb3-0d6296d475824748d2bee4e7c1029da767648cac.gz
* Introduce a parameter that allows omitting calling recompose when noschnetter2004-05-29
| | | | | | | Introduce a parameter that allows omitting calling recompose when no new levels have been activated or removed. darcs-hash:20040529165242-07bb3-5a81b08811c9c7cd16cfdcd84482dd3695c4e6bb.gz
* Fix typo in argument nameschnetter2004-05-27
| | | | darcs-hash:20040527102744-07bb3-15c69883d02f9194d48e1ea129063d4f31779986.gz
* Add parameter "verbose".schnetter2004-05-27
| | | | | | | Add parameter "verbose". Fix regrid-every scheme. darcs-hash:20040527102716-07bb3-9cd5cdfbcbbe96215ef53895035cc8d37549c3af.gz
* Fix bug in smart_outer_boundaries.schnetter2004-05-21
| | | | | | | Fix bug in smart_outer_boundaries. Expect to be called after time level cycling. darcs-hash:20040521161428-07bb3-5acc46116415324d7fe0aaf947677aeae2fce2d9.gz
* Fix bug in calculating the exterior extent of refined regionsschnetter2004-05-13
| | | | darcs-hash:20040513111835-07bb3-41e161143b865b7c0c83c69fd0f1dc80d4978857.gz
* Correct intent statements.hawke2004-05-10
| | | | darcs-hash:20040510115624-58737-87e5be19cc09dcd80dee90260028780c3ca30dcd.gz
* Undo interface/capability update, because now Carpet conflicts withschnetter2004-05-04
| | | | | | | | Undo interface/capability update, because now Carpet conflicts with PUGH. Need to sort things out, maybe switch temporarily back to the "requires thorns" mechanism. darcs-hash:20040504205239-07bb3-771c6ec96a2b454d63c87a6dc7a1f44f62cd8fd7.gz
* Begin to clean up inheritance and requires relationshipsschnetter2004-05-04
| | | | darcs-hash:20040504200954-07bb3-cd9f17c981ce37247fa2122858b10b46425f678a.gz
* Do not allow smart_outer_boundaries to be set unless it is supported.schnetter2004-04-28
| | | | darcs-hash:20040428134525-07bb3-c7449414a69ffafce226689cfb83e65845d49bd6.gz
* For smart_outer_boundaries, use the same number of boundary points onschnetter2004-04-28
| | | | | | | For smart_outer_boundaries, use the same number of boundary points on each level. darcs-hash:20040428134459-07bb3-531d42bb67392d94993bfe9097bb1379e10973f6.gz
* Rename variables so that different variables have different names.schnetter2004-04-24
| | | | darcs-hash:20040424054016-07bb3-86bf84f1d172a87c9d589647d2e6fdefe5b44ee2.gz
* Regrid based on the current level, not on the number of existingschnetter2004-04-22
| | | | | | | Regrid based on the current level, not on the number of existing levels. darcs-hash:20040422095837-07bb3-b1689fa338c200881f1bde6563288fd277cbc990.gz
* Adapt to new regridding interface; regridding routines are now calledschnetter2004-04-19
| | | | | | | Adapt to new regridding interface; regridding routines are now called in level mode. darcs-hash:20040419164807-07bb3-3316b93f9d7c45eea01763d6a36a57bd53e91c43.gz
* Use "requires" instead of "requires thorns".schnetter2004-04-18
| | | | darcs-hash:20040418120959-07bb3-05050a71e475171cac6b293de35118e4af8df5ba.gz
* Remove the parameters Carpet::prolongate_initial_data; this is nowschnetter2004-04-18
| | | | | | | | | | | | Remove the parameters Carpet::prolongate_initial_data; this is now always done. Remove arguments initialise_from and do_prolongate from Regrid(). Regridding is now done in level mode instead of meta mode. Furthermore, CarpetRegrid is called in singlemape mode. darcs-hash:20040418112943-07bb3-2e392df1737ab75f3f0d553bb53bde2ed41f8773.gz
* Take symmetry_? parameters into account when setting up a movingschnetter2004-04-16
| | | | | | | Take symmetry_? parameters into account when setting up a moving refinement region. darcs-hash:20040416164133-07bb3-cf997ce94e52928bb5b99706e28ee155009e7d94.gz
* Implement a moving excision region.schnetter2004-04-14
| | | | darcs-hash:20040414201944-07bb3-3abc45a6f1034c083fa413d0b917d0f2791a787c.gz
* Use vect::floor instead of vect::map(floor,)schnetter2004-02-27
| | | | darcs-hash:20040227152406-07bb3-4fdcba1dfe48b9ecde3df534abea800c54ffc460.gz
* Report a warning instead of aborting when the RegridLevel functionschnetter2004-02-09
| | | | | | | Report a warning instead of aborting when the RegridLevel function returns an illegal number of levels. darcs-hash:20040209154843-07bb3-f92482392a8aa2b703a120e088a7b668cf08abae.gz
* Shorten keyword option.schnetter2004-02-05
| | | | darcs-hash:20040205151120-07bb3-cfe9235ac5b627bd71559cd5c2db694b4cc895fe.gz
* Introduce a keyword parameter that selects between fixed and variableschnetter2004-02-05
| | | | | | | Introduce a keyword parameter that selects between fixed and variable progressive mesh refinement. darcs-hash:20040205085315-07bb3-08164f32105ec814e53691afac7d88ea8e2099fc.gz
* Import the recently announced changes:schnetter2004-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import the recently announced changes: 1. Carpet has now an infrastructure for multiple maps (aka "grid patches"). Instead of a single grid hierarchy there can now be several. This is largely untested, because the remainder of Cactus cannot handle multiple coordinate systems. 2. The order in which the schedule bins are called has changed. As Ian Hawke pointed out, the previous order during time evolution was inconsistent. The initial data ordering did not allow for recovering and was not usable for progressively solving elliptic equations for initial data. 3. Carpet now supports convergence levels. The convergence level specifies by how many factors of two the resolution in the parameter file should be coarsened (or refined, if negative). This should make convergence tests and test runs much easier. It is, in principle, also possible to run several convergence levels at once. This has not been tested because the remainder of Cactus cannot handle multiple resolutions. This will be necessary for a multigrid solver, and also for having a shadow hierarchy to determine where to refine adaptively. 4. Carpet works together with the new CoordBase domain specification parameters. Without these, using convergence levels will lead to very strange results. 5. The "modes" have changed. There are now: meta mode: the whole simulation global mode: one convergence level level mode: one refinement level singlemap mode: one map on one refinement level local mode: as previously The whole mode handling has been cleaned up. 6. The regridding thorn has been cleaned up. 7. The kind of prolongation stencil is now determined in Carpet, i.e. at a fairly hight level, instead of in CarpetLib. 8. The low-order prolongation operators have been made much more efficient (as have previously the higher-order ones). 9. Assorted smaller changes. For Carpet users, there should be no major incompatibilities. The major improvements are 3 and 4 combined. Here is an example: CoordBase::domainsize = extent CoordBase::spacing = gridspacing CoordBase::zero_origin_x = yes CoordBase::zero_origin_y = yes CoordBase::zero_origin_z = yes CoordBase::xextent = 20.0 CoordBase::yextent = 20.0 CoordBase::zextent = 20.0 CoordBase::dx = 1.0 CoordBase::dy = 1.0 CoordBase::dz = 1.0 CoordBase::boundary_shiftout_x_lower = 1 CoordBase::boundary_shiftout_y_lower = 1 CoordBase::boundary_shiftout_z_lower = 1 Carpet::domain_from_coordbase = yes Carpet::convergence_level = 0 grid::type = coordbase grid::domain = octant grid::avoid_origin = no This gives you a grid that extends from the origin ("zero_origin") up to 20.0 with a grid spacing of 1.0. Symmetry zones and boundary zones are added automatically. The "shiftout" says that there is no boundary point on the origin. The staggering parameters (not shown) default to "no". In order to change the resolution, only the convergence level has to be adjusted. Note that the old way of specifying the domain extent still works. For Carpet developers, one major change is the new mode handling. As described in 5, the looping macros (that loop over all refinement levels, or all components) have changed. darcs-hash:20040125135727-07bb3-51c9647c1b5080e7e180b52a1b81fa155cfd19e9.gz
* Import the recently announced changes:schnetter2004-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import the recently announced changes: 1. Carpet has now an infrastructure for multiple maps (aka "grid patches"). Instead of a single grid hierarchy there can now be several. This is largely untested, because the remainder of Cactus cannot handle multiple coordinate systems. 2. The order in which the schedule bins are called has changed. As Ian Hawke pointed out, the previous order during time evolution was inconsistent. The initial data ordering did not allow for recovering and was not usable for progressively solving elliptic equations for initial data. 3. Carpet now supports convergence levels. The convergence level specifies by how many factors of two the resolution in the parameter file should be coarsened (or refined, if negative). This should make convergence tests and test runs much easier. It is, in principle, also possible to run several convergence levels at once. This has not been tested because the remainder of Cactus cannot handle multiple resolutions. This will be necessary for a multigrid solver, and also for having a shadow hierarchy to determine where to refine adaptively. 4. Carpet works together with the new CoordBase domain specification parameters. Without these, using convergence levels will lead to very strange results. 5. The "modes" have changed. There are now: meta mode: the whole simulation global mode: one convergence level level mode: one refinement level singlemap mode: one map on one refinement level local mode: as previously The whole mode handling has been cleaned up. 6. The regridding thorn has been cleaned up. 7. The kind of prolongation stencil is now determined in Carpet, i.e. at a fairly hight level, instead of in CarpetLib. 8. The low-order prolongation operators have been made much more efficient (as have previously the higher-order ones). 9. Assorted smaller changes. For Carpet users, there should be no major incompatibilities. The major improvements are 3 and 4 combined. Here is an example: CoordBase::domainsize = extent CoordBase::spacing = gridspacing CoordBase::zero_origin_x = yes CoordBase::zero_origin_y = yes CoordBase::zero_origin_z = yes CoordBase::xextent = 20.0 CoordBase::yextent = 20.0 CoordBase::zextent = 20.0 CoordBase::dx = 1.0 CoordBase::dy = 1.0 CoordBase::dz = 1.0 CoordBase::boundary_shiftout_x_lower = 1 CoordBase::boundary_shiftout_y_lower = 1 CoordBase::boundary_shiftout_z_lower = 1 Carpet::domain_from_coordbase = yes Carpet::convergence_level = 0 grid::type = coordbase grid::domain = octant grid::avoid_origin = no This gives you a grid that extends from the origin ("zero_origin") up to 20.0 with a grid spacing of 1.0. Symmetry zones and boundary zones are added automatically. The "shiftout" says that there is no boundary point on the origin. The staggering parameters (not shown) default to "no". In order to change the resolution, only the convergence level has to be adjusted. Note that the old way of specifying the domain extent still works. For Carpet developers, one major change is the new mode handling. As described in 5, the looping macros (that loop over all refinement levels, or all components) have changed. darcs-hash:20040125125727-07bb3-3368611314b2dcb8c8ae58ab3f501b683d7edb8f.gz
* Changed interface to aliased function "RegridLevel" - added parameter ↵cott2004-01-15
| | | | | | maxreflevels darcs-hash:20040115084558-19929-5187725fb081ea4da02a6805f2cc65ecbfdf4244.gz
* Changes to CarpetRegrid.hawke2004-01-13
| | | | | | | | | | Changes to CarpetRegrid. - Does progressive MR correctly again. - Will take a criteria for the number of levels to activate from an aliased function if requested, allowing for adaptive refinement in time. darcs-hash:20040113125005-58737-15008754eaae7b272c5a144333241be8ab6bbde2.gz
* Fix typo in parameter descriptionschnetter2003-12-19
| | | | darcs-hash:20031219150155-07bb3-41d0f7f3df186e02d5a3a98ad823906252564440.gz
* Round manually specified coordinates to the nearest grid point, butschnetter2003-11-21
| | | | | | | Round manually specified coordinates to the nearest grid point, but don't round strides. darcs-hash:20031121115156-07bb3-651b99788e8699892ef5e87ece189d4fe95484d0.gz
* More error checking when converting real coordinates to integer grid points.schnetter2003-11-14
| | | | darcs-hash:20031114115047-07bb3-e2a2aa933f412bf4b9b6d9334d3774203a80b569.gz
* Implement specifying refined boxes by coordinates instead of by gridschnetter2003-11-13
| | | | | | | Implement specifying refined boxes by coordinates instead of by grid point numbers. darcs-hash:20031113150437-07bb3-3889e9e5e4f97233034f57ab4f968b1476bd515f.gz
* Replace num_points() by size().schnetter2003-09-20
| | | | darcs-hash:20030920115318-07bb3-50458524a69bce820359042b32f6ee9696bb903e.gz