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

Implemented integrationElement() and checkInside() for vertices.

The latter really doesn't make much sense.  The implementation
always returns 'true' now.  That doesn't really make me happy,
though.

[[Imported from SVN: r4173]]
parent f87cd655
Branches
Tags
No related merge requests found
......@@ -124,6 +124,25 @@ namespace Dune {
return l;
}
/** \brief Returns true if the point is in the current element
This method really doesn't make much sense for a zero-dimensional
object. It always returns 'true'.
*/
bool checkInside(const FieldVector<typename GridImp::ctype, 0> &local) const {
return true;
}
/** \brief !!!
This method really doesn't make much sense for a zero-dimensional
object. It always returns '1'.
*/
OneDCType integrationElement (const FieldVector<OneDCType, 0>& local) const {
return 1;
}
//private:
OneDEntityImp<0>* target_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment