aboutsummaryrefslogtreecommitdiff
path: root/CarpetAttic/CarpetIOFlexIO
Commit message (Collapse)AuthorAge
* Remove CVS header tagsErik Schnetter2004-09-18
| | | | | | Replace all CVS header tags with the standard "$Header:$". darcs-hash:20040918132147-891bb-dea889bdd94a479ec412d14d08e9efca63e5c24d.gz
* Improve error messageschnetter2004-03-08
| | | | darcs-hash:20040308071229-07bb3-2cb5eb5795fcf763f72a09ca1549c34d774bca40.gz
* Replace [] array accesses with .at() array accesses.schnetter2004-03-01
| | | | | | | | Replace [] array accesses with .at() array accesses. Track and check whether all grid points of a variable have been initialised. Abort if it is not so. darcs-hash:20040301212246-07bb3-4b03051d52085be708bdf6643fbdd899512cf56e.gz
* Make FlexIO output work for grid arrays as well.schnetter2004-02-27
| | | | darcs-hash:20040227152334-07bb3-d3238b5b22c759ea619c4fe7eb5f286613841c9e.gz
* Make FlexIO output work for grid arrays as well.schnetter2004-02-27
| | | | darcs-hash:20040227142334-07bb3-fa364bf9c2f216af99d16e923efc9635b65c8d03.gz
* Add functions to read attributes.schnetter2004-02-10
| | | | | | | | | Add functions to read attributes. Store the dataset name in the file. Read variables from files based on the stored name, not based on the filename. darcs-hash:20040210101414-07bb3-893b0f6bddd8acd0e7dcc1b1d35bd310d57b6f79.gz
* Fix bugs in the file reader.schnetter2004-02-09
| | | | | | | Fix bugs in the file reader. Register the file reader with the IO interface. darcs-hash:20040209140232-07bb3-569649d7cbc8b14eb96cefb87d888f3f2c0fb318.gz
* FlexIO string attributes seem to need space for the trailing nul character.schnetter2004-02-07
| | | | darcs-hash:20040207153417-07bb3-d093562a97823a3daff6d01c62b947f27d7acfe9.gz
* Make the file reader work.schnetter2004-02-07
| | | | darcs-hash:20040207152156-07bb3-5b44697ec895aa3744df7cc23d1f705a223bfc20.gz
* Make the file reader work.schnetter2004-02-07
| | | | darcs-hash:20040207142140-07bb3-e5e38c10925f303f4ca0d67f4c52142e78403d8d.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
* 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
* Fix CVS Header tag.schnetter2003-12-10
| | | | darcs-hash:20031210171425-07bb3-2f77d9b624c8000ba1cecb85223edb54fb54c8c9.gz
* Add the content of the cGH structure to each dataset. This allows toschnetter2003-12-10
| | | | | | | | | Add the content of the cGH structure to each dataset. This allows to extract all the information independent of FlexIO. There is also a version number "carpet_flexio_version" that will increase for every incompatible change. darcs-hash:20031210170853-07bb3-31f1ce9c51d6dfb67d265f1ee806522c7391aac5.gz
* Correct dependencies.schnetter2003-11-19
| | | | darcs-hash:20031119151220-07bb3-9001adde0d782838b017cf104e06736858534c47.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
* 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:20031105141838-07bb3-d348d033307d82905893e241be485c4db2ce8ce3.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
* Re-commit of old version to fix my accidental commit yesterday.cvs_anon2003-09-24
| | | | darcs-hash:20030924061502-62b91-2428a17befd681cd13e3989d486038b8fbadac78.gz
* another (updated) development versioncvs_anon2003-09-23
| | | | darcs-hash:20030923103212-62b91-f2161d87387c7e4c88290a8b4f78b56ef4b048ee.gz
* Hack to stop FlexIO data type clash with LAM MPI.tradke2003-09-08
| | | | darcs-hash:20030908124148-1d9bf-d1565620e6e88b5a5c0485a24f5e7cac8e5e6521.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 CarpetIOFlexIO parameters private rather than restricted so that theytradke2003-09-02
| | | | | | don't interfere with other implementations of IOFlexIO. darcs-hash:20030902103751-1d9bf-7725b3283b42d1ab07e7fdd611124551845bb70c.gz
* Do not inherit Hyperslab.schnetter2003-08-14
| | | | darcs-hash:20030814152254-07bb3-5a01620db9f5226b7e1d8efd6089085ea7816675.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
* No need anymore to set SYS_INC_DIRS to point to the include directory fortradke2003-07-04
| | | | | | FlexIO header files. darcs-hash:20030704140357-1d9bf-27ec51c917eea9c9a89bd195ebc378dc90e2f0dd.gz
* Import FlexIO header files via the 'uses include header' mechanism.tradke2003-07-04
| | | | darcs-hash:20030704140249-1d9bf-1a8c080678337b5d978538bc548fbd779cc35f2f.gz
* More #ifdefs for HDF[45]-specific parts of the code.tradke2003-07-03
| | | | darcs-hash:20030703085105-1d9bf-756568b9fef77ca637942aa831be7706b18f5250.gz
* Add the location of FlexIO header files to SYS_INC_DIRS.tradke2003-07-03
| | | | darcs-hash:20030703080302-1d9bf-561dde024e14c409479dee9ad540a1defda48c79.gz
* Also inherit from FlexIO.tradke2003-07-03
| | | | darcs-hash:20030703080235-1d9bf-2dee98f62a145272865355eb29b9b08d7c8ddcbb.gz
* Put '#ifdef HDF4' around HDF4-specific parts of the code.tradke2003-07-03
| | | | darcs-hash:20030703080203-1d9bf-96b0016155457f3a8e9de996c706ef8f49810b96.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
* 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
* Remove non-working autoconfiguration for finding the FlexIO library.schnetter2003-04-30
| | | | darcs-hash:20030430104437-07bb3-f7750307c5df9e2e826600e46d9de57c580b97ad.gz
* Forgot to allocate storage for a vector.schnetter2003-03-27
| | | | darcs-hash:20030327161155-07bb3-1f64830a4c29c1ebcd2a050caeb6469a379cdfe2.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 non-standard use of alloca() with vector<>.schnetter2003-02-28
| | | | darcs-hash:20030228090947-07bb3-77269b34e137c53a09eda567b6a1f1fde779b90e.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
* Some cleaning up of comments. Some changes to the makefileschnetter2002-12-12
| | | | | | | Some cleaning up of comments. Some changes to the makefile autoconfiguration stuff. darcs-hash:20021212115707-07bb3-1a2c92110ec6865f5fa355ead769465822c97735.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:20021024085113-07bb3-e4aa24031b3730a42b9b7c67598e7b20748a4551.gz
* Fixed quite a few include guard mishaps.schnetter2002-09-01
| | | | darcs-hash:20020901125223-07bb3-f494618480c1ffc46118365c4c957d7a313d7be9.gz
* Added semi-automatic detection of include paths, library paths, and libraries.schnetter2002-08-16
| | | | darcs-hash:20020816181957-07bb3-ca5dd8b330968e1dcde53a5c5b7474c78cd7fe2c.gz
* Removed "make.configuration.defn" file. Using makefile fragments forschnetter2002-08-13
| | | | | | | | | | | Removed "make.configuration.defn" file. Using makefile fragments for configuration is not a good idea (it is not portable); one should use autoconf instead. In the mean time, add the library names to your LIBS variable while you configure. darcs-hash:20020813113713-07bb3-47167f0194f7edaba72711de50cc3a7b2ee936ce.gz
* added file make.configuration.defn, to define additional libs needed forshawley2002-08-08
| | | | | | | added file make.configuration.defn, to define additional libs needed for FlexIO usage darcs-hash:20020808123014-e415b-c2a64e34d1a070161b575653a2f519663e8a3193.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
* 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