SpECTRE  v2026.09.05
Loading...
Searching...
No Matches
gr::surfaces::Tags::AreaElementCompute< Frame > Struct Template Reference

Public Types

using base = AreaElement<Frame>
using return_type = Scalar<DataVector>
using argument_tags
Public Types inherited from gr::surfaces::Tags::AreaElement< Frame >
using type = Scalar<DataVector>

Static Public Attributes

static constexpr auto function

Member Typedef Documentation

◆ argument_tags

template<typename Frame>
using gr::surfaces::Tags::AreaElementCompute< Frame >::argument_tags
Initial value:
tmpl::list<gr::Tags::SpatialMetric<DataVector, 3, Frame>,
Jacobian(i,0) is , and Jacobian(i,1) is . Here means . Jacobian doesn't depend on the shape of the s...
Definition Tags.hpp:79
NormalOneForm(i) is , the (unnormalized) normal one-form to the surface, expressed in Cartesian compo...
Definition Tags.hpp:294
(Euclidean) distance from the center to each point of the surface.
Definition Tags.hpp:143
Rhat(i) is on the grid. Doesn't depend on the shape of the surface.
Definition Tags.hpp:56

Member Data Documentation

◆ function

template<typename Frame>
auto gr::surfaces::Tags::AreaElementCompute< Frame >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
gsl::not_null<Scalar<DataVector>*>, const tnsr::ii<DataVector, 3, Frame>&,
const ylm::Tags::aliases::Jacobian<Frame>&,
const tnsr::i<DataVector, 3, Frame>&, const Scalar<DataVector>&,
const tnsr::i<DataVector, 3, Frame>&)>(&area_element<Frame>)
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
void area_element(gsl::not_null< Scalar< DataVector > * > result, const tnsr::ii< DataVector, 3, Frame > &spatial_metric, const ylm::Tags::aliases::Jacobian< Frame > &jacobian, const tnsr::i< DataVector, 3, Frame > &normal_one_form, const Scalar< DataVector > &radius, const tnsr::i< DataVector, 3, Frame > &r_hat)
Area element of a 2D Strahlkorper.
Tensor< T, Symmetry<>, index_list<> > Scalar
Scalar type.
Definition TypeAliases.hpp:21

The documentation for this struct was generated from the following file:
  • src/PointwiseFunctions/GeneralRelativity/Surfaces/Tags.hpp