| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
| |
Internal functions are CCTKi_
Utility functions are Util_
git-svn-id: http://svn.cactuscode.org/flesh/trunk@777 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
Moved a ONE_FORTSTRING_ARG to end of variable declarations so
that it can contain non-declarations.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@683 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
At the moment it won't work for real or int parameters which aren't defined as
CCTK_INT or CCTK_REAL in param.ccl
git-svn-id: http://svn.cactuscode.org/flesh/trunk@654 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@622 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
regex stuff is in the source.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@548 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Please try this on a reasonable OS.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@543 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as distributed with the regex-0.12 package, except for prepending them with
gnu_ and a couple of clearly marked changes, plus the adddition of grdoc file
headers.
This should guarantee the same behaviour and presence of regular expressions
on all platforms, especially those which don't fully support POSIX regular
expresssions.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@533 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@521 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@499 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@496 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
use the POSIX.2 regular expression functions regcomp and regexec to do
regular expression matching on strings. These functions seem to be
available and operating in the same way on all platforms.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@485 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
pointer
git-svn-id: http://svn.cactuscode.org/flesh/trunk@443 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@436 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@431 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
void CCTK_PrintString(char *data)
{
printf("%s",data);
}
void FORTRAN_NAME(CCTK_PrintString)(char *arg1)
{
CCTK_PrintString(arg1);
}
with the idea that you could use it to print the vlaue of a string parameter
from the pointer that you have in fortran. But it doesn't work. Maybe
someone can tell me why?
git-svn-id: http://svn.cactuscode.org/flesh/trunk@429 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
since Fortran always passes by reference.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@321 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@311 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@301 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
when passing one or two fortran strings into routines (two strings since
I originally forgot that there was really only one string)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@265 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
as required by the bindings.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@98 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@97 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@87 17b73243-c579-4c4c-a9d2-2d5706c11dac
|