aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOASCII/src
Commit message (Collapse)AuthorAge
* Patch from Peter Diener to accept both spaces and tabs as data delimiters.tradke2004-06-24
| | | | darcs-hash:20040624073511-1d9bf-6e199caae36015801b1416171392ceb17c1a6c9a.gz
* Output floating-point numbers with precision as specified by the ↵tradke2004-06-23
| | | | | | | | IOASCII::out_precision parameter. Replaced " " delimiter by a single tab to save file space. darcs-hash:20040623153641-1d9bf-1ac576623c6f113dbe93d6ef18c33a15b1f1d1f5.gz
* Store the last output iteration/time instead of the next outputschnetter2004-06-21
| | | | | | | Store the last output iteration/time instead of the next output iteration/time. This makes it easier to change the output interval. darcs-hash:20040621140719-07bb3-aef65e9eca849a82c360b8bf6684829ada3860af.gz
* Correct indentation.schnetter2004-06-21
| | | | darcs-hash:20040621102819-07bb3-6a7b11718161276682cf70dc11dcd3a991e5b95a.gz
* Implement strict parameter parsing at startup.tradke2004-06-14
| | | | | | Fixed a few g++ compiler warnings. darcs-hash:20040614073410-1d9bf-2a5ead221c67ffd8fb12151471415fd06b41d3c2.gz
* Fix sanity check.schnetter2004-06-14
| | | | | | | | | Fix sanity check. Remove commented out code. Remove unnecessary parenthesis. darcs-hash:20040614045851-07bb3-fc82ad77b3f73b9bacf09d04cb158638c6910f1d.gz
* Added the option "divisor" to out?d_criterion.bzink2004-06-03
| | | | darcs-hash:20040603080347-5b8bb-9375277326973c1c75fe326db70081817fdc31fd.gz
* Use "." instead of "-" to separate the patch number from the rest ofschnetter2004-05-27
| | | | | | | Use "." instead of "-" to separate the patch number from the rest of the file name. darcs-hash:20040527102303-07bb3-73514051b9a9776633a63d1f8fc7cc8e7f3f4650.gz
* Switch to using vector groups for I/O state.schnetter2004-05-21
| | | | | | | | | Switch to using vector groups for I/O state. Correct return types. Simplify out_dt handling. darcs-hash:20040521161037-07bb3-f6775a4be7a9c9e7470d407582b91d83add53a22.gz
* Warn instead of abort when outdim>groupdim.schnetter2004-04-22
| | | | darcs-hash:20040422122259-07bb3-04c097a10da4dd8c6f774751ef6bf012920fa4e7.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
* Do not use CCTK_QueryParameterTimesSet to find out whether to use aschnetter2004-04-03
| | | | | | | | Do not use CCTK_QueryParameterTimesSet to find out whether to use a parameter value from this thorn, or from IO. Use special parameter values for that instead, and make these the default. darcs-hash:20040403103812-07bb3-9ced16d97fe79409f081d910121401e9e1ffe12f.gz
* Use vector::at() instead of vector::operator[] to access vector elements.schnetter2004-03-23
| | | | darcs-hash:20040323183014-07bb3-4562b1a7b1dda25fbcccc7689c19bbd432b8a1ff.gz
* Check parameter type before assigning the value.schnetter2004-03-23
| | | | darcs-hash:20040323151303-07bb3-513aa97fe67d1c3b883c5125fd66e622b1d69ad3.gz
* Use new iteratorsschnetter2004-03-11
| | | | darcs-hash:20040311133742-07bb3-f958149e70c278fe6f9a214d8074762113b6d062.gz
* Output complex numbers by overloading operator<< instead of throughschnetter2004-03-01
| | | | | | | Output complex numbers by overloading operator<< instead of through special type cases. darcs-hash:20040301191521-07bb3-59a38397d6d7c05a46c9aa372046dbefb0bbad02.gz
* Partially undo a change that would require another change.schnetter2004-02-27
| | | | darcs-hash:20040227160959-07bb3-3f0449b16e4478929f821b8cacbf254d79ea86c6.gz
* Use new bbox iterators in all places (I missed some before).schnetter2004-02-27
| | | | darcs-hash:20040227144018-07bb3-9fe22a2e0c96216fe30daae38b21e4a474d03e40.gz
* Remove #warning statement.schnetter2004-02-18
| | | | | | | Remove #warning statement. Use cGH entries instead of Carpet global variables. darcs-hash:20040218141838-07bb3-1644927d8d2948c7742c4cac9b3ab7d93193858f.gz
* Add 0-dimensional ("point") output. This is necessary to output gridschnetter2004-02-18
| | | | | | | | | | | Add 0-dimensional ("point") output. This is necessary to output grid scalars. Make the output triggering on all refinement levels be independent. Honour do_global_mode when outputting grid scalars and grid arrays. darcs-hash:20040218141229-07bb3-87d51a3ac71175ba7d190f45dd0d735e81ff0350.gz
* Allow output for grid variables with just one grid point in certainschnetter2004-02-09
| | | | | | | | Allow output for grid variables with just one grid point in certain directions. This grid point will get the lower boundary of the coordinate system. darcs-hash:20040209135302-07bb3-6c022e1c5e263535fa22fe6b8f368a9e9b1889ec.gz
* Do not accidentally forbid output for grid variables with only oneschnetter2004-02-07
| | | | | | | Do not accidentally forbid output for grid variables with only one grid point. darcs-hash:20040207152111-07bb3-60db780519b86a7d6321f1a233d9b071fe45646d.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
* Modified Carpet2ygraphCat. Works with progressive and moving meshes. Wastes ↵hawke2004-01-23
| | | | | | a lot more memory and disk space than it used to. darcs-hash:20040123074040-58737-eef0cd6ebc85e62611a2f15ab5eb0b927a4bc98a.gz
* Output a real error message if a file cannot be opened for writing.schnetter2003-11-13
| | | | darcs-hash:20031113150338-07bb3-d614c53c250f86c87ead3aa8a7b97c74439b0c04.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
* 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
* 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