| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Extend routines to handle the new type.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3431 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3426 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replaced with new names
int CCTK_MaxTimeLevels(const char *group);
int CCTK_MaxTimeLevelsVN(const char *var);
int CCTK_MaxTimeLevelsVI(int var);
int CCTK_MaxTimeLevelsGN(const char *group);
int CCTK_MaxTimeLevelsGI(int group);
This is because we are adding CCTK_ActiveTimeLevels and also the names
make more sense.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3281 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Fixes Cactus/1309
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3237 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3130 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3029 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes PR Cactus/1292.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3019 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bindings.
Added internal routine CCTKi_VarDataPtr() which returns the data pointer for a
given variable+timelevel, or NULL if the variable doesn't exist. This routine
is regarded internal and should not be used anywhere else but in the thorn
bindings.
You must also update src/main/Groups.c and lib/sbin/GridFuncStuff.pl now
and do a 'make <configuration>-clean; make <configuration>-rebuild;'.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2910 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
You can now do
TAGS='foo=... bar=...'
in a group definition in your interface.ccl files.
The intention is that this can be used to assign tensor types and coordinate
systems to gorups.
This is implemented as a table, the handle of which you can get by calling
CCTK_GroupTagsTable
or
CCTK_GroupTagsTableI
and query using the normal table operators.
Note that currently the Util_TableCreateFromString function, which is used to generate
the table, doesn't support setting of string members. This will be changed soon.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2845 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2774 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
array sizes.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2687 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
parser stuff works much better now. This gets rid of gcc warnings about
unused local variables.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2472 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
Documentation should follow shortly...
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2462 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2450 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
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Thanks Tom.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2343 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Otherwise take the one from "../gnu/".
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2342 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2297 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This close PR Cactus-731.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2259 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
CCTK_VARIABLE_COMPLEX16, and CCTK_VARIABLE_COMPLEX32 types also.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2256 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
CCTK_COMPLEX32 types also.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2255 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
given index. Maybe we need to suggest how to choose appropriate levels in the users guide (not that we seem able to decide ourselves) eg use 6 and over for more info like statements such as these.
G.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2183 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2168 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
I'm actually trapping it in the CST generated code, which maybe isn't
the best place.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2162 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Fixed nasty warning about discarding const qualifier from pointer target type.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2132 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
In CCTK_TraverseString(): check for special token 'all' before trying the get
the index of a group or variable of that name.
This closes PR CactusBase-621.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2129 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2128 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also check if these parameters are of type INTEGER.
This close PR Cactus-608.
Restored the original warning level 2 for non-existing groups in
CCTK_GroupIndex(). This routine is now bypassed by CCTKi_SetupGroup()
so that no such warnings appear anymore at startup.
Also smoothed the code in this file a bit, fixed most compiler warnings,
deleted depricated routine CCTK_OldGroupData(), and added/completed grdoc
(at least return type descriptions). Uffz.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2119 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
Changed level 2 warning in CCTK_GroupIndex to a level 9 warning to remove
warnings at startup. Thorns should be checking the return value of CCTK_GroupIndex if they want a high level warning
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2112 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2068 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2023 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1905 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1841 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
group and/or variable names, calling a callback routine with the index.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1832 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1736 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1728 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1683 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
memory than it needed, but it was still wrong.
Thanks for pointing it out Erik.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1673 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
CCTK_Warn -> CCTK_VWarn where appropriate
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1639 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1624 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
staggered
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1604 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1603 17b73243-c579-4c4c-a9d2-2d5706c11dac
|