| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now can deal with both floating point and integer values.
You can use the functions from the standard C maths library which take
one argument.
Evaluation should be faster, 'though parsing is probably a bit slower.
Now the user-supplied evaluation routine is called just once at the
beginning of the evaluation, so if any of the evaluations need a global
operation, these can all be done at once.
The routines have now been renamed as Util_ functions and the
header file cctki_Expression.h has been renamed as util_Expression.h.
IMPORTANT NOTE:
The above means you will need to
rm configs/*/build/Cactus/util/Expression.c.d
rm configs/*/build/Cactus/main/Groups.c.d
after updating to get rid of stale dependency files.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2449 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This field should be considered volatile, it may not remain on this structure
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2448 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Set appropriate optimization options.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2447 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use it as
call CCTK_ParameterValString (ierror, parameter, thorn, value)
with parameter, thorn, value being fortran strings, the last one holding
the actual stringified value of the parameter.
ierror must be of type CCTK_INT and holds the return code of this wrapper
where 0 stands for success, -1 for 'parameter doesn't exist', -2 for
'fortran string buffer is too short to hold the value.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2446 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
parameters.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2445 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
structure. This should be considered volatile, the information might move
back to the internal structure.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2444 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
overloadables take a 'const cGH *' argument now.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2443 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2442 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2441 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
since they shouldn't modify the GH.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2440 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Cactus/817
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2439 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2438 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2437 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
has been fixed.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2436 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2435 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2434 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2433 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
the option '-Qy ...' will be added to LDFLAGS.
Also use option '-O0' to completely switch off optimization if it was
configured without optimization. This allows people with low memory machines
to compile heavy fortran code (like ADM_BSSN).
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2432 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2431 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2430 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
that C bindings are used for it.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2429 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2428 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2426 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2424 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
including this header in some C++ code.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2419 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2418 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2417 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2416 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2415 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2414 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2413 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This allows ADM_BSSN to compile again on irix systems where the CCTK_FARGUMENTS macro couldn't be expanded anymore by the system's preprocessor.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2412 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2411 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
The irix $(CPP) seems to have a severe limitation for the size of
expanded macros.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2410 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2409 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2408 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2407 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
conflicts with user variables. We should really change to passing in as an array
rather than <dim> seperate args.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2406 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
arguements for configinfo
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2405 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
integer constants combined with +,-,/ and *, with parentheses for the
sizes of GAs and the length of vector groups.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2404 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2403 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2401 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
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
|