SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
gr::Tags::WeylElectricScalarCompute< DataType, SpatialDim, Frame > Struct Template Reference

Can be retrieved using gr::Tags::WeylElectricScalar. More...

#include <WeylElectric.hpp>

Public Types

using argument_tags
using return_type = Scalar<DataType>
using base = WeylElectricScalar<DataType>
Public Types inherited from gr::Tags::WeylElectricScalar< DataType >
using type = Scalar<DataType>

Static Public Attributes

static constexpr auto function

Detailed Description

template<typename DataType, size_t SpatialDim, typename Frame>
struct gr::Tags::WeylElectricScalarCompute< DataType, SpatialDim, Frame >

Can be retrieved using gr::Tags::WeylElectricScalar.

Member Typedef Documentation

◆ argument_tags

template<typename DataType, size_t SpatialDim, typename Frame>
using gr::Tags::WeylElectricScalarCompute< DataType, SpatialDim, Frame >::argument_tags
Initial value:
tmpl::list<gr::Tags::WeylElectric<DataType, SpatialDim, Frame>,
Inverse of the spatial metric.
Definition Tags.hpp:32

Member Data Documentation

◆ function

template<typename DataType, size_t SpatialDim, typename Frame>
auto gr::Tags::WeylElectricScalarCompute< DataType, SpatialDim, Frame >::function
staticconstexpr
Initial value:
=
static_cast<void (*)(gsl::not_null<Scalar<DataType>*>,
const tnsr::ii<DataType, SpatialDim, Frame>&,
const tnsr::II<DataType, SpatialDim, Frame>&)>(
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
Scalar< DataType > weyl_electric_scalar(const tnsr::ii< DataType, SpatialDim, Frame > &weyl_electric, const tnsr::II< DataType, SpatialDim, Frame > &inverse_spatial_metric)
Computes the scalar from the electric part of the Weyl tensor .

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