SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
gh::Tags::Expansion1DCompute< Frame > Struct Template Reference

Compute item for the 1D expansion. More...

#include <Expansion1D.hpp>

Public Types

using argument_tags
using return_type = Scalar<DataVector>
using base = Expansion1D<DataVector>
Public Types inherited from gh::Tags::Expansion1D< DataVector >
using type

Static Public Attributes

static constexpr auto function

Detailed Description

template<typename Frame>
struct gh::Tags::Expansion1DCompute< Frame >

Compute item for the 1D expansion.

Details

Calculate the expansion for spherically symmetric cartoon horizon finding. See expansion1D(). Can be retrieved using gh::Tags::Expansion1D.

Member Typedef Documentation

◆ argument_tags

template<typename Frame>
using gh::Tags::Expansion1DCompute< Frame >::argument_tags
Initial value:
tmpl::list<gr::Tags::SpatialMetric<DataVector, 3, Frame>,
tmpl::size_t<3>, Frame>,
Indicates the Frame that a TensorIndexType is in.
Definition IndexType.hpp:36
Prefix indicating spatial derivatives.
Definition Prefixes.hpp:46
The coordinates in a given frame.
Definition Tags.hpp:85
Definition Tags.hpp:139

Member Data Documentation

◆ function

template<typename Frame>
auto gh::Tags::Expansion1DCompute< Frame >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
gsl::not_null<Scalar<DataVector>*>, const tnsr::ii<DataVector, 3, Frame>&,
const tnsr::ijj<DataVector, 3, Frame>&,
const tnsr::ii<DataVector, 3, Frame>&,
const tnsr::I<DataVector, 3, Frame>&)>(&expansion1D<DataVector, Frame>)
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
void expansion1D(gsl::not_null< Scalar< DataType > * > expansion, const tnsr::ii< DataType, 3, Frame > &spatial_metric, const tnsr::ijj< DataType, 3, Frame > &deriv_spatial_metric, const tnsr::ii< DataType, 3, Frame > &ext_curvature, const tnsr::I< DataType, 3, Frame > &coords)
Computes the expansion for 1D apparent horizon finding.

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