aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOBasic
Commit message (Collapse)AuthorAge
* Timers: Move all timer-related code into a new thorn TimersErik Schnetter2013-08-07
|
* Replace abs() by fabs()Erik Schnetter2013-04-02
| | | | Replace calls to abs() with floating arguments by calls to fabs(), to ensure the results are not accidentally truncated to integer.
* 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.
* CarpetIOBasic: Simplify code and avoid compiler warnings (again)Erik Schnetter2013-01-19
|
* CarpetIOBasic: Simplify code and avoid compiler warningsErik Schnetter2013-01-18
|
* Remove Carpet's mechanisms to deal with how to call isnanErik Schnetter2012-10-22
| | | | Remove Carpet's mechanisms to deal with how to call isnan. Instead, expect isnan in std::, and rely on Cactus to correct things if this is not the case.
* 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.
* CarpetIOBasic: Add output criterion "divisor"Roland Haas2012-09-11
| | | | | | | | Support output criterion "divisor" in CarpetIOBasic. --- Carpet/CarpetIOBasic/param.ccl | 1 + Carpet/CarpetIOBasic/src/iobasic.cc | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 0 deletions(-)
* CarpetIOBasic: implement individual reductions lists for output variablesroland haas2012-09-11
| | | | | | | | | | | This patch imports Thomas Radke's improvements to IOScalar to IOBasic. --8<-- By default, CarpetIOScalar outputs all reductions as listed in the IOScalar::outScalar_reductions parameter (defaulting to all norms available). Now it is possible to overwrite this default for individual variables in an option string, eg. as in IOScalar::outScalar_vars = "grid::x grid::y{reductions = 'minimum maximum'}". --8<--
* 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.
* Combine CarpetLib's INSTANTIATE and Carpet's TYPECASE mechanism into aErik Schnetter2011-12-14
| | | | | | single mechanism provided by CarpetLib. Use this mechanism everywhere.
* CarpetIOBasic: Handle both old and new IOUtil APIErik Schnetter2011-12-14
|
* Import CarpetErik Schnetter2011-12-14
| | | | Ignore-this: 309b4dd613f4af2b84aa5d6743fdb6b3
* CarpetIOBasic: 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.
* CarpetIOBasic: Remove CVS Header commentErik Schnetter2008-02-19
| | | | darcs-hash:20080219054053-dae7b-e52443bb75b74f8849dc2e53090fbb8a3cd45c80.gz
* CarpetIOBasic: Slight correction to interface.cclErik Schnetter2007-10-03
| | | | darcs-hash:20071003194810-dae7b-005ab4262e0db32a4a8557553c104bf48c57be77.gz
* CarpetIOBasic: Add a timer around OutputGHErik Schnetter2007-08-25
| | | | darcs-hash:20070825060750-dae7b-564132600cbc361cdcfe68512977e9ecc7665ccf.gz
* CarpetIOBasic: Use CarpetLib::good::abs instead of absErik Schnetter2007-02-28
| | | | | | | Use CarpetLib::good::abs instead of abs to make both the AIX compiler and the other compilers happy. darcs-hash:20070228023039-dae7b-a57fa45111795c48e29f938177e76ea4c0a9ff8d.gz
* CarpetIOBasic: Use ::abs instead of abs to make AIX compiler happyErik Schnetter2007-02-27
| | | | | | | | The AIX C++ compiler didn't find the overloaded version of abs when called with Cactus's complex numbers. Using ::abs instad of abs cures this. I suspect a problem in this compiler's name lookup mechanism. darcs-hash:20070227184653-dae7b-d593a02c83e5497894c7bc78f218644f27f0ac4b.gz
* CarpetIOBasic: Do not overload routines for complex numbers any moreErik Schnetter2007-01-12
| | | | | | | Do not overload routines for complex numbers any more. This is now expected to happen in the flesh. darcs-hash:20070112223613-dae7b-8c3e5d08350c559c96405352293df48b2ebde34c.gz
* CarpetIOBasic: Change stop_on_parse_errors from int to boolErik Schnetter2007-01-12
| | | | darcs-hash:20070112223542-dae7b-4e1022e1f6e911fbd6fd3baaf7268eea23a21d94.gz
* CarpetIOBasic: Allow calling CarpetIOBasic from CCTK_OutputGHErik Schnetter2006-09-25
| | | | | | | Avoid an assertion failure if CarpetIOBasic output is called from CCTK_OutputGH. darcs-hash:20060925220145-dae7b-97bf43e06092bf01ccb6f9c5563a00714447d7fe.gz
* CarpetIOBasic: Save and restore stream state of coutErik Schnetter2006-09-25
| | | | darcs-hash:20060925220104-dae7b-81166be5c72a691ccf5efb7b79d3e01f19bc1184.gz
* CarpetIOBasic: Correct error in calculating column widthErik Schnetter2006-09-25
| | | | darcs-hash:20060925214941-dae7b-68142831eea781216e80ba26c89c5f06e8c48fcb.gz
* CarpetIOBasic: Correct scheduled function signatureErik Schnetter2006-06-06
| | | | darcs-hash:20060606224458-dae7b-6567907d5951c60dd7d3aed0dab4f0b1eb88885d.gz
* CarpetIOBasic: Adapt default screen column widthsErik Schnetter2006-04-13
| | | | darcs-hash:20060413201009-dae7b-44dd5b8fd19c17d7eae4800a80fefe71df5c5baf.gz
* CarpetIOBasic: Output iteration number unconditionallyErik Schnetter2006-04-04
| | | | darcs-hash:20060404194449-dae7b-c90583d12908fd6c9b656e99b1d53279567ff303.gz
* CarpetIOBasic: bugfix when attempting to output a variable with no storageThomas Radke2006-02-03
| | | | | | | CarpetIOBasic did print a warning on such an attempt but continued its normal output procedure. I added the missing return statement. darcs-hash:20060203102519-776a0-259bf7f07aa47e5d6e057643a55f8ad2064667e0.gz
* Introduce parameter "outHeader_every"cott2005-12-22
| | | | darcs-hash:20051222115946-34d71-caa3ae316d395c348ae6303643f5dd1154655fe1.gz
* CarpetIOBasic: Turn some constants into Cactus parametersErik Schnetter2005-12-21
| | | | darcs-hash:20051221210730-dae7b-d840ac6a9153f1ed33d597cb973eb2a5b8c3e281.gz
* CarpetIOBasic: Use scientific notation when appropriateErik Schnetter2005-12-21
| | | | | | Use scientific notation for very small or very large real numbers. darcs-hash:20051221192007-dae7b-fcd97419797d2c033adffa306180d20c91c06751.gz
* CarpetIOBasic: A new thorn that replaces IOBasic for CarpetErik Schnetter2005-12-21
darcs-hash:20051221142410-dae7b-eb542dc795db5f794f9f2db0a82971eb8b63e659.gz