aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Check whether the local hyperslab parameters specify a processor's full datatradke2001-06-26
| | | | | | | | | | | | patch. If so the pointer to that data is returned (includes ghostzones). This fixes problems with chunked output and checkpoint files. Added another function parameter to NewHyperslab_GetLocalHyperslab() to indicate whether the returned hyperslab data needs to be freed by the caller. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@57 10716dce-81a3-4424-a2c8-48026a0d3035
* Remove excess semicolons.tradke2001-06-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@56 10716dce-81a3-4424-a2c8-48026a0d3035
* Making rcsid string a constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@54 10716dce-81a3-4424-a2c8-48026a0d3035
* CCTK_FILEVERSIONallen2001-05-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@53 10716dce-81a3-4424-a2c8-48026a0d3035
* CCTK_FILEVERSIONallen2001-05-06
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@52 10716dce-81a3-4424-a2c8-48026a0d3035
* Changing CCTK_CHAR to CCTK_BYTEallen2001-04-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@51 10716dce-81a3-4424-a2c8-48026a0d3035
* Beautify macros again.tradke2001-03-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@50 10716dce-81a3-4424-a2c8-48026a0d3035
* fixing macros to work with cpp in RH7.1betalanfer2001-03-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@49 10716dce-81a3-4424-a2c8-48026a0d3035
* Declared routines' prototypes to be extern "C".tradke2001-03-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@48 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixed the inconsistent passing of the hyperslab directions vector.tradke2000-11-29
| | | | | | | | | | | | | | | | Now the directions are passed in as a set of N-dimensional vectors, one for each dimension of the hyperslab, and N being the dimension of the variable to extract the hyperslab from. That means nothing changes for 1D hyperslabs where you still pass in one vector (the direction vector). But eg. for 2D you now have to pass 2 vectors (the direction vectors spawning the hyperslab). I decided still to use integers for the vector components so you give it in units (of grid points). This also allows arbitrary hyperslab specifications although PUGHSlab can only do orthogonal hyperslabs. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@45 10716dce-81a3-4424-a2c8-48026a0d3035
* Added all possible datatype conversion functions fortradke2000-11-29
| | | | | | | | | | | CCTK_INT_XXX -> CCTK_INT_YYY CCTK_REAL_XXX -> CCTK_REAL_YYY CCTK_COMPLEX_XXX -> CCTK_COMPLEX_YYY Added grdoc. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@44 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixed bug in my hyperslab extraction code where I used the wrong index.tradke2000-11-27
| | | | | | | This caused wrong data in 1D output and thus failing testsuites. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@43 10716dce-81a3-4424-a2c8-48026a0d3035
* Fix for now for compilation on originallen2000-11-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@42 10716dce-81a3-4424-a2c8-48026a0d3035
* Removed unused include file from IOUtil.tradke2000-11-24
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@41 10716dce-81a3-4424-a2c8-48026a0d3035
* This file will provide several predefined datatype conversion routines.tradke2000-11-23
| | | | | | | For now it is just one: CCTK_VARIABLE_REAL -> CCTK_VARIABLE_REAL4. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@40 10716dce-81a3-4424-a2c8-48026a0d3035
* This is my development version of thorn PUGHSlab. It is not intended to betradke2000-11-23
| | | | | | | | | | | | | | officially used by other thorns yet. I'll incrementally add new features and change the API to pass in group parameters via structures. If all this is finished the old code will be replaced by the new files. This first version was derived from the original Hyperslab routines and extended by allowing type conversion. You can pass in a hyperslab datatype which is different to the source data as well as your own conversion routine. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@39 10716dce-81a3-4424-a2c8-48026a0d3035
* Optimized hyperslab extraction for downsampled cases.tradke2000-11-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@38 10716dce-81a3-4424-a2c8-48026a0d3035
* Missing header.goodale2000-11-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@37 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixing memory leak for multiprocesor case.tradke2000-09-25
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@36 10716dce-81a3-4424-a2c8-48026a0d3035
* Erik's bugfix for hyperslabbing on CCTK_ARRAY types.tradke2000-09-19
| | | | | | | This fixes BR 439. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@35 10716dce-81a3-4424-a2c8-48026a0d3035
* Another bugfix for getting the global hyperslab if we have periodic BC.tradke2000-09-06
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@34 10716dce-81a3-4424-a2c8-48026a0d3035
* Bugfix for sorting chunks into global hyperslab.tradke2000-09-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@33 10716dce-81a3-4424-a2c8-48026a0d3035
* Bugfix for collecting processor-local chunks into the global hyperslabtradke2000-08-25
| | | | | | | if we deal with periodic boundary conditions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@32 10716dce-81a3-4424-a2c8-48026a0d3035
* New name for include fileallen2000-07-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@29 10716dce-81a3-4424-a2c8-48026a0d3035
* Added support for 1D diagonals of COMPLEX variables.tradke2000-07-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@27 10716dce-81a3-4424-a2c8-48026a0d3035
* Added support for CCTK_COMPLEX variables.tradke2000-06-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@26 10716dce-81a3-4424-a2c8-48026a0d3035
* Use the size info from PUGH's pGExtras structure instead of the cGHtradke2000-06-19
| | | | | | | to make 1D line hyperslabs working for CCTK_ARRAY vars as well. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@25 10716dce-81a3-4424-a2c8-48026a0d3035
* Just get rid of some debug screen output.tradke2000-06-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@24 10716dce-81a3-4424-a2c8-48026a0d3035
* Forgot to cvs add this important source file.tradke2000-06-02
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@23 10716dce-81a3-4424-a2c8-48026a0d3035
* Usable version of thorn Hyperslab which extracts M-dimensional orthogonaltradke2000-06-02
| | | | | | | | | | | | | | | | | | | | | | subspaces from an N-dimensional data space. The Hyperslab API consists of 2 routines: - Hyperslab_GetLocalHyperslab() which returns a hyperslab from the processor's local data. This will probably be used for IO methods that want to output the hyperslab chunks in parallel (as is done currently by IOHDF5 and IOFlexIO). - Hyperslab_GetHyperslab() which collects hyperslab chunks from all processors using MPI and returns the global hyperslab data. This is used in IOASCII where the output is done by only one processor. Open questions: - How to specify the directions in which to span the hyperslab. - Putting the parameters passed to Hyperslab routines into structures rather than passing them individually. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@22 10716dce-81a3-4424-a2c8-48026a0d3035
* this routine does the same as GetLocalLine, only for slabs along coordinate axislanfer2000-05-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@20 10716dce-81a3-4424-a2c8-48026a0d3035
* n-dim. extraction out of n-dim volumelanfer2000-05-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@19 10716dce-81a3-4424-a2c8-48026a0d3035
* internal .hlanfer2000-05-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@18 10716dce-81a3-4424-a2c8-48026a0d3035
* first take of generalized extraction of N dim volume out of N dim volumelanfer2000-05-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@17 10716dce-81a3-4424-a2c8-48026a0d3035
* clean uplanfer2000-05-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@16 10716dce-81a3-4424-a2c8-48026a0d3035
* adding downsamplinglanfer2000-05-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@15 10716dce-81a3-4424-a2c8-48026a0d3035
* 2d stufflanfer2000-05-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@14 10716dce-81a3-4424-a2c8-48026a0d3035
* GetLocalLine returns the local start/end in gloabl index coordinates, ↵lanfer2000-05-08
| | | | | | Collect data needs to subtract cctl_lbnd to get local coord. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@13 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixed MPI communication stuff.tradke2000-05-08
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@12 10716dce-81a3-4424-a2c8-48026a0d3035
* more stufflanfer2000-05-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@11 10716dce-81a3-4424-a2c8-48026a0d3035
* a bug fixlanfer2000-05-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@10 10716dce-81a3-4424-a2c8-48026a0d3035
* more stufflanfer2000-05-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@9 10716dce-81a3-4424-a2c8-48026a0d3035
* stuff compiles now, removed dsize= nlocpointslanfer2000-05-02
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@8 10716dce-81a3-4424-a2c8-48026a0d3035
* Loop optimization.tradke2000-05-02
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@7 10716dce-81a3-4424-a2c8-48026a0d3035
* testing Collect Datalanfer2000-05-02
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@6 10716dce-81a3-4424-a2c8-48026a0d3035
* stufflanfer2000-05-02
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@5 10716dce-81a3-4424-a2c8-48026a0d3035
* stufflanfer2000-04-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@4 10716dce-81a3-4424-a2c8-48026a0d3035
* first take at Hyperslab - truly develomentallanfer2000-04-28
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@2 10716dce-81a3-4424-a2c8-48026a0d3035