Classes | Namespaces | Functions
DampedHarmonic.hpp File Reference

Defines Functions for calculating damped harmonic gauge quantities from 3+1 quantities. More...

#include <cstddef>
#include "DataStructures/DataBox/DataBoxTag.hpp"
#include "DataStructures/Tensor/TypeAliases.hpp"
#include "Domain/Tags.hpp"
#include "Evolution/Systems/GeneralizedHarmonic/Tags.hpp"
#include "PointwiseFunctions/GeneralRelativity/TagsDeclarations.hpp"
#include "Time/Tags.hpp"
#include "Utilities/TMPL.hpp"

Go to the source code of this file.

Classes

struct  GeneralizedHarmonic::DampedHarmonicHCompute< SpatialDim, Frame >
 Damped harmonic gauge source function. More...
 
struct  GeneralizedHarmonic::SpacetimeDerivDampedHarmonicHCompute< SpatialDim, Frame >
 Spacetime derivatives of the damped harmonic gauge source function. More...
 

Namespaces

 GeneralizedHarmonic
 Items related to evolving the first-order generalized harmonic system.
 

Functions

template<size_t SpatialDim, typename Frame >
void GeneralizedHarmonic::damped_harmonic_h (gsl::not_null< typename db::item_type< Tags::GaugeH< SpatialDim, Frame >> *> gauge_h, const typename db::item_type< Tags::InitialGaugeH< SpatialDim, Frame >> &gauge_h_init, const Scalar< DataVector > &lapse, const tnsr::I< DataVector, SpatialDim, Frame > &shift, const Scalar< DataVector > &sqrt_det_spatial_metric, const tnsr::aa< DataVector, SpatialDim, Frame > &spacetime_metric, double time, const tnsr::I< DataVector, SpatialDim, Frame > &coords, double amp_coef_L1, double amp_coef_L2, double amp_coef_S, int exp_L1, int exp_L2, int exp_S, double t_start_h_init, double sigma_t_h_init, double t_start_L1, double sigma_t_L1, double t_start_L2, double sigma_t_L2, double t_start_S, double sigma_t_S, double sigma_r) noexcept
 Damped harmonic gauge source function. More...
 
template<size_t SpatialDim, typename Frame >
void GeneralizedHarmonic::spacetime_deriv_damped_harmonic_h (gsl::not_null< typename db::item_type< Tags::SpacetimeDerivGaugeH< SpatialDim, Frame >> *> d4_gauge_h, const typename db::item_type< Tags::InitialGaugeH< SpatialDim, Frame >> &gauge_h_init, const typename db::item_type< Tags::SpacetimeDerivInitialGaugeH< SpatialDim, Frame >> &dgauge_h_init, const Scalar< DataVector > &lapse, const tnsr::I< DataVector, SpatialDim, Frame > &shift, const tnsr::a< DataVector, SpatialDim, Frame > &spacetime_unit_normal_one_form, const Scalar< DataVector > &sqrt_det_spatial_metric, const tnsr::II< DataVector, SpatialDim, Frame > &inverse_spatial_metric, const tnsr::aa< DataVector, SpatialDim, Frame > &spacetime_metric, const tnsr::aa< DataVector, SpatialDim, Frame > &pi, const tnsr::iaa< DataVector, SpatialDim, Frame > &phi, double time, const tnsr::I< DataVector, SpatialDim, Frame > &coords, double amp_coef_L1, double amp_coef_L2, double amp_coef_S, int exp_L1, int exp_L2, int exp_S, double t_start_h_init, double sigma_t_h_init, double t_start_L1, double sigma_t_L1, double t_start_L2, double sigma_t_L2, double t_start_S, double sigma_t_S, double sigma_r) noexcept
 Spacetime derivatives of the damped harmonic gauge source function. More...
 

Detailed Description

Defines Functions for calculating damped harmonic gauge quantities from 3+1 quantities.