aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Hyperslab mappings can now be defined to include periodic boundary points.tradke2003-11-17
| | | | | | | This is necessary for PUGH-based checkpointing/recovery. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@116 10716dce-81a3-4424-a2c8-48026a0d3035
* 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/PUGHSlab/trunk@114 10716dce-81a3-4424-a2c8-48026a0d3035
* Removed wrong assert statements would caused then code to stop whentradke2003-09-25
| | | | | | | converting a generic CCTK datatype into a fixed-size CCTK datatype. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@113 10716dce-81a3-4424-a2c8-48026a0d3035
* Declare the cGH pointer in aliased routines as CCTK_POINTER_TO_CONSTtradke2003-09-01
| | | | | | | so that it matches the CST-generated function prototype. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@111 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixed predefined routines for datatype conversions. Now they take the sourcetradke2003-09-01
| | | | | | | | and destination datatype as additional arguments, and the stride parameter was split into a source and a destination stride. This should be most general now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@107 10716dce-81a3-4424-a2c8-48026a0d3035
* Removed deprecated hyperslab routines Hyperslab_GetHyperslab() andtradke2003-08-18
| | | | | | | Hyperslab_GetLocalHyperslab(). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@106 10716dce-81a3-4424-a2c8-48026a0d3035
* Change to CCTK_MaxTimeLevelsallen2003-07-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@105 10716dce-81a3-4424-a2c8-48026a0d3035
* Fix for the definition of local hyperslab mappings for periodic BC.tradke2003-06-24
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@104 10716dce-81a3-4424-a2c8-48026a0d3035
* Multiprocessor bugfix for 1D diagonal hyperslab extraction from 3D grid arrays.tradke2003-03-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@101 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixed a bug for extracting 3D diagonal hyperslabs.tradke2003-03-11
| | | | | | | This closes PR CactusIO/1421. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@100 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixed a bug when downsampling in single precision.tradke2003-02-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@98 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixed compiler warnings about potentially uninitialized variables and usingtradke2002-11-12
| | | | | | | trigraphs. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@93 10716dce-81a3-4424-a2c8-48026a0d3035
* Declare the hyperslab routines provided by PUGHSlab as function aliases.tradke2002-11-06
| | | | | | | | | | | | | That is, all function alias names start with "Hyperslab_*". Previously existing PUGHSlab functions by those names were renamed back into "PUGHSlab_*" and should not be called directly. This affects all thorns using the new hyperslab API: CactusBase/IOASCII, CactusPUGHIO/*, CactusIO/IOJpeg, and CactusExamples/SampleIO. Please also update these thorns now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@92 10716dce-81a3-4424-a2c8-48026a0d3035
* Check that the variable to get a hyperslab from has storage assigned.tradke2002-09-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@91 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixed a bug wherein Hyperslab_Get() did not properly handle a negativerideout2002-08-01
| | | | | | | value for its hdatatype argument. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@90 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixed a bug in datatype conversions. Now single-precision output should worktradke2002-07-23
| | | | | | | again. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@89 10716dce-81a3-4424-a2c8-48026a0d3035
* Include ghostzones in processor-local hyperslabs.tradke2002-06-24
| | | | | | | | This allows to recover from chunked datafiles/checkpoints which was broken before because of the missing ghostzones. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@88 10716dce-81a3-4424-a2c8-48026a0d3035
* Removed unused variable to get rid of a compiler warning.tradke2002-05-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@84 10716dce-81a3-4424-a2c8-48026a0d3035
* Implemented routines to define and extract local hyperslabs.tradke2002-04-25
| | | | | | | This finally closes a couple feature requests. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@82 10716dce-81a3-4424-a2c8-48026a0d3035
* Sort processor-local chunks into an unchuned hyperslab.tradke2002-04-13
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@81 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixed a bug for configurations without MPI.tradke2002-04-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@80 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixed a CCTK_INT/int problem. This closes PR CactusPUGH/954.tradke2002-03-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@79 10716dce-81a3-4424-a2c8-48026a0d3035
* Removed a C++ comment.tradke2002-03-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@78 10716dce-81a3-4424-a2c8-48026a0d3035
* Commented out a debug message.tradke2002-03-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@77 10716dce-81a3-4424-a2c8-48026a0d3035
* Just syncing my local changes for the new hyperslabbing API with CVS.tradke2002-03-25
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@76 10716dce-81a3-4424-a2c8-48026a0d3035
* Just syncing my local changes for the new API.tradke2002-03-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@75 10716dce-81a3-4424-a2c8-48026a0d3035
* Changed the new API according to the final hyperslabbing API spec.tradke2002-03-21
| | | | | | | | This does not affect any existing codes which should use only the current API so far. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@74 10716dce-81a3-4424-a2c8-48026a0d3035
* Bugfix for hyperslab extraction with data conversion and downsampling appliedtradke2002-02-18
| | | | | | | in the lowest dimension. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@71 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixed CCTK_INT<->int datatype problems which weren't liked by the T3E compiler.tradke2001-12-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@69 10716dce-81a3-4424-a2c8-48026a0d3035
* Turned return type of Hyperslab_FreeMapping() from 'int' to 'CCTK_INT'tradke2001-12-18
| | | | | | | as it is declared by its prototype. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@68 10716dce-81a3-4424-a2c8-48026a0d3035
* Removed old hyperslabbing code for diagonals which was working only fortradke2001-12-16
| | | | | | | | | cubic grids. The new code (which is already available via the new hyperslab API) can do diagonals from non-cubic variables also (but still only for non-staggered 3D variables). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@67 10716dce-81a3-4424-a2c8-48026a0d3035
* Allow hyperslab requests with a zero-extent. It does nothing but return 0tradke2001-12-11
| | | | | | | | | for the hyperslab size. Closes PR CactusPUGH/414. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@66 10716dce-81a3-4424-a2c8-48026a0d3035
* Bug fixes and more error checking in the new hyperslab API routines.tradke2001-12-05
| | | | | | | Still single-processor only. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@65 10716dce-81a3-4424-a2c8-48026a0d3035
* Added (still incomplete) implementation of the new Hyperslab API.tradke2001-12-04
| | | | | | | Not really usable yet, only single-processor case works. More changes to follow. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@64 10716dce-81a3-4424-a2c8-48026a0d3035
* PUGHSlab internal typedefs and prototypes.tradke2001-12-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@63 10716dce-81a3-4424-a2c8-48026a0d3035
* Some small fixes for the old hyperslab API.tradke2001-12-03
| | | | | | | This is meant as preparing for the new API which should be committed soon now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@62 10716dce-81a3-4424-a2c8-48026a0d3035
* Added const qualifier to the 'cGH *' argument of some more PUGHSlab functions.tradke2001-11-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@60 10716dce-81a3-4424-a2c8-48026a0d3035
* Fixed function argument list for PUGH_MPIDataType().tradke2001-06-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@59 10716dce-81a3-4424-a2c8-48026a0d3035
* Hyperslabs can be done now for every possible CCTK datatype.tradke2001-06-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@58 10716dce-81a3-4424-a2c8-48026a0d3035
* 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