aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Fixed a compiler warning.tradke2002-06-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@28 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
* 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
* Included string.h.tradke2001-05-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@14 d60812e6-3970-4df4-986e-c251b06effeb
* Get rid of timelevel variable which is constant zero now.tradke2001-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@13 d60812e6-3970-4df4-986e-c251b06effeb
* New timelevel indexingallen2001-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@12 d60812e6-3970-4df4-986e-c251b06effeb
* Making rcsid string a constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@11 d60812e6-3970-4df4-986e-c251b06effeb
* Change timelevel index used for reductionsallen2001-04-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@9 d60812e6-3970-4df4-986e-c251b06effeb
* Changing CCTK_CHAR to CCTK_BYTEallen2001-04-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@8 d60812e6-3970-4df4-986e-c251b06effeb
* Fixed grdocallen2001-03-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@7 d60812e6-3970-4df4-986e-c251b06effeb
* Fixed gcc warnings.tradke2001-02-13
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@6 d60812e6-3970-4df4-986e-c251b06effeb