aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOASCII
Commit message (Collapse)AuthorAge
* 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
* 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
* 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
* Make CarpetIOASCII parameters private rather than restricted so that theytradke2003-09-02
| | | | | | don't interfere with other implementations of IOASCII. darcs-hash:20030902103717-1d9bf-52b94299763b04c2798724d97f5794ee5c6c15c6.gz
* Do not inherit Hyperslab.schnetter2003-08-14
| | | | darcs-hash:20030814152254-07bb3-5a01620db9f5226b7e1d8efd6089085ea7816675.gz
* Don't divide by zero when IOASCII::outND_every is set to 0.tradke2003-08-08
| | | | darcs-hash:20030808123548-1d9bf-16d8b46e0ed765f7d87a24cf7739166082af95fe.gz
* Use thorn name instead of implementation name in calls to CCTK_Parameter*.schnetter2003-08-01
| | | | darcs-hash:20030801114519-07bb3-b1698398c72972eafd2ed5ac1718113b9032d9fc.gz
* Another perl utility for converting CarpetIOASCII gnuplot output to ygraph. ↵hawke2003-07-07
| | | | | | | | | | This one removes all the "redundant" points on the coarser grids, replacing them with the fine grid data. Another perl utility for converting CarpetIOASCII gnuplot output to ygraph. This one removes all the "redundant" points on the coarser grids, replacing them with the fine grid data. Note that it does not give informative headers in the final files. Neither does it check that the output lines are aligned for different refinement levels - you may end up with very strange pictures. darcs-hash:20030707120930-58737-3d2a40384503d0aac9961f76261fa59294bbf5b8.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
* Handle level offsets correctly.schnetter2003-05-13
| | | | darcs-hash:20030513143210-07bb3-990f93fd580b0009b7b90f424b85f4c76247c0cf.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
* Change C array with new and delete into C++ vector.schnetter2003-03-27
| | | | darcs-hash:20030327161137-07bb3-a2d4efff7b87bc82acc01f0d7ea150046d742bd7.gz
* Output the grid variables in C instead of Fortran order, as this isschnetter2003-03-17
| | | | | | | Output the grid variables in C instead of Fortran order, as this is what gnuplot expects. darcs-hash:20030317092449-07bb3-058193ab00a224b68974320df6339e772200dda3.gz
* Change many "cGH *" to "const cGH *", and apply corresponding updatesschnetter2003-03-12
| | | | | | | Change many "cGH *" to "const cGH *", and apply corresponding updates to the const-ness of other variables. darcs-hash:20030312083444-07bb3-0f26f780a1bdfb844c3e00383f787d674dc61c84.gz
* Removed the "dimgeneric_*" data types from CarpetLib. They were neverschnetter2003-01-03
| | | | | | | | | | | | | Removed the "dimgeneric_*" data types from CarpetLib. They were never really used anyway. Changed "th" into "th<D>". Renamed "generic_*" to "g*". Propagated these changes to all other places. darcs-hash:20030103144936-07bb3-c4d74d2d94a56a898f9bb735666eefc01e2610e2.gz
* Change parameter "outdir" to "out_dir".schnetter2002-10-24
| | | | darcs-hash:20021024100034-07bb3-ea31bde68f93f0e1f9e4cbfb7bdf34cb93ecc4fd.gz
* Added arrangement name and final semicolon to CCTK_FILEVERSION macros.schnetter2002-10-24
| | | | darcs-hash:20021024083937-07bb3-11e861873bf12a44fcadf075486608e6541c33de.gz
* Applying patches from Ian Hawke:schnetter2002-10-16
| | | | | | | | | | | | | | | | Applying patches from Ian Hawke: Added very basic (and pretty useless) documentation. Added perl script that converts to x/ygraph format. Not convinced that the perl script will work correctly for a multiprocessor run. The current behaviour is that if component 0 is output first then it will be "correct", but that the points on more than one component are output multiple times. I think this is a useful check -- YMMV. However, I think the results will be incorrect if component 0 is not the first one output; I have yet to encounter this case. darcs-hash:20021016103605-07bb3-e161bcb452f9350c3bccb1b91f957c4a56588ba8.gz
* Fixed calculation of coordinates after the recent changes inschnetter2002-10-15
| | | | | | | Fixed calculation of coordinates after the recent changes in CarpetLib, as pointed out by Ian. darcs-hash:20021015133042-07bb3-ae264c48fcc9ca20e65e0b2ec0aa2e6598dcf71a.gz
* Added a large quantity of makefile magic to make Scott's carpet2*schnetter2002-09-30
| | | | | | | | | | | Added a large quantity of makefile magic to make Scott's carpet2* converters compile automatically. carpet2xgraph should compile all the time, carpet2sdf only when the necessary rnpl libraries are installed. Boy, is this *-utils stuff in Cactus a mess. darcs-hash:20020930133628-07bb3-be133c40ed242545c97f8915dccc042cd67e0c20.gz
* Fixed dangling pointer; there was a vanishing temporary variable.schnetter2002-09-26
| | | | darcs-hash:20020926080406-07bb3-b17fdcef0e24706677c13eafa5deb5166d48a58f.gz
* Changed automatic array back to new-delete pair.schnetter2002-09-01
| | | | darcs-hash:20020901170722-07bb3-6cdaa756183d3f8a524c78b04e63669796873f14.gz
* Fixed quite a few include guard mishaps.schnetter2002-09-01
| | | | darcs-hash:20020901125223-07bb3-f494618480c1ffc46118365c4c957d7a313d7be9.gz
* Indentation change.schnetter2002-09-01
| | | | darcs-hash:20020901123745-07bb3-df0800adfec335b1f0e60443a0068736e174bf0d.gz
* Added include guards.schnetter2002-09-01
| | | | darcs-hash:20020901123713-07bb3-cda98dedaae8d9fe6ebfe2ebd856a36924114235.gz
* Changed new/delete pair into automatic variable.schnetter2002-09-01
| | | | darcs-hash:20020901074434-07bb3-574af5e86a7a6e9c94d7e8379b1fbaed260e31ea.gz
* Removed file-scope static function declarations in CarpetIOASCII,schnetter2002-08-30
| | | | | | | | Removed file-scope static function declarations in CarpetIOASCII, because a modern IBM C++ compiler had problems with this deprecated feature of C++. Using a namespace instead. darcs-hash:20020830160852-07bb3-23b772154bffa09c2c36df6ec55c56aaf6669db6.gz
* Fixed some compiler warnings. Mostly added C++ "typename" keywords.schnetter2002-08-30
| | | | darcs-hash:20020830140318-07bb3-061e0233bad17df8536c1dba820b560d6578f4df.gz
* fixed bug in which only 6 significant figures were being printedshawley2002-08-05
| | | | darcs-hash:20020805133938-e415b-25981e4d1f52fdd58c095aad354ea09fe36447f0.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
* Added utilities that covert from Carpet's ASCII output to SDF orschnetter2002-07-15
| | | | | | | Added utilities that covert from Carpet's ASCII output to SDF or xgraph format. These utilities were written by Scott Hawley. darcs-hash:20020715151012-07bb3-57fa8427c46f1626625e08fc79669c3a8650cab1.gz
* Fixed bug in ASCII output that Scott Hawley pointed out to me. Whenschnetter2002-06-26
| | | | | | | | Fixed bug in ASCII output that Scott Hawley pointed out to me. When opening a file for appending, it is necessary to use "ios::app", because the file will be truncated otherwise. darcs-hash:20020626140216-07bb3-a32fb0601e63c2338439c2bd6a473c1fffd17653.gz
* Changed output mode specifiers.schnetter2002-06-05
| | | | darcs-hash:20020605175241-07bb3-072ff724b0cbc5ecad261a17f8e0b60cc69ba60e.gz
* Updated Carpet to the recent changes in Cactus.schnetter2002-04-29
| | | | | | | | | | | | Updated Carpet to the recent changes in Cactus. I/O: Finding out whether this is a restart now requires looking at the ioGH structure. Timelevels: Timelevels now have to be allocated explicitely. Made Carpet compile with the Intel 6.0 C++ compiler. darcs-hash:20020429092752-07bb3-65b0b317ba98c017e16294d2ff8ac6a8a424a102.gz
* Added author (myself) to READMEs.schnetter2002-03-26
| | | | darcs-hash:20020326143420-07bb3-85a3c8c972f5fbf1af3160224f74f8f17867d27e.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
* 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
* Moved ASCII output from CarpetLib (where it never belonged) toschnetter2002-01-09
| | | | | | | | | Moved ASCII output from CarpetLib (where it never belonged) to CarpetIOASCII. Added parameter to not output the ghost zones for ASCII output. darcs-hash:20020109224240-07bb3-457f3768c8aee0b68db6a7a85741ccd9191ee39e.gz
* Made it compile with gcc 3.0.schnetter2002-01-08
| | | | darcs-hash:20020108124922-07bb3-24c8c2c58323f3edf42c3ec5d12fd662d99a32a9.gz
* Changed the ASCII output format due to popular demand. Now includesschnetter2002-01-08
| | | | | | | Changed the ASCII output format due to popular demand. Now includes physical time and physical coordinates instead of only indices. darcs-hash:20020108110354-07bb3-15982730e02655f8249c809e3cf9703d0fb3f5c7.gz
* Fixed test cases for axial symmetry (changed parameter files.)schnetter2001-12-17
| | | | | | | | Fixed test cases for axial symmetry (changed parameter files.) Extented Carpet to handle multiple grid components per processor. Currently works on one processor only. darcs-hash:20011217123400-07bb3-47796190d04061ea23798717f6714978bf7e1f55.gz
* Added new thorns CarpetReduce and CarpetRegrid to parameter files.schnetter2001-12-14
| | | | darcs-hash:20011214165954-07bb3-e68f15a15027098cd26981663394a4365aee510d.gz
* Made ASCII output line/plane selection more convenient. Should nowschnetter2001-12-07
| | | | | | | | Made ASCII output line/plane selection more convenient. Should now always select a location that also exists on the coarse grid, and hence output the same location on all grids. darcs-hash:20011207172329-07bb3-edb52e32772499e544cb4e0c4bb550b8113f5c2c.gz
* Same as the last, but with better diagnostics.schnetter2001-12-05
| | | | darcs-hash:20011205153029-07bb3-52988b03f4cea05a1f3963acdb3028ee840274a2.gz
* Prevent core dump when the specified output coordinate is not on the grid.schnetter2001-12-05
| | | | darcs-hash:20011205152726-07bb3-5c72caf0c73a825d3aacf4249277ecfa06a56ee0.gz
* Adapted Carpet to the new Cactus API. Works on Linux. High hopes for SGIs.schnetter2001-11-05
| | | | darcs-hash:20011105165301-07bb3-7021e7a839dfd9970aad6ff46278b551dc5a239e.gz
* Next round of const-correcting Carpet for SGIs.schnetter2001-11-02
| | | | darcs-hash:20011102160918-07bb3-2510b642ee4b426e433cb4f48d045e25c7a87e55.gz
* Trying to get Carpet const-correct under various compilers. Thisschnetter2001-11-02
| | | | | | | Trying to get Carpet const-correct under various compilers. This time, on SGIs. darcs-hash:20011102150503-07bb3-896f54be90f36719c0cfeadadbf5bfb04d2efdea.gz