aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid
Commit message (Collapse)AuthorAge
* 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
* Check structure of outerbounds parameter.schnetter2003-09-11
| | | | darcs-hash:20030911140415-07bb3-4f553d0be7f28ebeecb98dffa7702131cb373624.gz
* Carpet infrastructure thorns now require the thorns they depend upontradke2003-09-04
| | | | | | | | (CarpetLib, Carpet, FlexIO) to be compiled in and activated via the "Requires thorns: ..." attribute in the configuration.ccl files. No need to inherit from those thorns/implementations anymore. darcs-hash:20030904142321-1d9bf-309be01f0950d97b8cb45d041d44edce01aff2a5.gz
* Fix refine=centre to make it centred.schnetter2003-08-14
| | | | darcs-hash:20030814201306-07bb3-2bac12652f3c3e1173d4183bc352bc15660dd51d.gz
* Fix bug in grid layout with manual-coordinates.schnetter2003-08-14
| | | | darcs-hash:20030814195634-07bb3-4fc9a0ca769a784c1ae593363b0fda9528517f75.gz
* Do not include header files from other Carpet thorns directly.schnetter2003-06-18
| | | | | | | | Do not include header files from other Carpet thorns directly. Instead, use the "INCLUDES HEADER" and "USES INCLUDE HEADER" mechanism. darcs-hash:20030618162807-07bb3-a81444cde6c76e6a24516d108861fc1b5541c643.gz
* Handle empty groups.schnetter2003-05-23
| | | | darcs-hash:20030523215247-07bb3-aa34e32e8cc415a7a27ea92e9d367bcf55cf940d.gz
* In MakeRegions_AsSpecified, we're looping over the number of components (not ↵hawke2003-05-05
| | | | | | refinement levels). darcs-hash:20030505045931-58737-06cced0c0056fb5c5a902af8ec9d9e813136c285.gz
* Handle pointwise reductions as well.schnetter2003-04-30
| | | | darcs-hash:20030430103756-07bb3-540839de2edb48e47034621bb3dfc1c41292c4c0.gz
* Introduced a new parameter "outside_boundary_points". It decidesschnetter2002-12-12
| | | | | | | | | Introduced a new parameter "outside_boundary_points". It decides whether points on the fine grid that abutt the outer boundary are allowed to be outside the coarse grid outer boundary. This is necessary for periodicity. darcs-hash:20021212133606-07bb3-3983646ef2ae684dd8a63c7a3c8b0793db93759f.gz
* Handle the case better where the refined region is close to the outerschnetter2002-12-12
| | | | | | | | | Handle the case better where the refined region is close to the outer boundary. Previously, the refined region could be outside the outer boundary. Now the refined region is cropped to be forced to be inside. However, this might be wrong for periodic boundaries. darcs-hash:20021212120011-07bb3-f58e5244bade1a3969f7da89bd072d06db16a1cd.gz
* Small change.schnetter2002-10-24
| | | | darcs-hash:20021024085742-07bb3-5f16ec9fa95cba06ce16e118cb1c9dd4a2336594.gz
* Added arrangement name and final semicolon to CCTK_FILEVERSION macro.schnetter2002-10-24
| | | | darcs-hash:20021024082620-07bb3-62293589ba5b5e17ed7ffe9ec85faafcf4910374.gz
* Fixed quite a few include guard mishaps.schnetter2002-09-01
| | | | darcs-hash:20020901125223-07bb3-f494618480c1ffc46118365c4c957d7a313d7be9.gz
* Checking that CarpetRegrid::refinement_levels is not larger thanschnetter2002-08-28
| | | | | | | Checking that CarpetRegrid::refinement_levels is not larger than Carpet::max_refinement_levels. darcs-hash:20020828075339-07bb3-04d97f33dc327ad351b6be97617729ba3b38294e.gz
* Changed "abort()" statements to "assert(0)" statements, because theschnetter2002-08-02
| | | | | | | Changed "abort()" statements to "assert(0)" statements, because the latter do output a message to the screen. darcs-hash:20020802131112-07bb3-a89ca2582fce00c0d5b4cc82bf61473b7c8bdcb5.gz
* Fix spacing.schnetter2002-07-12
| | | | darcs-hash:20020712071015-07bb3-65562c8dfc17e37747a857674d11b43d2d44ad36.gz
* Create list of which boundaries to treat.schnetter2002-07-12
| | | | darcs-hash:20020712070952-07bb3-7d35dc129fad862a698fbbba262c2ff6eac43f3b.gz
* Added functionality for activate_newlevels_on_regrid near top of fileshawley2002-05-22
| | | | darcs-hash:20020522143114-e415b-326f968183bf4e6635240a3d0471e2254ed4ba58.gz
* Added activate_newlevels_on_regridshawley2002-05-22
| | | | darcs-hash:20020522142201-e415b-9d71031dfef6cff9cc5ac73320035ce3830f40f0.gz
* Made regridding parameters steerable.schnetter2002-05-22
| | | | darcs-hash:20020522130340-07bb3-deb9a837913eaf46e21cc47e9686166530f052fa.gz
* Make sure that refinement_levels is not larger than max_refinement_levels.schnetter2002-05-16
| | | | darcs-hash:20020516212554-07bb3-0a6f49841a9091908132bf5a0d8268e2b5335f5c.gz
* Added CCTK_FILEVERSION macros.schnetter2002-03-26
| | | | darcs-hash:20020326122225-07bb3-0c7746df97fb64f00918be1bee33191fb9d44b0b.gz
* Fixed a bug in CarpetSlab; was using the local instead of the globalschnetter2002-03-23
| | | | | | | | | | | | | | | | Fixed a bug in CarpetSlab; was using the local instead of the global extent. Added a more comfortable way to specify the refined region. The new method has no restrictions. Added a way to specify the location of the outer boundary explicitely. Added dummy parameter "periodic*" so that Carpet can be used as drop-in replacement of PUGH (at least when running without refinement). darcs-hash:20020323192054-07bb3-2b9208c8a6b54a55c98d4035095cd4ff6ebcd447.gz
* Trying to give a better error message.schnetter2002-03-21
| | | | darcs-hash:20020321144034-07bb3-970a9a30d5e185282da0603fa559e0255539ac41.gz
* Slight changes to make Carpet compile under gcc 3.0.schnetter2002-03-11
| | | | darcs-hash:20020311140941-07bb3-5d6076020e4a9a28539da652746f5367b986bba4.gz
* Added stream input routines for some CarpetLib containers.schnetter2002-03-11
| | | | | | | | | | | | | | | | | | | | Added stream input routines for some CarpetLib containers. The regridder now has to explicitly say which boundaries are outer, and which are internal. This will make outer boundaries on fine grid possible, and is also necessary when there are multiple grid patches. Started to add support for arbitrariliy many user-specified refinement regions. Not yet finished. The Carpet driver can now handle multiple grid patches. Added example files for multiple grid patches. They use initial data that does not "fit" the boundary conditions, and they don't use multiple refinement levels so far. Removed old and unused example files in CarpetLib. darcs-hash:20020311121709-07bb3-18594c42bd7a958ee0840d29e158a343208f5711.gz
* Updated parameter files to new conventions.schnetter2002-03-06
| | | | | | | | Updated parameter files to new conventions. Removed "static" boundary conditions; these depend on private changes not available in Cactus. darcs-hash:20020306164757-07bb3-531f54e20a2bb93536b467dffbb459f6b14777f1.gz
* Added explicit type conversions to make it compile with gcc 3.0.schnetter2002-01-14
| | | | darcs-hash:20020114135924-07bb3-96fa13db24c22b0b6ed8e8672548fff5a3800a35.gz
* Allow grid extents to be specified by integer grid point locations asschnetter2002-01-11
| | | | | | | Allow grid extents to be specified by integer grid point locations as well as by physical coordinates. darcs-hash:20020111163713-07bb3-fa1a86617d4805de7faba76ee1612f36d3a41b6d.gz
* Restructured regridding. Instead of registering the new gridschnetter2002-01-11
| | | | | | | | Restructured regridding. Instead of registering the new grid structure every time you want to regrid, you register a routine that is called every time it is possible to regrid. This is much cleaner. darcs-hash:20020111161945-07bb3-a03d269b8a81c5cc3e7196679535c3a4c21b3a78.gz
* Further changes to make Carpet work with multiple multigrid levels.schnetter2002-01-09
| | | | | | | | | Further changes to make Carpet work with multiple multigrid levels. Fixed one other nasty bug in a prolongation operator. Optimised last remaining non-optimised prolongation operator. darcs-hash:20020109164539-07bb3-6ebee1b591a732eb826557128a2a0bce38151ed1.gz
* Cleaned up the code to make it work with multiple multigrid levelsschnetter2002-01-09
| | | | | | | | | | Cleaned up the code to make it work with multiple multigrid levels (aka shadow hierarchy). The shadow logic is not yet in place. Added simple recombining to the clusterer. This should lead to fewer grid components. Not very tested. darcs-hash:20020109125624-07bb3-f2d22fa4583bf562101ab521606e6142585622a7.gz
* Fixed bugs in automatic regridding.schnetter2001-12-17
| | | | darcs-hash:20011217123243-07bb3-5191161375a4dbbb85420bea6a1e8ee2d3961656.gz