Skip to content
Snippets Groups Projects
Commit 827a318c authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

add method size()

[[Imported from SVN: r7906]]
parent bc992439
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,12 @@ public: ...@@ -46,6 +46,12 @@ public:
coefficients_(coefficients) coefficients_(coefficients)
{} {}
/** \brief The number of Lagrange points */
unsigned int size() const
{
return localFiniteElement_.localBasis().size();
}
/** \brief Evaluate the function */ /** \brief Evaluate the function */
TargetSpace evaluate(const Dune::FieldVector<ctype, dim>& local) const; TargetSpace evaluate(const Dune::FieldVector<ctype, dim>& local) const;
...@@ -565,6 +571,12 @@ public: ...@@ -565,6 +571,12 @@ public:
} }
/** \brief The number of Lagrange points */
unsigned int size() const
{
return localFiniteElement_.localBasis().size();
}
/** \brief Evaluate the function */ /** \brief Evaluate the function */
TargetSpace evaluate(const Dune::FieldVector<ctype, dim>& local) const TargetSpace evaluate(const Dune::FieldVector<ctype, dim>& local) const
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment