diff --git a/src/harmonicmaps.cc b/src/harmonicmaps.cc index 477a17058d2bdde5c49dab60cba38c2a84a8c929..19147ba66d8994bd987065b2fdd0ef5b4cc1dc39 100644 --- a/src/harmonicmaps.cc +++ b/src/harmonicmaps.cc @@ -161,15 +161,8 @@ int main (int argc, char *argv[]) try for (; vIt!=vEndIt; ++vIt) { int idx = grid.leafIndexSet().index(*vIt); -#ifdef REALTUPLE1 - FieldVector<double,1> v; -#elif defined UNITVECTOR3 - FieldVector<double,3> v; -#elif defined UNITVECTOR4 || defined ROTATION3 - FieldVector<double,4> v; -#else - FieldVector<double,2> v; -#endif + TargetSpace::CoordinateType v; + FieldVector<double,dim> pos = vIt->geometry().corner(0); FieldVector<double,3> axis; axis[0] = pos[0]; axis[1] = pos[1]; axis[2] = 1;