SpECTRE  v2024.04.12
domain::Tags::JacobianDiagnosticCompute< Dim, TargetFrame > Struct Template Reference

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>

Public Types

using base = JacobianDiagnostic< Dim >
 
using return_type = typename base::type
 
using argument_tags = tmpl::list< ::domain::Tags::Jacobian< Dim, Frame::ElementLogical, TargetFrame >, ::domain::Tags::Coordinates< Dim, TargetFrame >, Mesh< Dim > >
 
- Public Types inherited from domain::Tags::JacobianDiagnostic< Dim >
using type = tnsr::i< DataVector, Dim, typename Frame::ElementLogical >
 

Static Public Attributes

static constexpr auto function
 

Detailed Description

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.

Member Data Documentation

◆ function

template<size_t Dim, typename TargetFrame >
constexpr auto domain::Tags::JacobianDiagnosticCompute< Dim, TargetFrame >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
const ::Jacobian<DataVector, Dim, Frame::ElementLogical, TargetFrame>&,
const tnsr::I<DataVector, Dim, TargetFrame>&, const ::Mesh<Dim>&)>(
&::domain::jacobian_diagnostic<Dim, TargetFrame>)
Definition: ContractFirstNIndices.hpp:16
Require a pointer to not be a nullptr
Definition: Gsl.hpp:183

The documentation for this struct was generated from the following file: