mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
#4669 Add more gradient tests and use transposed of Jacobian
This commit is contained in:
1 parent
967d8b9bd4
commit
311c03139f
2 files changed
+174
-50
No files matched your search
@@ -53,7 +53,7 @@ std::array<cvf::Vec3d, 8> RigHexGradientTools::gradients( const std::array<cvf::
|
||||
{
|
||||
bool isInvertPossible = false;
|
||||
cvf::Mat3d jacobian = caf::HexInterpolator::jacobi( hexCorners, NC[i] );
|
||||
// jacobian.transpose();
|
||||
jacobian.transpose();
|
||||
gradientsXYZ[i] = gradientsUVW[i].getTransformedVector( jacobian.getInverted( &isInvertPossible ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user