aboutsummaryrefslogtreecommitdiff
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
* Remove superfluous if conditioneschnett2012-11-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@104 d60812e6-3970-4df4-986e-c251b06effeb
* Move MPI support from flesh to a thorneschnett2012-07-21
| | | | | | | | | | 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. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@101 d60812e6-3970-4df4-986e-c251b06effeb
* Introduce cctk_ash, retire cctk_lssheschnett2012-07-04
| | | | | | | | | | | | Introduce cctk_ash, describing the process-local array shape that has been allocated. This may be larger than cctk_lsh, the process-local shape that should be used. Retire cctk_lssh and related infrastructure to handle staggered grid functions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@100 d60812e6-3970-4df4-986e-c251b06effeb
* Remove unused variableseschnett2012-05-11
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@98 d60812e6-3970-4df4-986e-c251b06effeb
* Avoid segfault when not using MPIeschnett2012-01-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@97 d60812e6-3970-4df4-986e-c251b06effeb
* Include Licence in READMEknarf2009-01-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@85 d60812e6-3970-4df4-986e-c251b06effeb
* Unify README file formatknarf2009-01-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@84 d60812e6-3970-4df4-986e-c251b06effeb
* use correct latex package in documentationknarf2009-01-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@83 d60812e6-3970-4df4-986e-c251b06effeb
* Remove newline from string literalschnetter2006-01-31
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@82 d60812e6-3970-4df4-986e-c251b06effeb
* Convert CRLF to LFschnetter2006-01-31
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@81 d60812e6-3970-4df4-986e-c251b06effeb
* Added free statements for local variables, added a check condition not to ↵yye002005-12-07
| | | | | | allocate memory for zero dimensional (scalar) reductions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@80 d60812e6-3970-4df4-986e-c251b06effeb
* changes to ELLSOR to use new reduction api, removed references to pointwise ↵yye002005-12-05
| | | | | | from ReduceArraysGlobally, removed unused variables and added the LocalReduce thorn to a .par file git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@79 d60812e6-3970-4df4-986e-c251b06effeb
* migration from misnomer pointwise-reduction to reduce arrays globallyyye002005-11-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@78 d60812e6-3970-4df4-986e-c251b06effeb
* pointwise reduction implementation in PUGHReduceyye002005-11-08
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@77 d60812e6-3970-4df4-986e-c251b06effeb
* Calculate the index ranges for the local reduction correctly. PUGH'sschnetter2005-11-02
| | | | | | | | | GA->extras->ownership already takes periodic boundaries (and grid staggering) into account. The previous code thus corrected twice for periodic boundaries, and thus reduced over too few grid points. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@76 d60812e6-3970-4df4-986e-c251b06effeb
* This patch switches checking from #ifdef cctk_* to #ifdef have_cctk*, ↵yye002005-10-25
| | | | | | otherwise it contains minor changes here and there, code cleanup and such. Please confirm testglobal and testlocal reduce git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@75 d60812e6-3970-4df4-986e-c251b06effeb
* Correct email address in copyright statement.schnetter2005-10-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@74 d60812e6-3970-4df4-986e-c251b06effeb
* These are the final changes to the reduction stuff. All tests passed.yye002005-10-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@73 d60812e6-3970-4df4-986e-c251b06effeb
* best parameter table checking is now addedyye002005-10-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@72 d60812e6-3970-4df4-986e-c251b06effeb
* fixed the false warning messages, added parameter table creation/deletion ↵yye002005-10-18
| | | | | | checking git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@71 d60812e6-3970-4df4-986e-c251b06effeb
* A minor modification for divide by zero weight sumyye002005-09-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@69 d60812e6-3970-4df4-986e-c251b06effeb
* This commit fully enables full weighted reduction operations from PUGHReduceyye002005-09-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@68 d60812e6-3970-4df4-986e-c251b06effeb
* Check for NULL pointer passed as output array in CCTK_Reduce().tradke2005-05-24
| | | | | | | | This closes PR CactusPUGH/1934: "CCTK_Reduce does not produce an error message, but segfaults". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@66 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
* Fixed reduction of scalars: the wrong data pointer was used for local ↵tradke2005-01-25
| | | | | | reductions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@64 d60812e6-3970-4df4-986e-c251b06effeb
* matching the new -correct- complex reduction definitionsyye002005-01-25
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@63 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
* update to match local reduction updateyye002004-12-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@60 d60812e6-3970-4df4-986e-c251b06effeb
* fixed staggering with new global reduction, will add more tests to ↵yye002004-11-29
| | | | | | globalreduction git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@59 d60812e6-3970-4df4-986e-c251b06effeb
* use var index instead group index, fix from Ian Hawkeyye002004-11-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@58 d60812e6-3970-4df4-986e-c251b06effeb
* Adding missing copyright files to all thorns and making themgoodale2004-11-02
| | | | | | | consistent. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@56 d60812e6-3970-4df4-986e-c251b06effeb
* added mpi_reduce calls, made the processor number an argument in grid array ↵yye002004-10-19
| | | | | | reduction git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@55 d60812e6-3970-4df4-986e-c251b06effeb
* changed mpi_operation to global_operation-better namingyye002004-10-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@54 d60812e6-3970-4df4-986e-c251b06effeb
* Make it work in the non-MPI case.goodale2004-09-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@53 d60812e6-3970-4df4-986e-c251b06effeb
* Fix memory allocation error.goodale2004-09-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@52 d60812e6-3970-4df4-986e-c251b06effeb
* typoyye002004-09-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@51 d60812e6-3970-4df4-986e-c251b06effeb
* minor fixyye002004-09-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@50 d60812e6-3970-4df4-986e-c251b06effeb
* New global reduction stuff.goodale2004-09-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@49 d60812e6-3970-4df4-986e-c251b06effeb
* pGV structure has changed: it now stores the directional stagger indices.tradke2004-06-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@48 d60812e6-3970-4df4-986e-c251b06effeb
* Updated configuration.ccl files. In Beta14 some of these willgoodale2004-03-27
| | | | | | | | | | | | | | disappear as function aliasing will be updated to have aliased functions either be optional or required, as opposed to optional as they are at the moment. This will thus remove the configuration.ccl files which are merely there to ensure that certain aliased functions are actually provided. Also far more stuff will be done via function aliasing which should remove some more of these dependencies. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@45 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
* PUGH* thorns don't inherit from implementation "Driver" anymore buttradke2003-09-04
| | | | | | | require thorn PUGH to be compiled in and activated. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@43 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
* Update for new reduction operators and synonym names.tradke2003-04-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@41 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
* Fixed variable declaration for the non-MPI case.tradke2003-04-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@39 d60812e6-3970-4df4-986e-c251b06effeb
* Document new reduction operator "average". Also mark those operators whichtradke2003-04-14
| | | | | | | cannot be applied to complex datatypes. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@38 d60812e6-3970-4df4-986e-c251b06effeb
* Added new reduction operator "average" provided by Erik Schnetter.tradke2003-04-14
| | | | | | | This closes PR CactusPUGH/1476. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@37 d60812e6-3970-4df4-986e-c251b06effeb