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

geometry with dim=0 has methods global() and local() now

[[Imported from SVN: r4078]]
parent 4faf62a8
No related branches found
No related tags found
No related merge requests found
......@@ -111,6 +111,19 @@ namespace Dune {
return target_->pos_;
}
/** \brief Maps a local coordinate within reference element to
* global coordinate in element */
FieldVector<OneDCType, 1> global (const FieldVector<OneDCType, 0>& local) const {
return target_->pos_;
}
/** \brief Maps a global coordinate within the element to a
* local coordinate in its reference element */
FieldVector<OneDCType, 0> local (const FieldVector<OneDCType, 1>& global) const {
FieldVector<OneDCType, 0> l;
return l;
}
//private:
OneDEntityImp<0>* target_;
......
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