SpECTRE
v2025.03.17
|
Set
#include <SetPiAndPhiFromConstraints.hpp>
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, bool set_pi_and_phi_from_constraints=true) |
Set
This is necessary to ensure the initial data is in the desired evolution gauge and that the 1- and 3-index constraints are satisfied.