SpECTRE  v2024.05.11
gr::surfaces::Tags::InverseSpatialMetricCompute< Dim, Frame > Struct Template Reference

These ComputeItems are different from those used in GeneralizedHarmonic evolution because these live only on the intrp::Actions::ApparentHorizon DataBox, not in the volume DataBox. And these ComputeItems can do fewer allocations than the volume ones, because (for example) Lapse, SpaceTimeNormalVector, etc. can be inlined instead of being allocated as a separate ComputeItem. More...

#include <ComputeItems.hpp>

Public Types

using return_type = tnsr::II< DataVector, Dim, Frame >
 
using argument_tags = tmpl::list< gr::Tags::SpacetimeMetric< DataVector, Dim, Frame > >
 
using base = gr::Tags::InverseSpatialMetric< DataVector, Dim, Frame >
 
- Public Types inherited from gr::Tags::InverseSpatialMetric< DataVector, Dim, Frame >
using type = tnsr::II< DataVector, Dim, Frame >
 

Static Public Member Functions

static void function (const gsl::not_null< tnsr::II< DataVector, Dim, Frame > * > result, const tnsr::aa< DataVector, Dim, Frame > &psi)
 

Detailed Description

template<size_t Dim, typename Frame>
struct gr::surfaces::Tags::InverseSpatialMetricCompute< Dim, Frame >

These ComputeItems are different from those used in GeneralizedHarmonic evolution because these live only on the intrp::Actions::ApparentHorizon DataBox, not in the volume DataBox. And these ComputeItems can do fewer allocations than the volume ones, because (for example) Lapse, SpaceTimeNormalVector, etc. can be inlined instead of being allocated as a separate ComputeItem.


The documentation for this struct was generated from the following file: