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

added temporary mark(int, Entity&) for Robert

[[Imported from SVN: r1814]]
parent 3dbd7c1e
No related branches found
No related tags found
No related merge requests found
......@@ -230,7 +230,12 @@ namespace Dune {
* <li> false, if nothing changed </li>
* </ul>
*/
bool mark(int refCount, typename Traits::template codim<0>::EntityPointer & e );
bool mark(int refCount, typename Traits::template codim<0>::EntityPointer & e ) {
return mark(refCount, *e);
}
/** \brief Tempory for Robert */
bool mark(int refCount, typename Traits::template codim<0>::Entity& e );
/** \brief Mark method accepting a UG refinement rule
*/
......
......@@ -401,10 +401,13 @@ void Dune::UGGrid < dim, dimworld >::makeNewUGMultigrid()
}
template < int dim, int dimworld >
// bool Dune::UGGrid < dim, dimworld >::mark(int refCount,
// typename Traits::template codim<0>::EntityPointer & e )
bool Dune::UGGrid < dim, dimworld >::mark(int refCount,
typename Traits::template codim<0>::EntityPointer & e )
typename Traits::template codim<0>::Entity& e )
{
typename TargetType<0,dim>::T* target = getRealEntity<0>(*e).target_;
//typename TargetType<0,dim>::T* target = getRealEntity<0>(*e).target_;
typename TargetType<0,dim>::T* target = getRealEntity<0>(e).target_;
#ifdef _3
if (!UG3d::EstimateHere(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