SpECTRE  v2024.12.16
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
gh::gauges::SetPiAndPhiFromConstraints< Dim > Struct Template Reference

Set Πab from the gauge source function (or 1-index constraint) and Φiab from the 3-index constraint. More...

#include <SetPiAndPhiFromConstraints.hpp>

Public Types

using return_tags = implementation defined
 
using argument_tags = implementation defined
 
using const_global_cache_tags = implementation defined
 

Static Public Member Functions

static void apply (gsl::not_null< tnsr::aa< DataVector, Dim, Frame::Inertial > * > pi, gsl::not_null< tnsr::iaa< DataVector, Dim, Frame::Inertial > * > phi, double time, const Mesh< Dim > &mesh, const ElementMap< Dim, Frame::Grid > &logical_to_grid_map, const domain::CoordinateMapBase< Frame::Grid, Frame::Inertial, Dim > &grid_to_inertial_map, const std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > > &functions_of_time, const tnsr::I< DataVector, Dim, Frame::ElementLogical > &logical_coordinates, const tnsr::aa< DataVector, Dim, Frame::Inertial > &spacetime_metric, const gauges::GaugeCondition &gauge_condition)
 

Detailed Description

template<size_t Dim>
struct gh::gauges::SetPiAndPhiFromConstraints< Dim >

Set Πab from the gauge source function (or 1-index constraint) and Φiab from the 3-index constraint.

This is necessary to ensure the initial data is in the desired evolution gauge and that the 1- and 3-index constraints are satisfied.


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