Classes | Namespaces
Constraints.hpp File Reference

Defines functions to calculate the scalar wave constraints in curved spacetime. More...

#include <cstddef>
#include "DataStructures/Tensor/Tensor.hpp"
#include "Evolution/Systems/CurvedScalarWave/Tags.hpp"
#include "NumericalAlgorithms/LinearOperators/PartialDerivatives.hpp"
#include "Utilities/Gsl.hpp"
#include "Utilities/MakeWithValue.hpp"
#include "Utilities/TMPL.hpp"

Go to the source code of this file.

Classes

struct  CurvedScalarWave::Tags::ConstraintGamma1Compute
 Compute items to compute constraint damping parameters. More...
 
struct  CurvedScalarWave::Tags::ConstraintGamma2Compute
 Compute items to compute constraint damping parameters. More...
 
struct  CurvedScalarWave::Tags::OneIndexConstraintCompute< SpatialDim >
 Compute item to get the one-index constraint for the scalar-wave evolution system. More...
 
struct  CurvedScalarWave::Tags::TwoIndexConstraintCompute< SpatialDim >
 Compute item to get the two-index constraint for the scalar-wave evolution system. More...
 

Namespaces

 CurvedScalarWave
 Items related to evolving a scalar wave on a curved background.
 
 CurvedScalarWave::Tags
 Tags for the curved scalar wave system.
 

Functions

template<size_t SpatialDim>
tnsr::i< DataVector, SpatialDim, Frame::InertialCurvedScalarWave::one_index_constraint (const tnsr::i< DataVector, SpatialDim, Frame::Inertial > &d_psi, const tnsr::i< DataVector, SpatialDim, Frame::Inertial > &phi) noexcept
 Computes the scalar-wave one-index constraint. More...
 
template<size_t SpatialDim>
void CurvedScalarWave::one_index_constraint (gsl::not_null< tnsr::i< DataVector, SpatialDim, Frame::Inertial > *> constraint, const tnsr::i< DataVector, SpatialDim, Frame::Inertial > &d_psi, const tnsr::i< DataVector, SpatialDim, Frame::Inertial > &phi) noexcept
 Computes the scalar-wave one-index constraint. More...
 
template<size_t SpatialDim>
tnsr::ij< DataVector, SpatialDim, Frame::InertialCurvedScalarWave::two_index_constraint (const tnsr::ij< DataVector, SpatialDim, Frame::Inertial > &d_phi) noexcept
 Computes the scalar-wave 2-index constraint. More...
 
template<size_t SpatialDim>
void CurvedScalarWave::two_index_constraint (gsl::not_null< tnsr::ij< DataVector, SpatialDim, Frame::Inertial > *> constraint, const tnsr::ij< DataVector, SpatialDim, Frame::Inertial > &d_phi) noexcept
 Computes the scalar-wave 2-index constraint. More...
 

Detailed Description

Defines functions to calculate the scalar wave constraints in curved spacetime.