Skip to content
Snippets Groups Projects
Commit eeae57a2 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Use TargetSpace::CoordinateType instead of #ifdeffin' different FieldVectors

[[Imported from SVN: r10003]]
parent c8845b51
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment