summaryrefslogtreecommitdiff
path: root/src/comm
Commit message (Collapse)AuthorAge
* Include file name changesallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@832 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renaming functions and adding fortran bindingsallen1999-07-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@823 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK function name changesallen1999-07-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@787 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More names changesallen1999-07-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@780 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More subroutine name changesallen1999-07-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@778 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing some routine names.allen1999-07-24
| | | | | | | | | Internal functions are CCTKi_ Utility functions are Util_ git-svn-id: http://svn.cactuscode.org/flesh/trunk@777 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed the interface for CCTK_Interp which is now more generaltradke1999-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | because pointers to input fields are passed instead of variable indices. This way you can also interpolate on local fields. int CCTK_Interp (cGH *GH, int operation_handle, int nPoints, int nDims, int nInFields, int nOutFields, ...) whereas in the variable argument list there are passed (int this order): - dimensions of the underlying grid (int [nDims]) - coordinate arrays of points to interpolate at (void *[nDims]) - array of variable types for each coordinate array (int [nDims]) - origin of the underlying grid (<type of coordinate fields> [nDims]) - deltas of the underlying grid (<type of coordinate fields> [nDims]) - array of input fields (void *[nInFields]) - array of variable types for input fields (int [nInFields]) - array of output fields (void *[nOutFields]) - array of variable types for output fields (int []) The Fortran CCTK_Interp gets in addition to those as the second parameter a pointer to an integer where the returncode is stored. For interpolation of grid functions you can use CCTK_InterpGF which has the same interface as the old CCTK_Interp routine. Here you just pass the GF indices instead of the pointers. Since GFs are a special case of arrays, this routine uses the internal description of the underlying grid and simply calls CCTK_Interp. Interpolation operators have to implement the interface for the most general CCTK_Interp. See the packages/CactusPUGH/interp/src/interp_demo.F for an example of how to use both CCTK_Interp and CCTK_InterpGF. git-svn-id: http://svn.cactuscode.org/flesh/trunk@708 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Interp.c to SRCStradke1999-07-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@693 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Implements the generic CCTK_Interp() routinetradke1999-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and registration of interpolation operators. Call the Interp with arguments int CCTK_Interp (cGH *GH, int operation_handle, int nPoints, int nCoords, int nInFields, int nOutFields, ...) whereas in the variable argument list there are passed (int this order): - coordinate arrays of points to interpolate at (void *[]) - array of variable types for each coordinate array (int []) - array of input fields, given as grid functions indices (int []) - array of output fields (void *[]) - array of variable types for output field (int []) The Fortran CCTK_Interp gets in addition to those as the second parameter a pointer to an integer where the returncode is stored. See the packages/CactusPUGH/interp/src/interp_demo.F for an example of using the interp. git-svn-id: http://svn.cactuscode.org/flesh/trunk@692 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New names for many of the Group functions which are used by infrastructureallen1999-07-08
| | | | | | | | | thorns and the flesh. The names should be more consistent now. You might want to hold of from this update for a little while until all the thorn changes are in. git-svn-id: http://svn.cactuscode.org/flesh/trunk@688 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed bug in variable argument list handling.allen1999-07-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@653 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reduction works from fortran with variable argument lists nowallen1999-07-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@643 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New CCTK function nameallen1999-07-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@637 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fortran interface for reduction nearly finished, now itallen1999-07-04
| | | | | | | | | works for one in field. I need to find if it is possible to pass on a variable argument list or if I need to parse it first. git-svn-id: http://svn.cactuscode.org/flesh/trunk@635 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed CCTK_Warns t CCTK_WARN so that I can try and pass thorught theallen1999-07-03
| | | | | | | | | | | | | | | | | | | | | | | | line number and file name to the Warn message. This hass problems: 1) I really need to include cctk.h then (for some reason) in WarnLevel.h, but then I guess the Fortran name for CCTK_Warn is CCTK_WARN so it doesn't much care for me having a macro for CCTK_WARN. 2) Now I need three fortran strings to be passed into C. This works at the moment on Linux, but not on other machines, so you may need to run with warnings off for a little while. 3) Fortran doesn't get the file name, because (?) it is actually something from a pipe which gets preprocessed and not the file. I have no idea how to fix this. I may just scrap all this, but I want to persevere a bit Oh, there is a new parameter cctk_full_warnings (default yes for now) which gives the old style warnings with no. git-svn-id: http://svn.cactuscode.org/flesh/trunk@618 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Sorted out previous confusions (hopefully)allen1999-07-03
| | | | | | | | Tom, Thomas, Reduction now has just one Return type, and doesn't say what the input types are. git-svn-id: http://svn.cactuscode.org/flesh/trunk@617 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Bug fix ... I was calculating all reduction operations twiceallen1999-06-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@606 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Compiler warning fixallen1999-06-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@596 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New names for cGH variablesallen1999-06-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@587 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various chnages suggested by compilation warnings etc.goodale1999-06-24
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@571 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added FMODIFIER to Fortran subroutine definitions.goodale1999-06-24
| | | | | | | | | | FMODIFIER is now in config.h, so you may need to do a <conf>-reconfig after updating. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@568 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Double -> CCTK_REALallen1999-06-15
| | | | | | | | | | | | | REAL -> CCTK_REAL POINTER -> CCTK_POINTER VARIABLE_REAL -> CCTK_VARIABLE_REAL (etc) GH->iteration is now an int (not an unsigned long int) git-svn-id: http://svn.cactuscode.org/flesh/trunk@551 17b73243-c579-4c4c-a9d2-2d5706c11dac
* SOme morejmasso1999-06-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@544 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More changes from Joan and his NT nightmares.jmasso1999-06-03
| | | | | | | Please try this on a reasonable OS. git-svn-id: http://svn.cactuscode.org/flesh/trunk@543 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Mainly changes to include missing header files so that there are lessgoodale1999-06-01
| | | | | | | | | warnings when all warnings switched on (also better style 8-). Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@542 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Routines to deal with registering and using reduction operators. Still to add:allen1999-05-13
| | | | | | | proper checking that the outcoming values are the format expected. git-svn-id: http://svn.cactuscode.org/flesh/trunk@524 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CCTK_QueryGroupStorageallen1999-04-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@481 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed extraneous parameter to #undef OVERLOADABLE .goodale1999-04-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@473 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This will hold all the routines for calling the ByBoth routinesallen1999-04-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@470 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding origin of coordinate system temporarily to GHallen1999-04-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@441 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding to GHallen1999-03-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@365 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Put some code into GetnProcs and MyProc for when MPI is compiled in andgoodale1999-02-27
| | | | | | | | | | active. Driver subroutines should still overload these if they aren't using MPI_COMM_WORLD as they're communicator. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@356 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a typo.goodale1999-02-27
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@353 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added GetMyProc and GetnProcsallen1999-02-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@331 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved GHExtensions from the comm directory to the main directory.goodale1999-02-21
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@323 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added fortran binding for CCTK_SyncGroupallen1999-02-19
| | | | | | | Gab git-svn-id: http://svn.cactuscode.org/flesh/trunk@318 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added another fileallen1999-02-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@309 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Started added fortran bindings for the comm functions callable fromallen1999-02-18
| | | | | | | | | fortran Gab git-svn-id: http://svn.cactuscode.org/flesh/trunk@308 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changes to get timelevels working.goodale1999-02-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@302 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Need to use the trinary operator rather than || in the mallocs.goodale1999-02-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@261 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added new variables to fortran argument listsallen1999-02-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@255 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allocate memory for group and variable data pointers even if thereallen1999-02-10
| | | | | | | | are no groups or variables or the dimension is zero so that the memory allocation test does not fail git-svn-id: http://svn.cactuscode.org/flesh/trunk@235 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CCTK_GetGHExtensionHandle which returns the handle to the the specifiedgoodale1999-02-09
| | | | | | | | | GH extension. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@232 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reorganised group stuff.goodale1999-02-08
| | | | | | | | | Now all in Groups.c Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@225 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed include for prototypesallen1999-02-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@221 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Rationalised the overloading of functions. Goodbye RegisterKeyedFunction,goodale1999-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | hello Overloadable ! Now each subdirectory has one header file (in the include dir) which defines the overloadable functions. Macros are then applied to the header file to produce functions of the form CCTK_OverloadFoo(... (*func)(...)) to overload the function, and to create prototypes, dummy functions, and if statements which can be used to assign dummy (or other default) functions to any overloadable function which hasn't been assigned. The resulting functions have names of the form CCTK_Foo() As a byproduct of this the communication layer should work, 'though it's all dummy functions there at the moment, but at least you can call the functions. I've put OutputGH and OutputGroup in the IO layer, but can't remember precisely what we had decided as the canonical set of overloadable functions for IO. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@206 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some new functions, some reorganisation, more grdoc, and comments.goodale1999-02-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@194 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More changes for the GH extension registration.goodale1999-02-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@193 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now possible to register a GH extension, and register an initialisationgoodale1999-02-02
| | | | | | | | | function for it. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@186 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Written RegisterGHExtension.goodale1999-02-02
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@172 17b73243-c579-4c4c-a9d2-2d5706c11dac