aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOScalar
Commit message (Collapse)AuthorAge
* Timers: Move all timer-related code into a new thorn TimersErik Schnetter2013-08-07
|
* CarpetIO*: New parameter CarpetIO*::out_group_separatorErik Schnetter2013-05-26
| | | | out_group_separator chooses the string by which thorn name and group name are separated in file names. The default is "::" for backward compatibility. This parameter only affects output where CarpetIO*::one_file_per_group is set; otherwise, the thorn name does not appear in the file name.
* CarpetIO*: Output complex numbers as pair of real numbersErik Schnetter2013-03-25
| | | | Don't use the (real,imag) notation that C++ would use by default.
* Replace Cactus complex number type with C/C++ complex numbersErik Schnetter2013-03-08
| | | | | | | | | | | | | Map CCTK_COMPLEX to "double complex" in C, and "complex<double>" in C++. (It is already mapped to "double complex" in Fortran.) Update type definitions. Re-implement Cactus complex number math functions by calling the respective C functions. Update thorn that access real and imaginary parts of complex numbers to use standard-conforming methods instead.
* CarpetIO*: Do not overwrite last_output_iteration after recoveryErik Schnetter2012-09-11
|
* Move MPI support from flesh to a thornErik Schnetter2012-09-11
| | | | | | | Move MPI support from flesh to thorn ExternalLibraries/MPI. This also requires thorns that call MPI directly to declare this in their configuration.ccl. Existing configurations using MPI need to include ExternalLibraries/MPI into their thorn list.
* CarpetIOScalar: add test cases for all combinations ofRoland Haas2012-09-11
| | | | one_file_per_group and all_reductions_in_one_file
* CarpetIOScalar: correct column labelsRoland Haas2012-09-11
| | | | when both one_file_per_group and all_reductions_in_one_file are active
* CarpetIOScalar: fix handling of io_truncate_filesRoland Haas2012-09-11
|
* CarpetIOScalar: add option all_reduction_in_one file to collect all reductionRoland Haas2012-09-11
| | | | results in a single file (with filename *.scalars.asc)
* Adapt Carpet to hierarchical timersIan Hinder2011-12-14
| | | | | | | | Specifically, remove any hierarchy information that has been added to the name of timers, as well as any code for creating timers dynamically, as these are now unnecessary. Additionally, time some previously-untimed parts of the code and make timer names in some places more consistent.
* CarpetIOScalar: Handle case when getenv("USER") returns NULLErik Schnetter2011-12-14
|
* Combine CarpetLib's INSTANTIATE and Carpet's TYPECASE mechanism into aErik Schnetter2011-12-14
| | | | | | single mechanism provided by CarpetLib. Use this mechanism everywhere.
* CarpetIOScalar: Handle both old and new IOUtil APIErik Schnetter2011-12-14
|
* Import CarpetErik Schnetter2011-12-14
| | | | Ignore-this: 309b4dd613f4af2b84aa5d6743fdb6b3
* Merge branch 'master' of /Users/eschnett/Cbeta/carpet/Erik Schnetter2008-12-02
|\
| * CarpetIOScalar: adapt mergeCarpetIOScalar.pl script to accept both an ↵Thomas Radke2008-12-02
| | | | | | | | iteration number and a physical simulation time in the first data column
| * CarpetIOScalar: Correct problem with IO::out_dtErik Schnetter2008-08-03
| | | | | | | | Correct a multi-processor synchronisation problem when using IO::out_dt.
* | CarpetIOScalar: Correct problem with IO::out_dtErik Schnetter2008-08-03
| | | | | | | | Correct a multi-processor synchronisation problem when using IO::out_dt.
* | CarpetIO: Adapt to changes in CactusBase/IOUtilErik Schnetter2008-07-11
|/ | | | | The CactusBase/IOUtil routine IOUtil_ParseVarsForOutput now accepts an additional parameter out_dt_default.
* bugfix to correct the parsing of cctk_time values without a decimal commaThomas Radke (AEI)2008-03-25
|
* CarpetIOScalar: Output simulation ID etc. after restartingErik Schnetter2008-03-10
| | | | | Output simulation ID, run ID, and build ID again after restarting. Clean up source code.
* CarpetIOScalar: Keep I/O statistics as CCTK_REALsErik Schnetter2008-02-19
| | | | darcs-hash:20080219052005-dae7b-42a0027084f2e29d4e905d18737c6d84cad541b1.gz
* CarpetIOScalar: Output Formaline's unique run idErik Schnetter2008-02-19
| | | | darcs-hash:20080219051947-dae7b-1357a272cb65d39c3f5932803e3140dbbbaabe4d.gz
* CarpetIOScalar: #include <cstring>Erik Schnetter2007-11-02
| | | | darcs-hash:20071102224456-dae7b-6da8be713083796c4300ed3ec52d0ee295946d55.gz
* CarpetIOScalar: Record time spent in I/OErik Schnetter2007-10-03
| | | | darcs-hash:20071003195015-dae7b-cc7705056e55d76a20ad0277588b57329886032a.gz
* CarpetIOScalar: Remove unused functionErik Schnetter2007-10-03
| | | | darcs-hash:20071003194951-dae7b-20207cdadb9dd250d1813042f36de0d7491177f8.gz
* CarpetIOScalar: Add a timer around OutputGHErik Schnetter2007-08-25
| | | | darcs-hash:20070825061335-dae7b-cb4eae5b88b08556a827c0454c97f885e0b3df93.gz
* CarpetIOScalar: Output grid point norms by defaultErik Schnetter2007-08-21
| | | | darcs-hash:20070821190134-dae7b-e0555549666511503a4ee4a22ae3c924ee88a8f3.gz
* CarpetIOScalar: Add output criterion "divisor"cott2007-07-05
| | | | | | Support output criterion "divisor" in CarpetIOScalar. darcs-hash:20070705025022-fff0f-579437f698ea00d3f9835b40c50252cd519d4a98.gz
* CarpetIOScalar: fix bug in utility script mergeCarpetIOScalar.plThomas Radke2007-04-20
| | | | | | | output merged data lines sorted by their time; only output comment lines appearing before the very first data line darcs-hash:20070420155818-776a0-a0cd0c3e55ca41c0280d975967dd02fc0d7c4184.gz
* CarpetIOScalar: fix bug in utility script mergeCarpetIOScalar.plThomas Radke2007-04-20
| | | | | | Not all data lines were output in the case of duplicate timesteps in multiple input files. darcs-hash:20070420144410-776a0-63258576be7f53c185fe5458c9a7f4943bab9049.gz
* CarpetIOScalar: Avoid duplicate variableErik Schnetter2007-04-19
| | | | darcs-hash:20070419021216-dae7b-e7bb85aa3261cbd8f5ca3302b973a464049bf9ab.gz
* CarpetIOScalar: Allow IO::out_dir to be steerableErik Schnetter2007-04-19
| | | | darcs-hash:20070419021201-dae7b-d2a7a17e5a909522928a93682d4f1f46ddfaf216.gz
* CarpetIOScalar: Do not overload operator<< for complex numbers any moreErik Schnetter2007-01-12
| | | | | | | Do not overload operator<< for complex numbers any more. This is now expected from the flesh. darcs-hash:20070112224122-dae7b-a9529446fb5b10e6f2cedebc2f4c047c401f9336.gz
* CarpetIOScalar: Change "Carpet::maps" to "maps"Erik Schnetter2007-01-12
| | | | darcs-hash:20070112224202-dae7b-880883a3b618ce11be5f1c1d1bd800630b3dfc77.gz
* CarpetIOScalar: Allow output in singlemap mode if there is only one map, etc.Erik Schnetter2006-12-06
| | | | | | | Allow output in singlemap mode if there is only one map, and in local mode if there is only one local component. darcs-hash:20061206164610-dae7b-289db2bd09ebb269dd7f5e85e1a2ad3b9b78e081.gz
* CarpetIOASCII and CarpetIOScalar documentation.texbaiotti2006-09-26
| | | | | | Add in the documentation missing descriptions of some utility scripts. darcs-hash:20060926150903-d5812-652e1fb2c182704dbe38312cc88dcdd08a587cea.gz
* CarpetIOScalar: Do not flush output stream after each lineErik Schnetter2006-09-17
| | | | | | | | | | Introduce a string constant eol that contains the newline character. Use eol instead of the endl manipulator. This avoids flushing the output stream at the end of each line, and should speed up output. Output files are automatically flushed when they are closed, which happens at each time step. darcs-hash:20060917211949-dae7b-cdc20278ee2c0fbe39e7348d65414a32003bb7c0.gz
* CarpetIOScalar: mergeCarpetIOScalar.pl support for non-CarpetIOScalar output ↵Thomas Radke2006-08-18
| | | | | | | | | files When sorting datasets by their first column, accept both an (integer) iteration number or a (real) timestep value. darcs-hash:20060818164622-776a0-58446b69d8874c3cdfe687f5a8184c25f89d7dda.gz
* CarpetIOScalar: improved mergeCarpetIOScalar.pl script to ignore all but the ↵Thomas Radke2006-08-15
| | | | | | | | | | | | | | | last occurance of duplicate timesteps Usage: ./mergeCarpetIOScalar.pl [-h | -help | --help] <list of files> This script can be used to merge CarpetIOScalar output written before and after recovery. It reads one or more files in CarpetIOScalar format and writes their contents to STDOUT, eliminating duplicate timesteps (all but the last occurance are discarded). Example: ./mergeCarpetIOScalar.pl alp.norm1.asc > alp.norm1.asc.merged darcs-hash:20060815200239-776a0-4a7f68b2bcb1f23b749cd6a15da868e7a6a77c16.gz
* CarpetIOScalar: added utility script to merge CarpetIOScalar output from ↵Thomas Radke2006-08-15
| | | | | | | | | | | | | | | | before and after recovery ~/cactus/arrangements/Carpet/CarpetIOScalar/src/util> ./mergeCarpetIOScalar.pl --help This script can be used to merge CarpetIOScalar output written before and after recovery. It reads from STDIN the contents of one or more files in CarpetIOScalar format and writes them to STDOUT again, eliminating duplicate timesteps. Example: cat alp.norm1.asc | ./mergeCarpetIOScalar.pl > alp.norm1.asc.merged darcs-hash:20060815134324-776a0-09eb0aa246cf5b5eeb015e9cea6615eb13f09d41.gz
* CarpetIOScalar: Produce fewer comments with IO::out_fileinfo="none"Erik Schnetter2006-06-18
| | | | | | | When IO::out_fileinfo="none", avoid all comment lines except for two describing which thorn produced a file. darcs-hash:20060618200009-dae7b-2a2c124cdb17d046d9d9225c6563d836f9e0a88a.gz
* CarpetIOScalar: Convert #ifdef CCTK_* to #ifdef HAVE_CCTK_*Erik Schnetter2006-06-13
| | | | darcs-hash:20060613172844-dae7b-0896da1cebe8d743bd9b94411da9f8a81487b686.gz
* CarpetIOScalar: Correct scheduled function signatureErik Schnetter2006-06-06
| | | | darcs-hash:20060606224704-dae7b-71a4c4e4a9a99598451c61b4abb54c7aac3f472b.gz
* CarpetIOScalar: Handle reduction errors gracefullyErik Schnetter2006-04-13
| | | | | | | Do not abort when a reduction operation fails. Instead, print a warning and continue. darcs-hash:20060413193432-dae7b-1f42cfbb579843e85387e117ea92506c6bb2de3a.gz
* CarpetIOScalar: Token changesErik Schnetter2006-04-13
| | | | darcs-hash:20060413201219-dae7b-35c12fd34f7e29dc0cbd3ebed154abd35d2e07b2.gz
* CarpetIOScalar: Clean up *.ccl filesErik Schnetter2006-04-13
| | | | darcs-hash:20060413201151-dae7b-3f443355e02b35864af495d37d4b40bfa88be082.gz
* CarpetIOScalar: add test/test.ccl config fileThomas Radke2006-03-24
| | | | | | | | This file needs to be specified by (at least) one I/O thorn in order to tell the testsuite script which output file extensions should be compared. CarpetIOScalar generates "*.xg" output files. darcs-hash:20060324182617-776a0-06fb9a6ec9b4e132e0f4db41276ca4e05963a4c5.gz
* CarpetIOScalar: Put unique build ID into output filesErik Schnetter2005-11-19
| | | | darcs-hash:20051119213026-dae7b-0895743e18a6601b19fe25f54c38524cac0a4d85.gz