SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
CurvedScalarWave::Worldtube::Actions::SendToWorldtube Struct Reference

Projects the regular field ΨR and its time derivative tΨR onto real spherical harmonics and sends the result to the worldtube. More...

#include <SendToWorldtube.hpp>

Public Types

using tags_to_send = implementation defined
 
using tags_to_slice_to_face = implementation defined
 

Static Public Member Functions

template<typename DbTagsList , typename... InboxTags, typename Metavariables , typename ArrayIndex , typename ActionList , typename ParallelComponent >
static Parallel::iterable_action_return_t apply (db::DataBox< DbTagsList > &box, tuples::TaggedTuple< InboxTags... > &, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &, const ActionList, const ParallelComponent *const)
 

Static Public Attributes

static constexpr size_t Dim = 3
 

Detailed Description

Projects the regular field ΨR and its time derivative tΨR onto real spherical harmonics and sends the result to the worldtube.

Details

The regular field is obtained by subtracting the singular/puncture field from the numerical DG field. All spherical harmonics are computed for l<=n, where n is the worldtube expansion order. The projection is done by integrating over the DG grid of the element face using definite_integral with the euclidean area element. The worldtube adds up all integrals from the different elements to obtain the integral over the entire sphere.

DataBox:


The documentation for this struct was generated from the following file: