Computes the Jacobian diagnostic, which compares the analytic Jacobian (provided by some coordinate map) to a numerical Jacobian computed using numerical partial derivatives. The coordinates must be in the target frame of the map. See domain::jacobian_diagnostic
for details of the calculation.
More...
#include <JacobianDiagnostic.hpp>
template<size_t Dim, typename TargetFrame>
struct domain::Tags::JacobianDiagnosticCompute< Dim, TargetFrame >
Computes the Jacobian diagnostic, which compares the analytic Jacobian (provided by some coordinate map) to a numerical Jacobian computed using numerical partial derivatives. The coordinates must be in the target frame of the map. See domain::jacobian_diagnostic
for details of the calculation.
◆ function
template<size_t Dim, typename TargetFrame >
Initial value:= static_cast<void (*)(
tnsr::i<DataVector, Dim, typename Frame::ElementLogical>*>,
const ::Jacobian<DataVector, Dim, Frame::ElementLogical, TargetFrame>&,
const tnsr::I<DataVector, Dim, TargetFrame>&, const ::Mesh<Dim>&)>(
&::domain::jacobian_diagnostic<Dim, TargetFrame>)
Require a pointer to not be a nullptr
Definition: Gsl.hpp:183
The documentation for this struct was generated from the following file:
- src/Domain/JacobianDiagnostic.hpp