Commit 2e1fb93c authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

redirect volume() to correct function

parent 9fd7f4e8
......@@ -193,10 +193,16 @@ namespace Dune
GlobalCoordinate center () const { return mapping_->center(); }
GlobalCoordinate global ( const LocalCoordinate &local ) const { return mapping_->global( local ); }
LocalCoordinate local ( const GlobalCoordinate &global ) const { LocalCoordinate l; bool b = mapping_->local( global, l ); assert(b); return l; }
LocalCoordinate local ( const GlobalCoordinate &global ) const
{
LocalCoordinate l;
DUNE_UNUSED bool b = mapping_->local( global, l );
assert(b);
return l;
}
ctype integrationElement ( const LocalCoordinate &local ) const { return mapping_->integrationElement( local ); }
ctype volume () const { return mapping_->volume(); }
ctype volume () const { return mapping_->volume(std::numeric_limits<ctype>::epsilon()); }
JacobianTransposed jacobianTransposed ( const LocalCoordinate &local ) const { return mapping_->jacobianTransposed( local ); }
JacobianInverseTransposed jacobianInverseTransposed ( const LocalCoordinate &local ) const { return mapping_->jacobianInverseTransposed( local ); }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment