aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src
Commit message (Collapse)AuthorAge
* 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
* Handle operator% for double differently.schnetter2004-04-18
| | | | darcs-hash:20040418112556-07bb3-87cca0e1b0860665e56b2a729a06baba55fa5580.gz
* Format error message nicely.schnetter2004-04-18
| | | | darcs-hash:20040418110408-07bb3-0a871795414c96c78eb3e5d123044044de61dc91.gz
* Change the bbox iterators to be cyclic.schnetter2004-04-18
| | | | | | | Change the bbox iterators to be cyclic. Update ASCII output to use the new iterators. darcs-hash:20040418110344-07bb3-1ea594b79f3031dbc38101d15a65b9aafcf3b005.gz
* Commentschnetter2004-04-13
| | | | darcs-hash:20040413091349-07bb3-52f2c2f87c5c51b61b6cc2d609d985b1e24a846b.gz
* Don't use the new C99 printf specifiers.schnetter2004-04-13
| | | | darcs-hash:20040413090144-07bb3-585c2620dc244665c9e7a2fb686a87d089948f4e.gz
* Modify the check for MPI -- maybe it didn't work beforeschnetter2004-04-10
| | | | darcs-hash:20040410161022-07bb3-a9fb76984c7cce24ac241d49c37222c78048eed5.gz
* Abort with an error message if CarpetLib cannot allocate memory forschnetter2004-04-08
| | | | | | | Abort with an error message if CarpetLib cannot allocate memory for grid functions. Also track how much memory is already used. darcs-hash:20040408091635-07bb3-3385e3472c428b3aa562d6ab76f2f6ca32b77f19.gz
* Disable a self-consistency check that might be too eager.schnetter2004-04-07
| | | | darcs-hash:20040407150102-07bb3-6d3acc8417e0b0e27427c959fce6d3f8a39cbcd6.gz
* Insert a check that all gdata arrays are created on all processors.schnetter2004-04-07
| | | | | | | Insert a check that all gdata arrays are created on all processors. Expensive, and disabled by default. darcs-hash:20040407145807-07bb3-7e85aaef2e6f8bac996079f446172e4171c53ab7.gz
* Comment out self-consistency check that might be too eagerschnetter2004-04-07
| | | | darcs-hash:20040407145642-07bb3-3913deeb11dfa6fea78c757539425b36e87886bf.gz
* Comment coding tricks.schnetter2004-04-07
| | | | darcs-hash:20040407145522-07bb3-6514671e9b2e6227c3ec6183908a4f8f312d8d0d.gz
* Use vector::at() instead of vector::operator[] to access vector elements.schnetter2004-03-23
| | | | darcs-hash:20040323183014-07bb3-4562b1a7b1dda25fbcccc7689c19bbd432b8a1ff.gz
* Use vector::at() instead of vector::operator[] to access vector elements.schnetter2004-03-23
| | | | darcs-hash:20040323173014-07bb3-e99c8937bf04a64b17c5f0c94caaa618143dd48b.gz
* Fix bug in calculating the boundary prolongation zones on multipleschnetter2004-03-23
| | | | | | | Fix bug in calculating the boundary prolongation zones on multiple processors. darcs-hash:20040323165600-07bb3-7dff25fdd6fe4a0a3ad350df8c0aa085799ca5d4.gz
* Fix indentationschnetter2004-03-23
| | | | darcs-hash:20040323143721-07bb3-82c87a31b23f2fe7d42708f1415fb413b50733c8.gz
* Implement vector groups correctlyschnetter2004-03-23
| | | | darcs-hash:20040323114027-07bb3-1ac44b7b144e8936307942bc999d54ecb579719f.gz
* Move MPI request and tag handling from data to gdataschnetter2004-03-23
| | | | darcs-hash:20040323111429-07bb3-08a8c6b8d729eb0efc5b757b61401b14712d790c.gz
* Implement vector groups correctlyschnetter2004-03-23
| | | | darcs-hash:20040323104027-07bb3-e400132b269e3d26830a2719d3c926f10bc37285.gz
* Remove unused codeschnetter2004-03-23
| | | | darcs-hash:20040323082649-07bb3-12b7902da4c7dd33c6ed3298e50e9b714a8098aa.gz
* When regridding, prolongate the boundaries before synchronising.schnetter2004-03-22
| | | | darcs-hash:20040322171233-07bb3-e2f320128e8e821ee4f339defcaf7ca93c6e3b16.gz
* Small changeschnetter2004-03-11
| | | | darcs-hash:20040311110413-07bb3-71275d869ab76640be38effb5f04522f0dcbef6c.gz
* Remove old-style iteratorT types and routines.schnetter2004-03-11
| | | | | | | Remove old-style iteratorT types and routines. Add doxygen comments. darcs-hash:20040311110344-07bb3-ce9e356a02388278c8508946eac32a98b6cdafee.gz
* Ensure that the array extents are multiples of the array stridesschnetter2004-03-11
| | | | darcs-hash:20040311100134-07bb3-941d3d682503b7dc4066a4ab7aaf05ba1951d0a0.gz
* Use $(error) instead of an unsatisfied dependency to reportschnetter2004-03-10
| | | | | | | Use $(error) instead of an unsatisfied dependency to report configuration errors. darcs-hash:20040310133726-07bb3-ec669f47cedd8c04cf4efc96503a25ff21be6496.gz
* Add comment.schnetter2004-03-03
| | | | darcs-hash:20040303152019-07bb3-0538dce89b4aea740f21313299150eb46cbf7c0e.gz
* Essentially Non-Oscillatory prolongation operators. Again intended forhawke2004-03-03
| | | | | | | | | | | | Essentially Non-Oscillatory prolongation operators. Again intended for use with things like hydro. As with the minmod operators, there seems to be small spikes at grid boundaries. The advantage of these is that they should be smoother than minmod, fitting the least oscillatory quadratic (switches to linear if best quadratic not monotone). Massively untested though. darcs-hash:20040303143040-58737-4c3c6aff889bac7a407ef3992d8fe12c45805735.gz
* Essentially Non-Oscillatory prolongation operators. Again intended forhawke2004-03-03
| | | | | | | | | | | | Essentially Non-Oscillatory prolongation operators. Again intended for use with things like hydro. As with the minmod operators, there seems to be small spikes at grid boundaries. The advantage of these is that they should be smoother than minmod, fitting the least oscillatory quadratic (switches to linear if best quadratic not monotone). Massively untested though. darcs-hash:20040303133040-58737-83b8befb34a91b9d9306beee2cbaea4464eb5b7e.gz
* Temporarily make op_TVD point at first order in space prolongation operators ↵hawke2004-03-03
| | | | | | until we find this damn bug. darcs-hash:20040303082230-58737-4b8d4684c5edf849b93e309d99d4c5759dac3b00.gz
* Remove code that was commented out.schnetter2004-03-01
| | | | | | | Remove code that was commented out. Fix comment. darcs-hash:20040301193513-07bb3-e9bfdecd8267cb5dd8c75b3ae111565d82f19262.gz
* Instantiate Cactus types instead of C++ types.schnetter2004-03-01
| | | | darcs-hash:20040301185655-07bb3-287c35f1443cf8d55998b13c254a98a03b21fc5e.gz
* Create MPI data types for Cactus types instead of C++ types.schnetter2004-03-01
| | | | darcs-hash:20040301184351-07bb3-d13ed7d3ba26f2cddfcec8404bb7dd4e88489a2d.gz
* Instantiate also for complex numbers by default.schnetter2004-03-01
| | | | darcs-hash:20040301184029-07bb3-7863044e1daff676d9b062b1b3e877d1b10cb3e8.gz
* Create MPI data types for Cactus types instead of C++ types.schnetter2004-03-01
| | | | darcs-hash:20040301174339-07bb3-7063bdae71cf7c6a4ff6b39692aeb2fa02a800c3.gz
* Remove macros STR and FORTRAN_NAME.schnetter2004-03-01
| | | | | | | Remove macros STR and FORTRAN_NAME. Make typestring return Cactus type names instead of C++ type names. darcs-hash:20040301174308-07bb3-5c39e39ac39e4e9e552e3f61b843988b09efbf98.gz
* Fix severe bug in mglevel array indexing.schnetter2004-02-27
| | | | darcs-hash:20040227152553-07bb3-62fdc4ce251d7f202068d1ee030448e75b96b4a9.gz
* Use new bbox iterators in all places (missed some before).schnetter2004-02-27
| | | | darcs-hash:20040227144040-07bb3-a89704193701abcae95b27068427adc63cbc76b3.gz
* Add a dummy array element when D==0.schnetter2004-02-27
| | | | darcs-hash:20040227092523-07bb3-e4cc3ad72fab0773cc5f42d1af3a27cf61d01545.gz
* Add functions for element-wise floor, ceil, and pow.schnetter2004-02-18
| | | | darcs-hash:20040218141045-07bb3-0e60f56d44aa61e0e3190d5d27b9a0bfab3f2d38.gz
* Change definition for the bbox iterators, so that they work withschnetter2004-02-18
| | | | | | | | | Change definition for the bbox iterators, so that they work with 0-dimensional bboxes as well. Instantiate the templates for 0 dimensions. darcs-hash:20040218141001-07bb3-df6baa90f8b8ae69a788d863ef663d55587d1d25.gz
* Instantiate vectors for 0 dimensions as well.schnetter2004-02-18
| | | | darcs-hash:20040218131017-07bb3-f84c3cccf65509ed31d1951791368bc77c8845de.gz
* Add support for copying (i.e. synchronising) complex variables.schnetter2004-02-09
| | | | darcs-hash:20040209135807-07bb3-0cd2c04df4f1ef2fa2e5d31f956c8b57b38a38b2.gz
* Fig bug in output: In C, quotes are not quoted by "", but by \".schnetter2004-02-09
| | | | darcs-hash:20040209135646-07bb3-2d7814ee1b34bbb2b8b3751732ffe3e8dcac8922.gz
* Print an error message when trying to synchronise an unsupported dataschnetter2004-02-09
| | | | | | | Print an error message when trying to synchronise an unsupported data type. darcs-hash:20040209135507-07bb3-eedaedfeab593e73a8c96e2d08745c5f2dc3d08f.gz
* Do not restrict nor prolongate when the prolongation operator has beenschnetter2004-02-03
| | | | | | | Do not restrict nor prolongate when the prolongation operator has been set to "none". darcs-hash:20040203133322-07bb3-7fd7e5fc85efe04ecd39864cba0385a4570bf46a.gz
* Some sanity checking to fend off evil C++ compilersschnetter2004-02-03
| | | | darcs-hash:20040203133302-07bb3-6468aba36ff7aceb42c9d34f1d859ce44cd9e860.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
* Undo my previous changes, which did not compile.schnetter2004-01-21
| | | | darcs-hash:20040121153204-07bb3-2737dc30c6c1b867713208ee5dfe49085ba1b625.gz
* Fix another (maybe) bug in calculating the prolongation regions.schnetter2004-01-21
| | | | darcs-hash:20040121132535-07bb3-8221de1d3146f586eb13b0fe3acb12836b06efd5.gz
* Check the stencil size before calling the minmod prolongationschnetter2004-01-21
| | | | | | | Check the stencil size before calling the minmod prolongation operators. darcs-hash:20040121132509-07bb3-7eb951d88ae3b66a3ad2338fecc632c8c77cb312.gz