aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Clean up codeHEADmastereschnett2012-11-22
| | | | | | | | #ifdef out unused variable. Initialise invalid pointer with NULL. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@106 1c20744c-e24a-42ec-9533-f5004cb800e5
* Correct signatures of scheduled functionseschnett2011-01-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@97 1c20744c-e24a-42ec-9533-f5004cb800e5
* Use CCTK_BYTE instead of CCTK_CHARschnetter2005-01-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@83 1c20744c-e24a-42ec-9533-f5004cb800e5
* Add missing #include <stddef.h> and #include <stdio.h> statements.schnetter2004-12-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@82 1c20744c-e24a-42ec-9533-f5004cb800e5
* Print the variable name together with the variable index in an error message.schnetter2004-06-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@80 1c20744c-e24a-42ec-9533-f5004cb800e5
* Removed old interpolator API code.tradke2004-06-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@79 1c20744c-e24a-42ec-9533-f5004cb800e5
* Use symmetry interpolation.schnetter2004-05-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@78 1c20744c-e24a-42ec-9533-f5004cb800e5
* Fix in converting a non-const cGH pointer into 'const cGH *'.tradke2003-08-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@72 1c20744c-e24a-42ec-9533-f5004cb800e5
* Removed duplicate code for the old CCTK_InterpLocal() API (which is nowtradke2003-08-01
| | | | | | | | in CactusBase/LocalInterp). PUGHInterp's implementation of the old CCTK_InterpGV() API is now just a wrapper for CCTK_InterpGridArrays(). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@71 1c20744c-e24a-42ec-9533-f5004cb800e5
* Removed unused variable.tradke2003-08-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@70 1c20744c-e24a-42ec-9533-f5004cb800e5
* Another fix to return the correct status in the return code of ↵tradke2003-07-25
| | | | | | | | | CCTK_InterpGridArrays() and in the "local_interpolator_status" option in the user-supplied parameter table. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@69 1c20744c-e24a-42ec-9533-f5004cb800e5
* Used the wrong table to pass per-point status information between local andtradke2003-07-21
| | | | | | | global interpolator. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@68 1c20744c-e24a-42ec-9533-f5004cb800e5
* For the multiprocessor case, set the local interpolator status code to thetradke2003-07-18
| | | | | | | | | minimum of status codes from all the interpolation points a processor had requested - provided that the local interpolator supports the feature of returning such per-point status information (AEILocalInterp will do so soon). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@65 1c20744c-e24a-42ec-9533-f5004cb800e5
* Fokke Dijkstra's patch to fix a potential bug in the global interpolatortradke2003-06-19
| | | | | | | | | | | where the bbox and global shape info were taken from the cGH structure (which would be wrong if the coordinates are GAs rather than GFs). Now this info is obtained directly from coordinate's pgExtras structure. This closes PR CactusPUGH/1543. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@64 1c20744c-e24a-42ec-9533-f5004cb800e5
* Fixed the stencil range in warning messages about out-of-bound interpolation ↵tradke2003-06-11
| | | | | | | | | points. This closes PR CactusPUGH/1527. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@63 1c20744c-e24a-42ec-9533-f5004cb800e5
* Check for a "suppress_warnings" key in the parameter table to find out whethertradke2003-05-13
| | | | | | | | we should print warnings or not. So far this only affects the warning "Couldn't map point onto processor". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@61 1c20744c-e24a-42ec-9533-f5004cb800e5
* If an error condition occurs only locally on any processor, all processors willtradke2003-05-12
| | | | | | | | | return with a global error code now. This fixes deadlock situations for the multiprocessor case. The local interpolation status on each processor will be set as a table option entry "local_interpolator_status". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@58 1c20744c-e24a-42ec-9533-f5004cb800e5
* Bugfix for the multiprocessor case where an output array was touched even iftradke2003-05-12
| | | | | | | it was set to a NULL pointer (but its datatype was set to a valid value). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@57 1c20744c-e24a-42ec-9533-f5004cb800e5
* Fixed the case where an error code CCTK_ERROR_INTERP_POINT_OUTSIDE, as returnedtradke2003-05-07
| | | | | | | | | | by the local interpolator query call, should be translated by PUGHInterp into CCTK_ERROR_INTERP_GHOST_SIZE_TOO_SMALL. Also Jonathan Thornburg added some comments on how the query call interpolation points are set up. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@56 1c20744c-e24a-42ec-9533-f5004cb800e5
* If, in a multiprocessor case, a point couldn't be mapped onto a processortradke2003-05-06
| | | | | | | return CCTK_ERROR_INTERP_POINT_OUTSIDE rather than UTIL_ERROR_BAD_INPUT. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@54 1c20744c-e24a-42ec-9533-f5004cb800e5
* Fixed missing 'const' qualifiers to function arguments.tradke2003-03-11
| | | | | | | This closes PR CactusPUGH/1437. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@53 1c20744c-e24a-42ec-9533-f5004cb800e5
* Fixed the query call for the multiprocessor case which now tests only ontradke2003-03-10
| | | | | | | | interprocessor faces whether there are enough ghost zones available for the given molecule size. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@52 1c20744c-e24a-42ec-9533-f5004cb800e5
* Tolerate negative variable indices which should be treated as a no-op for thetradke2003-02-10
| | | | | | | corresponding input array entry. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@49 1c20744c-e24a-42ec-9533-f5004cb800e5
* Fixed the names of keys for the table options entries which define thetradke2003-01-29
| | | | | | | | | | | boundary treatment behaviour for the local interpolator. Also make a query call to the local interpolator to test whether it can deal with the bounding box coordinates of each processor's local patch. This catches errors in the multiprocessor case where the number of ghostzones isn't sufficient to let the local interpolator do its job properly. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@46 1c20744c-e24a-42ec-9533-f5004cb800e5
* Set the N_boundary_points_to_omit[], off_centering_tolerance[], andtradke2003-01-24
| | | | | | | | extrapolation_tolerance[] arrays in the options table to be passed down to the local interpolator. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@45 1c20744c-e24a-42ec-9533-f5004cb800e5
* Changed the order of function parameters in CCTK_InterpGridArrays().tradke2003-01-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@44 1c20744c-e24a-42ec-9533-f5004cb800e5
* Evaluate the 'input_arrays_time_levels' option in the parameter table.tradke2003-01-21
| | | | | | | | | This lets you specify other timelevels than the default current one for interpolation. This closes PR Cactus/843. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@43 1c20744c-e24a-42ec-9533-f5004cb800e5
* add a little bit more debug printing (inside #ifdef PUGHINTERP_DEBUG)jthorn2003-01-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@42 1c20744c-e24a-42ec-9533-f5004cb800e5
* Fixed compiler warning for non-MPI configurations.tradke2003-01-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@41 1c20744c-e24a-42ec-9533-f5004cb800e5
* For PUGHInterp_InterpGridArrays (which overloads CCTK_InterpGridArrays()),tradke2003-01-06
| | | | | | | | merge the local and global parameter tables into a single one. You also need to update the flesh now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@40 1c20744c-e24a-42ec-9533-f5004cb800e5
* Include Jonathan Thornburg's changes to the local interpolator in thetradke2002-12-20
| | | | | | | | | | | | | | LocalInterp thorn: * add a test for the case where the array dimension is smaller than the stencil/molecule size -- formerly this would access memory off the end of the array (==> possible core dump on some machines, eg alphas), now it gives an error return from the interpolator * systematize terminology for "stencil" vs "molecule" -- now all references are to the hybrid term "stencil/molecule" git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@39 1c20744c-e24a-42ec-9533-f5004cb800e5
* Fixed compile errors when compiling without MPI.tradke2002-12-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@38 1c20744c-e24a-42ec-9533-f5004cb800e5
* Overload CCTK_InterpGridArrays() with PUGHInterp_InterpGridArrays().tradke2002-12-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@37 1c20744c-e24a-42ec-9533-f5004cb800e5
* Initial version of PUGHInterp_InterpGridArrays() which implements the newtradke2002-12-20
| | | | | | | | global interpolation API and overloads CCTK_InterpGridArrays(). No table options are evaluated yet. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@36 1c20744c-e24a-42ec-9533-f5004cb800e5
* Moved check for interpolation points with a stencil outside of the gridtradke2002-12-19
| | | | | | | | | up from the local interpolation code into the global interpolator. This means for the interpolation of local arrays, points are allowed to be shifted back into the grid. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@35 1c20744c-e24a-42ec-9533-f5004cb800e5
* Fixed warning message which printed the wrong upper range for out-of-rangetradke2002-12-16
| | | | | | | grid points. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@34 1c20744c-e24a-42ec-9533-f5004cb800e5
* Preliminary support for both the old and the new global interpolator API.tradke2002-12-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@33 1c20744c-e24a-42ec-9533-f5004cb800e5
* No important changes, just tidying up before adding the new global interpolatortradke2002-12-11
| | | | | | | API. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@32 1c20744c-e24a-42ec-9533-f5004cb800e5
* Erik's patch which willtradke2002-08-19
| | | | | | | | | | (a) fix GetLocalCoords to check for too few ghostzones, but with a kludge, because I don't know how to get other processors' bbox information from PUGH. (b) change the interpolator to not shift the stencil any more. This closes PR CactusPUGH/1202. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@31 1c20744c-e24a-42ec-9533-f5004cb800e5
* Removed the local interpolation operator from PUGHInterp. The code for thistradke2002-05-29
| | | | | | | lives in thorn LocalInterp now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@25 1c20744c-e24a-42ec-9533-f5004cb800e5
* fix tiny typo in comment :)jthorn2001-10-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@20 1c20744c-e24a-42ec-9533-f5004cb800e5
* There are two changes in this checkin:jthorn2001-10-19
| | | | | | | | | | | | | | | | * Add a bunch of comments (some grdoc, some "just" ordinary C comments) documenting how the interpolator works, including grdoc comments describing all the arguments of the INTERPOLATE() macro. * #ifdef PUGHINTERP_VERBOSE_DEBUG Add some debugging code to print the interpolation coefficients etc at a single grid point; which grid point is specified by a global variable that the caller can set as appropriate. This is all inside the #ifdef, so in a normal compilation there's no overhead. #endif git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@19 1c20744c-e24a-42ec-9533-f5004cb800e5
* Fixed bug for assigning delta Cactus/756allen2001-08-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@17 1c20744c-e24a-42ec-9533-f5004cb800e5
* Fixed location of stencils for interpolation.tradke2001-08-02
| | | | | | | This closes PR CactusPUGH/745. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@16 1c20744c-e24a-42ec-9533-f5004cb800e5
* Use const pointers wherever possible.tradke2001-05-28
| | | | | | | | Also removed volatile qualifiers for some pointers which were needed on the Hitachi. The compiler bug there seems to be fixed now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@15 1c20744c-e24a-42ec-9533-f5004cb800e5
* New timelevel indexingallen2001-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@13 1c20744c-e24a-42ec-9533-f5004cb800e5
* Making rcsid string a constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@12 1c20744c-e24a-42ec-9533-f5004cb800e5
* Removed reference to USED grid::domain parameter. The code doesn't seemtradke2001-05-03
| | | | | | | | to be used anywhere. This closes PR CactusPUGH/PUGHInterp 649. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@11 1c20744c-e24a-42ec-9533-f5004cb800e5
* Interpolate on highest timelevel.allen2001-04-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@10 1c20744c-e24a-42ec-9533-f5004cb800e5
* Changing CCTK_CHAR to CCTK_BYTEallen2001-04-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@9 1c20744c-e24a-42ec-9533-f5004cb800e5