|
SpECTRE
v2026.04.01
|
Compute the divergence of a tnsr::I (vector) More...
#include <Divergence.hpp>
Public Types | |
| using | base = div<Tag> |
| using | return_type = typename base::type |
| using | argument_tags |
| Public Types inherited from Tags::div< Tag > | |
| using | tag = Tag |
| using | type = TensorMetafunctions::remove_first_index<typename Tag::type> |
Static Public Member Functions | |
| static constexpr void | function (const gsl::not_null< return_type * > div_input, const typename Tag::type &input, const Mesh< dim > &mesh, const typename InverseJacobianTag::type &inverse_jacobian) |
| static constexpr void | function (const gsl::not_null< return_type * > div_input, const typename Tag::type &input, const Mesh< dim > &mesh, const typename InverseJacobianTag::type &inverse_jacobian, const tnsr::I< DataVector, dim, Frame::Inertial > &inertial_coords) |
Compute the divergence of a tnsr::I (vector)
This tag inherits from db::add_tag_prefix<Tags::div, Tag>.
For an executable that does not allow a Cartoon basis, the last parameter, InertialCoordsTag, should not be passed.
| using Tags::DivVectorCompute< Tag, MeshTag, InverseJacobianTag, InertialCoordsTag >::argument_tags |