aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet')
-rw-r--r--Carpet/CarpetLib/src/typeprops.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/typeprops.hh b/Carpet/CarpetLib/src/typeprops.hh
index 9e82a8a19..8477530bb 100644
--- a/Carpet/CarpetLib/src/typeprops.hh
+++ b/Carpet/CarpetLib/src/typeprops.hh
@@ -9,7 +9,10 @@ template <typename T>
struct typeprops {
typedef T complex;
typedef T real;
+ // Create a complex number from a real number
static inline complex fromreal (real const x) { return x; }
+ // Return the specific Cactus variable type for a Cactus variable
+ // type
};
#ifdef HAVE_CCTK_COMPLEX8