Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions opm/grid/cpgrid/Geometry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ namespace Dune
}

/// Returns the centroid of the geometry.
GlobalCoordinate center() const
const GlobalCoordinate& center() const
{
return pos_;
}
Expand All @@ -262,7 +262,7 @@ namespace Dune
/// J^T_{ij} = (dg_j/du_i)
/// where g is the mapping from the reference domain,
/// and {u_i} are the reference coordinates.
JacobianTransposed
const JacobianTransposed
jacobianTransposed(const LocalCoordinate& local_coord) const
{
static_assert(mydimension == 3, "");
Expand Down Expand Up @@ -298,7 +298,7 @@ namespace Dune
}

/// @brief Inverse of Jacobian transposed. \see jacobianTransposed().
JacobianInverseTransposed
const JacobianInverseTransposed
jacobianInverseTransposed(const LocalCoordinate& local_coord) const
{
JacobianInverseTransposed Jti = jacobianTransposed(local_coord);
Expand Down