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 /lib/sbin/GridFuncStuff.pl | |
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 'lib/sbin/GridFuncStuff.pl')
-rw-r--r-- | lib/sbin/GridFuncStuff.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sbin/GridFuncStuff.pl b/lib/sbin/GridFuncStuff.pl index 6bd0924b..3df33749 100644 --- a/lib/sbin/GridFuncStuff.pl +++ b/lib/sbin/GridFuncStuff.pl @@ -1232,7 +1232,8 @@ sub CreateThornGroupInitialisers . " \"" . $rhinterface_db->{"\U$thorn GROUP $group\E STYPE"} . "\",\n" . " \"" . $rhinterface_db->{"\U$thorn GROUP $group\E DISTRIB"} . "\",\n" . " \"" . $rhinterface_db->{"\U$thorn GROUP $group\E SIZE"} . "\",\n" - . " \"" . $rhinterface_db->{"\U$thorn GROUP $group\E GHOSTSIZE"} . "\",\n"; + . " \"" . $rhinterface_db->{"\U$thorn GROUP $group\E GHOSTSIZE"} . "\",\n" + . " \"" . $rhinterface_db->{"\U$thorn GROUP $group\E TAGS"} . "\",\n"; # Is it a vector group ? if(defined($rhinterface_db->{"\U$thorn GROUP $group\E VARARRAY_SIZE"})) |