SpECTRE  v2026.11.17
Loading...
Searching...
No Matches
GrSelfForce::Events::ObserveFlux< ArraySectionIdTag > Class Template Reference

Observe the outgoing energy flux at infinity. More...

#include <ObserveFlux.hpp>

Public Types

using BackgroundTag
using ReductionData
using options = tmpl::list<>
using observed_reduction_data_tags
using compute_tags_for_observation_box = tmpl::list<>
using return_tags = tmpl::list<>
using argument_tags = tmpl::list<::Tags::ObservationBox>
using observation_registration_tags = tmpl::list<::Tags::DataBox>
using is_ready_argument_tags = tmpl::list<>

Public Member Functions

 ObserveFlux (CkMigrateMessage *msg)
 WRAPPED_PUPable_decl_template (ObserveFlux)
template<typename ComputeTagsList, typename DataBoxType, typename Metavariables, typename ParallelComponent>
void operator() (const ObservationBox< ComputeTagsList, DataBoxType > &box, Parallel::GlobalCache< Metavariables > &cache, const ElementId< 2 > &element_id, const ParallelComponent *const, const ObservationValue &observation_value) const
template<typename DbTagsList>
std::optional< std::pair< observers::TypeOfObservation, observers::ObservationKey > > get_observation_type_and_key_for_registration (const db::DataBox< DbTagsList > &box) const
template<typename Metavariables, typename ArrayIndex, typename Component>
bool is_ready (Parallel::GlobalCache< Metavariables > &, const ArrayIndex &, const Component *const) const
bool needs_evolved_variables () const override
 Whether the event uses anything depending on the evolved_variables. If this returns false, anything depending on the evolved variables may have an incorrect value when the event is run.
Public Member Functions inherited from Event
 Event (CkMigrateMessage *msg)
 WRAPPED_PUPable_abstract (Event)
template<typename ComputeTagsList, typename DataBoxType, typename Metavariables, typename ArrayIndex, typename ComponentPointer>
void run (const gsl::not_null< ObservationBox< ComputeTagsList, DataBoxType > * > box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const ComponentPointer, const ObservationValue &observation_value) const
template<typename DbTags, typename Metavariables, typename ArrayIndex, typename ComponentPointer>
bool is_ready (const db::DataBox< DbTags > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const ComponentPointer) const

Static Public Attributes

static constexpr Options::String help

Detailed Description

template<typename ArraySectionIdTag = void>
class GrSelfForce::Events::ObserveFlux< ArraySectionIdTag >

Observe the outgoing energy flux at infinity.

The time-averaged energy flux at infinity for a single \(m\)-mode is computed as [Eq. (6.2) in [165] ]:

\begin{equation}\langle \dot{E}^+_m \rangle = \frac{m^2 \Omega^2}{32} \int_0^\pi \left( |\psi^7_m|^2 + 4 |\psi^8_m|^2 + |\psi^9_m|^2 - \psi^7_m \psi^{9*}_m - \psi^9_m \psi^{7*}_m \right) \Big|_{r \to \infty} \sin\theta \, d\theta \text{,} \end{equation}

where \(\Omega\) is the orbital frequency and \(\psi^7_m\), \(\psi^8_m\) and \(\psi^9_m\) are the \(\theta\theta\), \(\theta\phi\) and \(\phi\phi\) components of the field \(\Psi_m\) (see GrSelfForce::Tags::MMode). The integrand is evaluated in the equivalent form

\begin{equation}|\psi^7_m - \psi^9_m|^2 + 4 |\psi^8_m|^2 \text{,} \end{equation}

which avoids cancellation errors when \(\psi^7_m \approx \psi^9_m\).

As a consistency check of the angular integration, the event also reduces the integral of the measure alone, \(\int_0^\pi \sin\theta \, d\theta = \int_{-1}^{1} d(\cos\theta)\), over the outer boundary. This is written to the column "IntegralOfDCosTheta" and should equal 2.

Member Typedef Documentation

◆ BackgroundTag

template<typename ArraySectionIdTag = void>
using GrSelfForce::Events::ObserveFlux< ArraySectionIdTag >::BackgroundTag
Initial value:
The variable-independent part of the elliptic equations, e.g. the fixed-sources in a Poisson equatio...
Definition Tags.hpp:44

◆ observed_reduction_data_tags

template<typename ArraySectionIdTag = void>
using GrSelfForce::Events::ObserveFlux< ArraySectionIdTag >::observed_reduction_data_tags
Initial value:
observers::make_reduction_data_tags<tmpl::list<ReductionData>>

◆ ReductionData

template<typename ArraySectionIdTag = void>
using GrSelfForce::Events::ObserveFlux< ArraySectionIdTag >::ReductionData
Initial value:
Parallel::ReductionData<
The data to be reduced, and invokables to be called whenever two reduction messages are combined and ...
Definition Reduction.hpp:66

Member Function Documentation

◆ needs_evolved_variables()

template<typename ArraySectionIdTag = void>
bool GrSelfForce::Events::ObserveFlux< ArraySectionIdTag >::needs_evolved_variables ( ) const
inlineoverridevirtual

Whether the event uses anything depending on the evolved_variables. If this returns false, anything depending on the evolved variables may have an incorrect value when the event is run.

Implements Event.

Member Data Documentation

◆ help

template<typename ArraySectionIdTag = void>
Options::String GrSelfForce::Events::ObserveFlux< ArraySectionIdTag >::help
staticconstexpr
Initial value:
=
"Observe the energy flux at the outer boundary."

The documentation for this class was generated from the following file:
  • src/Elliptic/Systems/SelfForce/GeneralRelativity/Events/ObserveFlux.hpp