SpECTRE
v2024.09.29
|
Compute the spatial derivatives of tags in a Variables. More...
#include <PartialDerivatives.hpp>
Public Types | |
using | base = db::add_tag_prefix< deriv, ::Tags::Variables< DerivTags >, tmpl::size_t< tmpl::back< typename InverseJacobianTag::type::index_list >::dim >, typename tmpl::back< typename InverseJacobianTag::type::index_list >::Frame > |
using | return_type = typename base::type |
using | argument_tags = tmpl::list< VariablesTag, MeshTag, InverseJacobianTag > |
Static Public Attributes | |
static constexpr void(* | function )(gsl::not_null< return_type * >, const typename VariablesTag::type &, const Mesh< Dim > &, const InverseJacobian< DataVector, Dim, Frame::ElementLogical, deriv_frame > &) |
Compute the spatial derivatives of tags in a Variables.
Computes the spatial derivatives of the Tensors in the Variables represented by VariablesTag
in the frame mapped to by InverseJacobianTag
. To only take the derivatives of a subset of these Tensors you can set the DerivTags
template parameter. It takes a tmpl::list
of the desired tags and defaults to the full tags_list
of the Variables.
This tag may be retrieved via Tags::Variables<db::wrap_tags_in<deriv, DerivTags, Dim, deriv_frame>
.
|
staticconstexpr |