From 82fe4f47c6f4af651b746e7ea2844b34e50c3ba2 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Sat, 13 Feb 2010 18:44:58 -0600 Subject: CarpetLib: Add comments --- Carpet/CarpetLib/src/typeprops.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Carpet/CarpetLib') 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 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 -- cgit v1.2.3