aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib
Commit message (Collapse)AuthorAge
* Clarify error message.schnetter2004-01-09
| | | | darcs-hash:20040109122120-07bb3-ec22ca801d35b1de50585080dd2ab0e8d31da4d5.gz
* Follow C++ standard.schnetter2003-11-21
| | | | darcs-hash:20031121125546-07bb3-60338023244fbd0fab9d8663adff4cdf78e31141.gz
* Missing break in TVD interpolator case statement.hawke2003-11-20
| | | | darcs-hash:20031120072851-58737-e1aef776341af758afc99b27f175463b3ad508c2.gz
* Allow bboxes of CCTK_REALs.schnetter2003-11-13
| | | | darcs-hash:20031113150358-07bb3-427886aab7c861fe53bf7fef96ec2a31e1d155f5.gz
* Fix core dump.schnetter2003-11-06
| | | | darcs-hash:20031106125023-07bb3-bc17ef32006900de77a8f185a7424322df71f9db.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
* Fixed minmod interpolation loopcott2003-10-30
| | | | darcs-hash:20031030125459-19929-40e83a3467ca581eb7e493404657b56b3a78de2a.gz
* Patch the minmod prolongation routines in a fashion that really appears to ↵hawke2003-10-20
| | | | | | work for a change. darcs-hash:20031020083924-58737-0808ad70950041cf90593f8e63fc5dd8a552b17d.gz
* Fixed bug in case PROLONG_TVD (missing break statement in case 1).cvs_anon2003-10-17
| | | | | | | Fixed bug in case PROLONG_TVD (missing break statement in case 1). - Christian darcs-hash:20031017061441-62b91-caf11a681cb9c5d39858e666c1d281efb56d00b2.gz
* Fix bug in automatic domain decomposition.schnetter2003-10-16
| | | | darcs-hash:20031016150004-07bb3-9c843c9710adcce8d2b3243b0c02b798d83bab59.gz
* A much corrected version of the TVD prolongation. Looks nicer in the first ↵hawke2003-10-15
| | | | | | tests. Also simpler. darcs-hash:20031015095155-58737-cdbc9b0c881bc9970298ad5c95d5375a1eacaaab.gz
* The prolongation method can now be controlled from the tags table defined in ↵hawke2003-10-15
| | | | | | | | | | | | | | | | | | the interface.ccl. The prolongation method defaults to "Lagrange" and the other options are "None" and "TVD" (which I'm now sure doesn't work properly). The prolongation method can now be controlled from the tags table defined in the interface.ccl. The prolongation method defaults to "Lagrange" and the other options are "None" and "TVD" (which I'm now sure doesn't work properly). As an example, from CartGrid3D: REAL coordinates type=GF tags='Prolongation="None"' { x, y, z, r } switches off prolongation for the coordinates. Also, a one off opportunity to marvel at C++ code that combines the worst features of Fortran with the worst features of C... darcs-hash:20031015051401-58737-870c23e54e58164a45ffe3438e393587b1cc670b.gz
* Make gf and data objects store a Cactus variable index that thisschnetter2003-10-14
| | | | | | | | Make gf and data objects store a Cactus variable index that this object is associated with. This can be used to access various kinds of information, e.g. variable names. darcs-hash:20031014143916-07bb3-678d114393008db7790b5ed72d6462673414c06a.gz
* Some very simple TVD prolongation routines. Uses minmod so probably not very ↵hawke2003-10-14
| | | | | | | | | accurate either. Some very simple TVD prolongation routines. Uses minmod so probably not very accurate either. These are almost completely untested. As such they will be compiled but not linked against - you'll have to modify data.cc to make them actually be used. darcs-hash:20031014125346-58737-6784481a876ebabaee43b280739d3c279170ae26.gz
* bbox::size() and bboxset::size() return the number of grid points, notschnetter2003-09-19
| | | | | | | | | bbox::size() and bboxset::size() return the number of grid points, not the product of the shape. This makes larger grids possible. Mark necessary future changes for vector grid functions with VGF. darcs-hash:20030919140641-07bb3-94c1897464dcc159725618d611ac28f3f75a3011.gz
* Track the C++ standard.schnetter2003-08-28
| | | | | | | | | Track the C++ standard. Derived template classes do not have their template parent classes in scope; one has to explicitly use "this->" to access parent class elements. darcs-hash:20030828192703-07bb3-09c0c6267bffab1dee6bc3a4cfd4b156b51e39b0.gz
* Fix bug.schnetter2003-08-28
| | | | | | | Fix bug. Remove duplicate functions. darcs-hash:20030828190727-07bb3-ec3abefc3438a4822d11d3ff43587a0968e9a2a9.gz
* Check for overflow in calculating bbox sizes.schnetter2003-08-15
| | | | darcs-hash:20030815073254-07bb3-d964703599463eb0657c0d6c6a00d3450fc3c31d.gz
* Undo last change, which was interrupted.schnetter2003-08-10
| | | | darcs-hash:20030810195845-07bb3-f96960adb07b21f8a202fcf673389c21aa516095.gz
* Initialise new time levelsschnetter2003-08-10
| | | | darcs-hash:20030810195309-07bb3-b72a129026bf8d159cfaafaf3ee0b78212596d7f.gz
* Fix bug in three timelevel initialisation:schnetter2003-08-10
| | | | | | | | | Fix bug in three timelevel initialisation: Change order of time level flipping and restricting. ggf.cc: Remove commented out code. darcs-hash:20030810105209-07bb3-40c12c5fb838cd56a99f26c8ca71529bfe11a900.gz
* Add doxygen documentation.schnetter2003-08-03
| | | | | | | Add doxygen documentation. Doxygen is great. Forget grdoc. Forget you even ever heard its name. darcs-hash:20030803142621-07bb3-e18d0b14080698cd6ddbe94deb678ce0a29fd339.gz
* Fix bug in outputing outer boundary specification.schnetter2003-07-25
| | | | darcs-hash:20030725141959-07bb3-2e255426717eba1898d9154d8c25ebe6627278a9.gz
* Reformat source code more nicely.schnetter2003-07-23
| | | | darcs-hash:20030723123144-07bb3-a0618075e3de075e10c86a0b244fec87b052a919.gz
* Fix the casing of the postrestrict group to PostRestrict. Update allschnetter2003-07-20
| | | | | | | | | | | | | Fix the casing of the postrestrict group to PostRestrict. Update all schedule.ccl files accordingly. Introduce a Carpet parameter buffer_width. This parameter specifies a region within refined grids that is also boundary-prolongated. Introduce a function CarpetEnableProlongation to dis- and re-enable boundary prolongation. darcs-hash:20030720190343-07bb3-0c5db5cebe769c0d4b3237f11a089aab9da94b1a.gz
* Fix uninitialised variables in vector functions.schnetter2003-07-17
| | | | darcs-hash:20030717134028-07bb3-e4bead1009c4fa048004145ccb0c302f395d3d1d.gz
* Don't put a buffer zone at outer boundaries of refined grids.schnetter2003-07-17
| | | | darcs-hash:20030717102405-07bb3-14d73938a57d6ba625cbd2a90bad5ca3905472f5.gz
* Introduce a buffer zone between the prolongation destination andschnetter2003-07-16
| | | | | | | | Introduce a buffer zone between the prolongation destination and restriction source grid points. Set its width to 2 by default. This seems to be necessary for second order convergence. darcs-hash:20030716194558-07bb3-d34ffc034cb54e4dcce2e2be2bd378184a79304e.gz
* Declare some more routines as taking a const cGH *, to match theschnetter2003-07-14
| | | | | | | Declare some more routines as taking a const cGH *, to match the recent changes in the flesh. darcs-hash:20030714134134-07bb3-6c0078627d40a9d05320632feba2277afdd33bdf.gz
* Add 5th order spatial interpolation.schnetter2003-06-24
| | | | darcs-hash:20030624120058-07bb3-01d8634b9ffbc710b6102af4d3128f32b73f21d2.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
* Major update after a quiet time.schnetter2003-06-18
| | | | | | | | | | | | | | | | | | | | Major update after a quiet time. Carpet: The flesh now has new cGH fields cctk_levoff[], cctk_levoffdenom[], and cctk_timefac that describe the spatial offset and temporal refinement factor between the base and the current refinement level. These fields are now set and used; they change how coordinates are handled. CarpetIOASCII: Fix bugs regarding choosing the output hyperslab and the output coordinates. ID*, *Toy*: New WaveToy examples with various formulations and different integrations methods. Currently, none of them converge to second order except the standard WaveToy formulation. These updates require the recent flesh, base thorn (and MoL) updates. darcs-hash:20030618162427-07bb3-70761f74bce6ae246b5a2943a385647657d46d34.gz
* Don't insert empty bboxes into the bbox lists for the transfer descriptions.schnetter2003-05-23
| | | | darcs-hash:20030523215231-07bb3-7eb2acb8636c41c453126b55d3833abd8457184a.gz
* added instantiation of vector<vect<vect<boolshawley2003-05-20
| | | | darcs-hash:20030520082627-e415b-0d37ec4491c2586228a3fb7952e60dbee7f85939.gz
* Handle empty grids.schnetter2003-05-13
| | | | | | | | | | Handle empty grids. Fix global and level mode handling of the interpolator. Allow local mode calls for the interpolator, reduction operator, and hyperslabber, assuming that people know what they are doing. darcs-hash:20030513101400-07bb3-42af7544c2ea98dbef5a7ad6d5112bea2dcc404f.gz
* Implement a proper separation between global, level, and local mode.schnetter2003-05-08
| | | | | | | Implement a proper separation between global, level, and local mode. This is a major change that might break things. darcs-hash:20030508133549-07bb3-95ccfb6eb2b64e72353d301afddd8722a92c64a3.gz
* Restrict all of the interior of the grid.schnetter2003-05-07
| | | | darcs-hash:20030507080416-07bb3-a24233f31d7e84cae61adc9b0affcf1da164f382.gz
* Comment internal variable _owns_storage more thoroughly.schnetter2003-05-02
| | | | darcs-hash:20030502135918-07bb3-6e9e7dee518a1a591ad66a88ba1e43602e9abdca.gz
* Do not initialise the finer levels of the grid functions at initialschnetter2003-05-02
| | | | | | | Do not initialise the finer levels of the grid functions at initial time through prolongation. darcs-hash:20030502122312-07bb3-ad2023a18bb9177cae3fbbe0df5aa4401f0a0259.gz
* dh.cc: Handle empty grids, i.e. processors without any grid points.schnetter2003-04-30
| | | | | | | dh.cc: Handle empty grids, i.e. processors without any grid points. gh.cc: More veryverbose screen output before regridding. darcs-hash:20030430103939-07bb3-bd5fdf75dc6f36ee63b696690d8d03567ecd1492.gz
* Remove #warning statements that are not understood by the SGIschnetter2003-03-28
| | | | | | | Remove #warning statements that are not understood by the SGI compiler. What was I thinking? darcs-hash:20030328091154-07bb3-dc9908d5049478c1e85f72a4bb4a1703fdf83fb1.gz
* bboxset.cc: Output setsize as well.schnetter2003-03-26
| | | | | | | | | | | | | | | | | | | | | | bboxset.cc: Output setsize as well. dh.cc: Add #warning statements where future improvements might be necessary. dh.cc: Allow prolongation bbox set with more than one element. dh.cc: Normalise the bbox sets for the prolongation and boundary prolongation. dh.hh: Add a comment regarding what is synced and what not. ggf.cc: Add #warning statement where future improvements might be necessary. vect.cc: Instantiate vect<bool,3>. vect.hh: vect::replace is const. darcs-hash:20030326163443-07bb3-3b2f685d3fd928e5a0b75a633aff5a67bf54bf47.gz
* Add normalize routine to normalise bboxsets. This isn't perfect yet,schnetter2003-03-18
| | | | | | | | | | | Add normalize routine to normalise bboxsets. This isn't perfect yet, i.e. it still misses some cases. Fix bug in calculating the regions that should be restricted to: exclude all regions used as source for boundary prolongations, even if these prolongations go to a different processor. darcs-hash:20030318163025-07bb3-1cfed59a57c2db71d3dae5528e93a570ccb13101.gz
* Add iterator that traverses a bbox in transposed (i.e. C instead ofschnetter2003-03-17
| | | | | | | Add iterator that traverses a bbox in transposed (i.e. C instead of Fortran) order. darcs-hash:20030317092418-07bb3-8f6c6c877571615751c3c6edb875bc5436b6c390.gz
* Added extra lineshawley2003-02-27
| | | | | | | | Added extra line template ostream& output (ostream& os, const vector<vect<vect<bool,2>,3> >& v); to correct link error with Intel compiler. darcs-hash:20030227212319-e415b-5fc35f682ea3640f07d9de4ff3f437f82ea2fda5.gz
* Handle empty bboxes.schnetter2003-02-25
| | | | | | | | | | | | | | | | | | | | | | Handle empty bboxes. *.F77: Better error checking whether the active region is contained in the source and destination arrays. *.F77: Temporarily activated per-gridpoint checking of array accesses. bbox.cc bboxset.cc: Handle empty bboxes better -- either handle them correctly, or abort. gdata.cc: Recognise empty regions. ggf.cc: Remove line that was commented out for a long time. dh.cc: Choose send and recv regions for syncing and prolongation so that they don't overlap. dh.cc: Handle empty bboxes. darcs-hash:20030225215700-07bb3-a7296dd92353c003bc0bd3ff435e4939f8041eae.gz
* Abort when the region is empty.schnetter2003-02-24
| | | | darcs-hash:20030224164310-07bb3-74aea71016b7064c9232175c804c72c3d697614e.gz
* Forbid to expand and contract empty boxes. This exposed a few bugs inschnetter2003-02-24
| | | | | | | Forbid to expand and contract empty boxes. This exposed a few bugs in other places. darcs-hash:20030224161129-07bb3-41c06d9a0fa2e2d62e1785183fe55683c8a55808.gz
* Work around what I believe is a bug in the IBM C++ compiler.schnetter2003-02-11
| | | | darcs-hash:20030211095416-07bb3-19d555e694a4efc8bcb0b8c6e44acf47794c80b1.gz
* Inserted missing "typename" keyword.schnetter2003-01-10
| | | | darcs-hash:20030110220716-07bb3-899e9c95efd39b4ce2b097e38b27a1b28c5e9959.gz