New specific coordinate type

This commit is contained in:
Guilhem Lavaux 2009-01-09 19:10:49 -06:00
parent db5e9b5cde
commit b6b868f98d

View File

@ -21,6 +21,11 @@ namespace CosmoTool
*/ */
typedef double Coordinates[NUMDIMS]; typedef double Coordinates[NUMDIMS];
/*
* Single precision coordinates.
*/
typedef float FCoordinates[NUMDIMS];
/** /**
* This function is used whenever one needs a general * This function is used whenever one needs a general
* conversion between mass and luminosity (or the opposite). * conversion between mass and luminosity (or the opposite).