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

Export the type DerivativeOfProjection

Which is the type returned by the derivativeOfProjection method.

[[Imported from SVN: r10067]]
parent 1059351c
No related branches found
No related tags found
No related merge requests found
...@@ -86,6 +86,9 @@ public: ...@@ -86,6 +86,9 @@ public:
/** \brief The global convexity radius of the unit sphere */ /** \brief The global convexity radius of the unit sphere */
static constexpr double convexityRadius = 0.5*M_PI; static constexpr double convexityRadius = 0.5*M_PI;
/** \brief The return type of the derivativeOfProjection method */
typedef Dune::FieldMatrix<T, N, N> DerivativeOfProjection;
/** \brief Default constructor */ /** \brief Default constructor */
UnitVector() UnitVector()
{} {}
...@@ -374,7 +377,7 @@ public: ...@@ -374,7 +377,7 @@ public:
return result; return result;
} }
static Dune::FieldMatrix<T, N, N> derivativeOfProjection(const Dune::FieldVector<T,N>& p) static DerivativeOfProjection derivativeOfProjection(const Dune::FieldVector<T,N>& p)
{ {
Dune::FieldMatrix<T,N,N> result; Dune::FieldMatrix<T,N,N> result;
for (int i=0; i<N; i++) for (int i=0; i<N; i++)
......
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