|
SpECTRE
v2026.04.01
|
Computes the spatial derivative of a single tensor tag not in a Variables. More...
#include <PartialDerivatives.hpp>
Public Types | |
| using | base = ::Tags::deriv<TensorTag, tmpl::size_t<Dim>, deriv_frame> |
| using | return_type = typename base::type |
| using | argument_tags |
Static Public Member Functions | |
| static constexpr void | function (const gsl::not_null< return_type * > du, const typename TensorTag::type &u, const Mesh< Dim > &mesh, const InverseJacobian< DataVector, Dim, Frame::ElementLogical, deriv_frame > &inverse_jacobian) |
| static constexpr void | function (const gsl::not_null< return_type * > du, const typename TensorTag::type &u, const Mesh< Dim > &mesh, const InverseJacobian< DataVector, Dim, Frame::ElementLogical, deriv_frame > &inverse_jacobian, const tnsr::I< DataVector, Dim, Frame::Inertial > &inertial_coords) |
Computes the spatial derivative of a single tensor tag not in a Variables.
Computes the spatial derivative for a single tensor represented by 'TensorTag' in the frame mapped to by 'InverseJacobianTag'. It takes a single Tensor designated by 'TensorTag', the inverse Jacobian, and a mesh.
For an executable that does not allow a Cartoon basis, the last parameter, InertialCoordsTag, should not be passed.
| using Tags::DerivTensorCompute< TensorTag, InverseJacobianTag, MeshTag, InertialCoordsTag >::argument_tags |