FunctionIterator< P2Function > not working correctly
Hi,
there seems (in my understanding) to be a problem with the implementation of the FunctionIterator
class, when used on a P2Function
. When I run this test:
P2Function< real_t > p2Func( "P2 test func", storage, level, level );
for ( auto val : FunctionIterator< P2Function< real_t > >( p2Func, level ) )
{
if ( !val.isEdgeDoF() && !val.isVertexDoF() )
{
WALBERLA_ABORT( "P2 DoF must be either on micro edge or micro vertex!" );
}
}
it aborts, see [affa1907].
Cheers
Marcus