| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Replace calls to abs() with floating arguments by calls to fabs(), to ensure the results are not accidentally truncated to integer.
|
|
|
|
| |
Don't use the (real,imag) notation that C++ would use by default.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
Support output criterion "divisor" in CarpetIOBasic.
---
Carpet/CarpetIOBasic/param.ccl | 1 +
Carpet/CarpetIOBasic/src/iobasic.cc | 17 +++++++++++++++++
2 files changed, 18 insertions(+), 0 deletions(-)
|
|
|
|
|
|
|
|
|
|
|
| |
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<--
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
single mechanism provided by CarpetLib.
Use this mechanism everywhere.
|
| |
|
|
|
|
| |
Ignore-this: 309b4dd613f4af2b84aa5d6743fdb6b3
|
|
|
|
| |
Correct a multi-processor synchronisation problem when using IO::out_dt.
|
|
|
|
|
| |
The CactusBase/IOUtil routine IOUtil_ParseVarsForOutput now accepts an
additional parameter out_dt_default.
|
|
|
|
| |
darcs-hash:20080219054053-dae7b-e52443bb75b74f8849dc2e53090fbb8a3cd45c80.gz
|
|
|
|
| |
darcs-hash:20071003194810-dae7b-005ab4262e0db32a4a8557553c104bf48c57be77.gz
|
|
|
|
| |
darcs-hash:20070825060750-dae7b-564132600cbc361cdcfe68512977e9ecc7665ccf.gz
|
|
|
|
|
|
|
| |
Use CarpetLib::good::abs instead of abs to make both the AIX compiler
and the other compilers happy.
darcs-hash:20070228023039-dae7b-a57fa45111795c48e29f938177e76ea4c0a9ff8d.gz
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Do not overload routines for complex numbers any more. This is now
expected to happen in the flesh.
darcs-hash:20070112223613-dae7b-8c3e5d08350c559c96405352293df48b2ebde34c.gz
|
|
|
|
| |
darcs-hash:20070112223542-dae7b-4e1022e1f6e911fbd6fd3baaf7268eea23a21d94.gz
|
|
|
|
|
|
|
| |
Avoid an assertion failure if CarpetIOBasic output is called from
CCTK_OutputGH.
darcs-hash:20060925220145-dae7b-97bf43e06092bf01ccb6f9c5563a00714447d7fe.gz
|
|
|
|
| |
darcs-hash:20060925220104-dae7b-81166be5c72a691ccf5efb7b79d3e01f19bc1184.gz
|
|
|
|
| |
darcs-hash:20060925214941-dae7b-68142831eea781216e80ba26c89c5f06e8c48fcb.gz
|
|
|
|
| |
darcs-hash:20060606224458-dae7b-6567907d5951c60dd7d3aed0dab4f0b1eb88885d.gz
|
|
|
|
| |
darcs-hash:20060413201009-dae7b-44dd5b8fd19c17d7eae4800a80fefe71df5c5baf.gz
|
|
|
|
| |
darcs-hash:20060404194449-dae7b-c90583d12908fd6c9b656e99b1d53279567ff303.gz
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20051222115946-34d71-caa3ae316d395c348ae6303643f5dd1154655fe1.gz
|
|
|
|
| |
darcs-hash:20051221210730-dae7b-d840ac6a9153f1ed33d597cb973eb2a5b8c3e281.gz
|
|
|
|
|
|
| |
Use scientific notation for very small or very large real numbers.
darcs-hash:20051221192007-dae7b-fcd97419797d2c033adffa306180d20c91c06751.gz
|
|
darcs-hash:20051221142410-dae7b-eb542dc795db5f794f9f2db0a82971eb8b63e659.gz
|