aboutsummaryrefslogtreecommitdiff
path: root/CarpetDev/CarpetJacobi
Commit message (Collapse)AuthorAge
* CarpetJacobi: Remove redefinition of restrict qualifierErik Schnetter2012-09-11
|
* Remove all #warning statementsErik Schnetter2012-09-11
|
* CarpetJacovi: Use nan handling of CarpetLibErik 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.
* CarpetJacobi: Correct signature of scheduled functionsErik Schnetter2007-01-12
| | | | darcs-hash:20070112192302-dae7b-e91795d7859ad3ed19e0c67146e806e163e15571.gz
* CarpetJacobi: Update parameter filesErik Schnetter2007-01-12
| | | | darcs-hash:20070112192240-dae7b-d2b134677dfc624f86e37741b92811f4562de153.gz
* CarpetJacobi: Explicitly convert vect<int> to vect<CCTK_REAL>Erik Schnetter2006-06-06
| | | | darcs-hash:20060606225251-dae7b-e7b771597b2c83a67386c36a5c3ef04a62b1cde7.gz
* CarpetJacobi: Correct time level cyclingErik Schnetter2005-12-22
| | | | | | | | | | | | When the solution has multiple time levels, the solution needs to be copyied from the past to the current time level after time level cycling. Add some debugging code, disabled by default. Correct handling of restrict qualifier. darcs-hash:20051222195540-dae7b-5c276af06aed498dbbea3f23f589641377c2bfa7.gz
* CarpetJacobi: Update parameter filesErik Schnetter2005-12-22
| | | | darcs-hash:20051222195438-dae7b-f54bd47a19eaa525a6c915aaacb77aa3ea83a900.gz
* CarpetJacobie: Remove $Header$ tagsErik Schnetter2005-12-22
| | | | darcs-hash:20051222195356-dae7b-dd6726ec26eb58f34d649c39e0ad2bbfc100291d.gz
* CarpetJacobi: Correct #define restrictErik Schnetter2005-11-22
| | | | darcs-hash:20051122010715-dae7b-5cc113b99f976336518c75076ad0ec0761e1deeb.gz
* CarpetJacobi: #define restrict according to CCTK_CXX_RESTRICTErik Schnetter2005-11-20
| | | | darcs-hash:20051120211722-dae7b-a69341f50c2f8d4f0d194c75bdbf63f7dc878aad.gz
* global: Add varying refinement factorsErik Schnetter2005-05-01
| | | | | | | | | | Add support for varying refinement factors. The spatial refinement factors can be different in different directions, can be different from the time refinement factor, and can be different on each level. (However, the underlying spatial transport operators do currently not handle any factors except two.) darcs-hash:20050501205010-891bb-8d3a74abaad55ee6c77ef18d51fca2a2b69740de.gz
* Use ipow instead of pow in various placesErik Schnetter2004-12-25
| | | | darcs-hash:20041225201943-891bb-0c5fe9240c54991c38b7710ab54a0de71d69e221.gz
* CarpetJacobi: Apply boundary conditions in level modeErik Schnetter2004-12-08
| | | | darcs-hash:20041208222256-891bb-ae079ce98bccbd631cc8bf41e32902bec31edcf9.gz
* Do not use CVS $Date$ for latex documentation any moreErik Schnetter2004-11-18
| | | | darcs-hash:20041118233344-891bb-44b65f16949b0d78bee0a66ad6f65c262652c671.gz
* Remove CVS header tagsErik Schnetter2004-09-18
| | | | | | Replace all CVS header tags with the standard "$Header:$". darcs-hash:20040918132147-891bb-dea889bdd94a479ec412d14d08e9efca63e5c24d.gz
* Activate thorn SymBaseschnetter2004-03-23
| | | | darcs-hash:20040323095920-07bb3-b9e755b6b0a64287b8e569d1f70b16633e473b1e.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
* Only switch to global mode if not already in global mode.schnetter2003-11-19
| | | | darcs-hash:20031119130536-07bb3-7d6722ae739c4f3315fdfe85b3e0ac3dc899454e.gz
* Activate CoordBase.schnetter2003-11-19
| | | | darcs-hash:20031119130523-07bb3-613b78a757bf8723f7dbfd8d679a70125674bc87.gz
* Many changes that accumulated while Cactus and Carpet diverged.schnetter2003-11-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many changes that accumulated while Cactus and Carpet diverged. Add processor splitting mechanism "along-dir" that splits along a specified direction. Rename group PostRestrict to bin POSTRESTRICT. Prolongate initial data only when desired. This saves much time. Sorry, Ian. Fix bug in time level cycling of grid arrays. (Note: grid arrays should not have time levels.) Fix time_t bug on IRIX. Make sure that there is no integer overflow when there are many refinement levels. Always put parentheses around (maxreflevelfact/reflevelfact). Fix typo in Carpet verbose output. Add debug output in processor splitting. Communicate in three stages: Irecv, (work), Isend, Wait. This might be more efficient. Much more, potentially. Fix bug in processor layout of grid arrays. Sorry, Ian. Make the interpolator interpolate between time levels. Untested. Fix bug in processor communication in interpolator. Sorry, Ian. Rewrite prolongation operators to make them twice as fast. There you are, Ian. Move prolongation operator kind handling from data to gdata. Add official hyperslabbing interfaces to CarpetSlab. Adapt to new cGH * handling. darcs-hash:20031105151837-07bb3-758a87ff0355dba053269df4b7d7d79bea018669.gz
* Add elliptic solver thorn that works with Carpet.schnetter2003-09-02
| | | | darcs-hash:20030902123557-07bb3-67dd485b689f921257309f4eeb7389821fd5fa7a.gz
* Initial revisioneschnett2001-03-01
darcs-hash:20010301114010-f6438-12fb8a9ffcc80e86c0a97e37b5b0dae0dbc59b79.gz