diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-06-27 16:47:57 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-06-27 16:47:57 +0000 |
commit | acfb53a020f118db9f81cc05ab3ce398f43ebb98 (patch) | |
tree | 2674136f33c1573f1d9b7e4c0f047539710377d2 /src/main/Groups.c | |
parent | 6c7c72aaff070ed7411b9a59b2fe0e5e6c1bca90 (diff) |
Now CCTK_VarTypeNumber() knows about CCTK_COMPLEX8, CCTK_COMPLEX16, and
CCTK_COMPLEX32 types also.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2255 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/Groups.c')
-rw-r--r-- | src/main/Groups.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/Groups.c b/src/main/Groups.c index 26bdca10..cbdf4960 100644 --- a/src/main/Groups.c +++ b/src/main/Groups.c @@ -685,6 +685,18 @@ int CCTK_VarTypeNumber (const char *type) { retval = CCTK_VARIABLE_COMPLEX; } + else if (! strcmp (type, "COMPLEX8")) + { + retval = CCTK_VARIABLE_COMPLEX8; + } + else if (! strcmp (type, "COMPLEX16")) + { + retval = CCTK_VARIABLE_COMPLEX16; + } + else if (! strcmp (type, "COMPLEX32")) + { + retval = CCTK_VARIABLE_COMPLEX32; + } else if (! strcmp (type, "BYTE")) { retval = CCTK_VARIABLE_BYTE; |