]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use a Tensor for a direction vector.
authorDavid Wells <wellsd2@rpi.edu>
Sat, 13 May 2017 21:23:02 +0000 (17:23 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 13 May 2017 21:23:02 +0000 (17:23 -0400)
The old version works since Point<3> inherits from Tensor<1, 3> and this is only
implemented for the spacedim == 3 case.

include/deal.II/opencascade/boundary_lib.h

index 753af5347996d9dfd29239ba3cc8da8d8271c9ee..d992e5a72b05ec97004a15e0f5593b799b40d57a 100644 (file)
@@ -164,7 +164,7 @@ namespace OpenCASCADE
     /**
      * Direction used to project new points on the shape.
      */
-    const Point<3> direction;
+    const Tensor<1, spacedim> direction;
 
     /**
      * Relative tolerance used by this class to compute distances.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.