summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Don't stop if a variable type isn't know, but give a level 4 warningallen2001-10-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2437 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Using the expression parser for array sizes again now that the memory buggoodale2001-10-25
| | | | | | | | | has been fixed. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2436 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing memory allocation error.goodale2001-10-25
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2435 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a bug from my last commit.tradke2001-10-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2431 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include a structure definition into 'extern "C" {' just to be suretradke2001-10-24
| | | | | | | that C bindings are used for it. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2429 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing variable initialization in vector group setup.tradke2001-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2428 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New function to provide the implementation which provided a groupallen2001-10-23
| | | | | | | | | const char *CCTK_GroupImplementationI(int group) Also reduced warning level to fix Cactus/812 in DecomposeName git-svn-id: http://svn.cactuscode.org/flesh/trunk@2427 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Just incase anyone registers an IO method from fortranallen2001-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2426 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a function which returns a list of required (=inherited+friends) ↵allen2001-10-23
| | | | | | | | | | | | implementations for a given implementation. I don't like the function name too much, so it may change in the next couple of weeks uStringList *CCTK_ImplementationRequires(const char *imp) git-svn-id: http://svn.cactuscode.org/flesh/trunk@2425 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding prototypesallen2001-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2424 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added implementation information for interpolation operatorsallen2001-10-23
| | | | | | | | | | | Two new functions const char *CCTK_InterpOperatorImplementation(int handle); int CCTK_NumInterpOperators(void); git-svn-id: http://svn.cactuscode.org/flesh/trunk@2423 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added implementation information to reduce structureallen2001-10-23
| | | | | | | | | | | New functions: const char *CCTK_ReduceOperatorImplementation(int handle); int CCTK_NumReduceOperators(void); git-svn-id: http://svn.cactuscode.org/flesh/trunk@2422 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added implementation information to the IOMethod structureallen2001-10-23
| | | | | | | | | | | Two new functions: const char *CCTK_IOMethodImplementation(int handle); int CCTK_NumIOMethods(void); git-svn-id: http://svn.cactuscode.org/flesh/trunk@2421 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use the old regex parameter parsing to extract the sizes of variable dims.tradke2001-10-23
| | | | | | | The new expression parser is buggy for cases like '<param>+<constant>'. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2420 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renamed function parameter from 'this' to 'list' otherwise you get problemstradke2001-10-23
| | | | | | | including this header in some C++ code. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2419 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Print out times with the same formatallen2001-10-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2416 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed small bug in detecting errors in thorn inheritanceallen2001-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2414 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed the extraction of array size and vector group length from parametersgoodale2001-10-13
| | | | | | | | | | to use expression parser. This allows any combination of parameters and integer constants combined with +,-,/ and *, with parentheses. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2402 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding expression parser.goodale2001-10-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2401 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Start of putting the expression parser into the flesh available routines.goodale2001-10-13
| | | | | | | | | | | Currently just a copy of the stuff from HTTPD changed to integer and a bug fix. When it is generalised and some optimisation is done these will become Util routines rather than CCTKi routines. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2400 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Preliminary support for 'vector' Grid Variables -goodale2001-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defined as <type> <group_name>[<size>] ... as per a normal 1 variable group except with an extra argument. This creates a vector of GVS, with an extra index (the last one for a GA or GF) corresponding to the element in the vector. For scalars this creates an array similar to a DISTRIB=CONSTANT GA. <size> may be either an integer or an integer-valued parameter. So, fortran sees REAL foo[param] TYPE=GF DIM=3 as CCTK_REAL foo(nx,ny,nz,param) and in C it should be accessed as foo[CCTK_GFINDEX3D(cctkGH,i,j,k)*l] When we have COMPACT groups you will also be able to make the extra index the first one rather than the last one. Please treat this as volatile until it is documented, and let me know if you are using it. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2392 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed misspelling in prototype declaration for CCTK_CoordSystemHandle().tradke2001-10-01
| | | | | | | This closes PR Cactus/795. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2390 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed duplicate prototype declaration for CCTK_CoordSystemHandle().tradke2001-10-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2389 17b73243-c579-4c4c-a9d2-2d5706c11dac
* For Erik ... Version -> Cactus versionallen2001-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2378 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cactus/783 and a bit moreallen2001-09-21
| | | | | | | | | | | | | | | Changed banner information to look something like: -------------------------------------------------------------------------------- Version: 4.0.b11 Compile date: Sep 21 2001 (20:54:30) Run date: Sep 21 2001 (21:17:58) Run host: gullveig.aei.mpg.de Parameter file: test_WaveToy2D.par -------------------------------------------------------------------------------- git-svn-id: http://svn.cactuscode.org/flesh/trunk@2376 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Sync with local changes: some grdoc completion, removed spurios tabs.tradke2001-09-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2375 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Print the parameter file name before the messages about ActiveThornsallen2001-09-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2374 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_ParameterGet() returns a const pointer now.tradke2001-09-20
| | | | | | | Also fixed some gcc warnings and added some grdoc. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2373 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_ParameterGet() returns a const pointer now.tradke2001-09-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2372 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make 'cGH *' argument to CCTK_TerminateNext() and CCTK_TerminationReached()tradke2001-09-20
| | | | | | | a const pointer. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2371 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added timing and output of total time.tradke2001-09-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2370 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moving to new MACROS for fortran stringsallen2001-09-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2358 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing to new macros for FORTRAN_STRINGallen2001-09-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2357 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed gcc warnings.tradke2001-09-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2351 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Increased parse buffer size to 8 kB. Also allocate buffers dynamicallytradke2001-09-07
| | | | | | | | | instead of reserving them on the function stack (might cause stack overflow). This closes PR Cactus-784. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2345 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include "cctk_GNU.h" which also knows where to include <regex.h> from.tradke2001-09-06
| | | | | | | Thanks Tom. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2343 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include system header file regex.h only if HAVE_REGEX_H is defined.tradke2001-09-06
| | | | | | | Otherwise take the one from "../gnu/". git-svn-id: http://svn.cactuscode.org/flesh/trunk@2342 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Version, Compile Time and Run Time to standard banner to make it easier toallen2001-09-05
| | | | | | | interpret standard output files git-svn-id: http://svn.cactuscode.org/flesh/trunk@2337 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Extended parsing of SIZE option for ARRAY variables.tradke2001-09-03
| | | | | | | | | Now this can be a comma-separated list of positive integer constants or parameter names (optionally with an integer constant added/substracted to/from it). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2327 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed extraneous semicolon to get rid of compiler warning.tradke2001-09-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2324 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some reformatting of the timer information table (cctk_timer_output = "full").tradke2001-08-31
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2323 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check return code of CCTK_CreateTimer().tradke2001-08-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2320 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Get rid of the prefix when creating named timers so that the othertradke2001-08-27
| | | | | | | routines, which take the name as the argument, do work again. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2319 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't print any warning or info messages in CCTK_CreateDirectory().tradke2001-08-27
| | | | | | | Callers should check the return code. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2316 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Return +1 in CCTK_CreateDirectory() if dir already exists, and negativetradke2001-08-27
| | | | | | | if it couldn't be created for some other reason. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2315 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed compiler warnings. Added grdoc.tradke2001-08-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2301 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added fortran wrappers for CCTK_DisableGroupComm() and ↵tradke2001-08-04
| | | | | | CCTK_DisableGroupStorage(). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2298 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed parsing of option string in CCTK_TraverseString().tradke2001-07-31
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2297 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make the name for named Cactus timers unique by prepending the timer number.tradke2001-07-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2292 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Return an error code in CCTK_CoordRangePhysIndex() if no range was ↵tradke2001-07-12
| | | | | | registered yet. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2291 17b73243-c579-4c4c-a9d2-2d5706c11dac