aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
* Handle all complex variable datatypes (not just the standard CCTK_COMPLEX).tradke2003-04-14
| | | | | | | This closes PR CactusPUGH/1475. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@36 d60812e6-3970-4df4-986e-c251b06effeb
* Almost forgot to commit this: added 'const' qualifiers to all the read-onlytradke2003-03-10
| | | | | | | | input arguments for the reduction API. You also need an up-to-date flesh now in order to compile. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@35 d60812e6-3970-4df4-986e-c251b06effeb
* Fixed a typo in the formula to compute the L2 norm.tradke2002-08-21
| | | | | | | Thanks to Peter for finding out. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@34 d60812e6-3970-4df4-986e-c251b06effeb
* NormInf needs a MAX MPI reduction (and not a SUM).tradke2002-08-13
| | | | | | | This closes PR CactusPUGH/1197. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@33 d60812e6-3970-4df4-986e-c251b06effeb
* Fixed compiler warnings about unused arguments.tradke2002-06-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@32 d60812e6-3970-4df4-986e-c251b06effeb
* Added email addresses of author(s)/maintainer(s) of this thorn.tradke2002-06-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@30 d60812e6-3970-4df4-986e-c251b06effeb
* changing the documentation.tex files to use our cactus style fileikelley2002-06-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@29 d60812e6-3970-4df4-986e-c251b06effeb
* Fixed a compiler warning.tradke2002-06-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@28 d60812e6-3970-4df4-986e-c251b06effeb
* Deleted period in scheduled routine description, to be more consistentrideout2002-05-06
| | | | | | | most other such descriptions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@27 d60812e6-3970-4df4-986e-c251b06effeb
* Check for zero-sized arrays and return an error in case.tradke2002-04-08
| | | | | | | This closes PR CactusPUGH/961. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@25 d60812e6-3970-4df4-986e-c251b06effeb
* Updated documentation.tradke2002-03-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@24 d60812e6-3970-4df4-986e-c251b06effeb
* Added some more comments to document how the domain to reduce is set up.tradke2002-03-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@23 d60812e6-3970-4df4-986e-c251b06effeb
* Fixed compiler warnings on unused function arguments.tradke2001-11-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@19 d60812e6-3970-4df4-986e-c251b06effeb
* Fixed a bug for periodic BC.tradke2001-10-09
| | | | | | | This closes PR Cactus/803. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@18 d60812e6-3970-4df4-986e-c251b06effeb
* Added Erik's new reduction operator "norm_inf" to compute the the L-inifinty ↵tradke2001-08-27
| | | | | | norm. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@17 d60812e6-3970-4df4-986e-c251b06effeb
* Reduction for Grid Scalars. Weakly tested.goodale2001-06-29
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@16 d60812e6-3970-4df4-986e-c251b06effeb