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

new method setToTarget to explicitly make the UGGridEntityPointer point to something

[[Imported from SVN: r2225]]
parent 15b72900
Branches
Tags
No related merge requests found
......@@ -22,6 +22,10 @@ namespace Dune {
virtualEntity_.setToTarget(0);
}
void setToTarget(typename TargetType<codim,dim>::T* target, int level) {
virtualEntity_.setToTarget(target, level);
}
//! equality
bool equals(const UGGridEntityPointer<codim,GridImp>& i) const {
return virtualEntity_.getTarget() == i.virtualEntity_.getTarget();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment