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

Compute item for the electric part of the weyl tensor in vacuum Computed from the SpatialRicci, ExtrinsicCurvature, and InverseSpatialMetric. More...

#include <WeylElectric.hpp>

Public Types

using argument_tags
using return_type = tnsr::ii<DataType, SpatialDim, Frame>
using base = WeylElectric<DataType, SpatialDim, Frame>
Public Types inherited from gr::Tags::WeylElectric< DataType, SpatialDim, Frame >
using type

Static Public Attributes

static constexpr auto function

Detailed Description

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

Compute item for the electric part of the weyl tensor in vacuum Computed from the SpatialRicci, ExtrinsicCurvature, and InverseSpatialMetric.

Can be retrieved using gr::Tags::WeylElectric

Member Typedef Documentation

◆ argument_tags

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

Member Data Documentation

◆ function

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

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