diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-05-22 01:34:06 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-05-22 01:34:06 +0000 |
commit | e08708f142420441c436dee9bdd7a1bcbdb5f072 (patch) | |
tree | 76f4af96b4fa18315c57d43aaa054b548838fadc /src/include/cctki_Groups.h | |
parent | f5380b07c235c29f7d2e57ecf7e050780a6996cc (diff) |
TAGS tables for groups.
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
Diffstat (limited to 'src/include/cctki_Groups.h')
-rw-r--r-- | src/include/cctki_Groups.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/include/cctki_Groups.h b/src/include/cctki_Groups.h index 4af616c0..c0b81ba9 100644 --- a/src/include/cctki_Groups.h +++ b/src/include/cctki_Groups.h @@ -19,21 +19,21 @@ extern "C" { void CCTKi_DumpGroupInfo(void); -int CCTKi_CreateGroup - (const char* gname, - const char* thorn, - const char* imp, - const char* gtype, - const char* vtype, - const char* gscope, - int dimension, - int ntimelevels, - const char* stype, - const char* dtype, - const char* size, - const char* ghostsize, - int n_variables, - ...); +int CCTKi_CreateGroup(const char *gname, + const char *thorn, + const char *imp, + const char *gtype, + const char *vtype, + const char *gscope, + int dimension, + int ntimelevels, + const char *stype, + const char *dtype, + const char *size, + const char *ghostsize, + const char *tags, + int n_variables, + ...); #ifdef __cplusplus } |