Skip to content
Snippets Groups Projects

Implement jacobian and jacobianInverse method

Open Simon Praetorius requested to merge issue/geometry-jacobian into master
2 files
+ 88
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -32,7 +32,9 @@ namespace Dune
typedef typename HostGeometry::LocalCoordinate LocalCoordinate;
typedef typename HostGeometry::GlobalCoordinate GlobalCoordinate;
typedef typename HostGeometry::Jacobian Jacobian;
typedef typename HostGeometry::JacobianTransposed JacobianTransposed;
typedef typename HostGeometry::JacobianInverse JacobianInverse;
typedef typename HostGeometry::JacobianInverseTransposed JacobianInverseTransposed;
IdGridBasicGeometry ( const HostGeometry &hostGeometry )
@@ -52,11 +54,21 @@ namespace Dune
ctype integrationElement ( const LocalCoordinate &local ) const { return hostGeometry().integrationElement( local ); }
ctype volume () const { return hostGeometry().volume(); }
Jacobian jacobian ( const LocalCoordinate &local ) const
{
return hostGeometry().jacobian( local );
}
JacobianTransposed jacobianTransposed ( const LocalCoordinate &local ) const
{
return hostGeometry().jacobianTransposed( local );
}
JacobianInverse jacobianInverse ( const LocalCoordinate &local ) const
{
return hostGeometry().jacobianInverse( local );
}
JacobianInverseTransposed jacobianInverseTransposed ( const LocalCoordinate &local ) const
{
return hostGeometry().jacobianInverseTransposed( local );
Loading