aboutsummaryrefslogtreecommitdiff
path: root/src/ReductionNorm4.c
Commit message (Collapse)AuthorAge
* Replace Cactus complex number type with C/C++ complex numbersHEADmastereschnett2013-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. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@105 d60812e6-3970-4df4-986e-c251b06effeb
* Use CCTK_BYTE instead of CCTK_CHARschnetter2005-01-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@65 d60812e6-3970-4df4-986e-c251b06effeb
* Correct L3 and L4 norms for complex numbers.schnetter2005-01-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@62 d60812e6-3970-4df4-986e-c251b06effeb
* Add missing #include <stddef.h> and #include <stdio.h> statements.schnetter2004-12-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@61 d60812e6-3970-4df4-986e-c251b06effeb
* Introduce the new Cactus variable type CCTK_INT1.schnetter2003-10-13
| | | | | | | Extend routines to handle the new type. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@44 d60812e6-3970-4df4-986e-c251b06effeb
* Fix for the reduction of grid arrays which don't have any point on a specifictradke2003-07-09
| | | | | | | processor. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@42 d60812e6-3970-4df4-986e-c251b06effeb
* Added new reduction operator "count" which returns the number of grid pointstradke2003-04-15
of a grid variable which a reduction operator is working on. This closes PR CactusPUGH/1477. Added new reduction operators "L3Norm" and "L4Norm" to compute the L3 and L4 norm resp. Also added synonyms for some existing reduction operators: "average" = "mean", "norm1" = "L1Norm", "norm2" = "L2Norm", "norm_inf" = "LinfNorm". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@40 d60812e6-3970-4df4-986e-c251b06effeb