aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/typeprops.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2010-02-13 18:44:58 -0600
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 16:45:29 +0000
commit82fe4f47c6f4af651b746e7ea2844b34e50c3ba2 (patch)
treeb2889d0b3b85bd5e5e9b8ae5afdc1b14a5ab11d8 /Carpet/CarpetLib/src/typeprops.hh
parent2d5f71617393c79d31d8b5848c814aafdd10ba28 (diff)
CarpetLib: Add comments
Diffstat (limited to 'Carpet/CarpetLib/src/typeprops.hh')
-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