SpECTRE
v2025.03.17
|
Computes the intermediates and quantities that we do not want to recompute across the solution's implementation. More...
#include <BrillLindquist.hpp>
Public Types | |
using | CachedBuffer = BrillLindquist::CachedBuffer< DataType, Frame > |
Public Member Functions | |
IntermediateComputer (const BrillLindquist &analytic_data, const tnsr::I< DataType, 3, Frame > &x) | |
Constructs a computer for spacetime quantities of a given gr::AnalyticData::BrillLindquist solution at at a specific Cartesian position. More... | |
void | operator() (gsl::not_null< tnsr::I< DataType, 3, Frame > * > x_minus_center_a, gsl::not_null< CachedBuffer * >, internal_tags::x_minus_center_a< DataType, Frame >) const |
Computes the intermediate defined by internal_tags::x_minus_center_a | |
void | operator() (gsl::not_null< Scalar< DataType > * > r_a, gsl::not_null< CachedBuffer * > cache, internal_tags::r_a< DataType >) const |
Computes the radius defined by internal_tags::r_a | |
void | operator() (gsl::not_null< tnsr::I< DataType, 3, Frame > * > x_minus_center_b, gsl::not_null< CachedBuffer * >, internal_tags::x_minus_center_b< DataType, Frame >) const |
Computes the intermediate defined by internal_tags::x_minus_center_b | |
void | operator() (gsl::not_null< Scalar< DataType > * > r_b, gsl::not_null< CachedBuffer * > cache, internal_tags::r_b< DataType >) const |
Computes the radius defined by internal_tags::r_b | |
void | operator() (gsl::not_null< Scalar< DataType > * > conformal_factor, gsl::not_null< CachedBuffer * >, internal_tags::conformal_factor< DataType >) const |
Computes the intermediate defined by internal_tags::conformal_factor | |
void | operator() (gsl::not_null< tnsr::i< DataType, 3, Frame > * > deriv_conformal_factor, gsl::not_null< CachedBuffer * >, internal_tags::deriv_conformal_factor< DataType, Frame >) const |
Computes the intermediate defined by internal_tags::deriv_conformal_factor | |
void | operator() (gsl::not_null< tnsr::ii< DataType, 3, Frame > * > spatial_metric, gsl::not_null< CachedBuffer * > cache, gr::Tags::SpatialMetric< DataType, 3, Frame >) const |
Computes the spatial metric. More... | |
void | operator() (gsl::not_null< tnsr::ijj< DataType, 3, Frame > * > deriv_spatial_metric, gsl::not_null< CachedBuffer * > cache, DerivSpatialMetric< DataType, Frame >) const |
Computes the spatial derivative of the spatial metric. More... | |
Computes the intermediates and quantities that we do not want to recompute across the solution's implementation.
gr::AnalyticData::BrillLindquist::IntermediateComputer< DataType, Frame >::IntermediateComputer | ( | const BrillLindquist & | analytic_data, |
const tnsr::I< DataType, 3, Frame > & | x | ||
) |
Constructs a computer for spacetime quantities of a given gr::AnalyticData::BrillLindquist
solution at at a specific Cartesian position.
analytic_data | the given gr::AnalyticData::BrillLindquist data |
x | Cartesian coordinates of the position at which to compute spacetime quantities |
void gr::AnalyticData::BrillLindquist::IntermediateComputer< DataType, Frame >::operator() | ( | gsl::not_null< tnsr::ii< DataType, 3, Frame > * > | spatial_metric, |
gsl::not_null< CachedBuffer * > | cache, | ||
gr::Tags::SpatialMetric< DataType, 3, Frame > | |||
) | const |
Computes the spatial metric.
Computed as internal_tags::conformal_factor
.
void gr::AnalyticData::BrillLindquist::IntermediateComputer< DataType, Frame >::operator() | ( | gsl::not_null< tnsr::ijj< DataType, 3, Frame > * > | deriv_spatial_metric, |
gsl::not_null< CachedBuffer * > | cache, | ||
DerivSpatialMetric< DataType, Frame > | |||
) | const |
Computes the spatial derivative of the spatial metric.
Computed as internal_tags::conformal_factor
.