SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
CurvedScalarWave::Worldtube::Initialization::InitializeElementFacesGridCoordinates< Dim > Struct Template Reference

Initializes a map of the grid coordinates centered on the worldtube of all faces that abut the worldtube with corresponding ElementIds. More...

#include <InitializeElementFacesGridCoordinates.hpp>

Public Types

using return_tags = tmpl::list<Tags::ElementFacesGridCoordinates<Dim>>
using simple_tags = tmpl::list<Tags::ElementFacesGridCoordinates<Dim>>
using compute_tags = tmpl::list<>
using simple_tags_from_options
using const_global_cache_tags = tmpl::list<>
using mutable_global_cache_tags = tmpl::list<>
using argument_tags

Static Public Member Functions

static void apply (const gsl::not_null< std::unordered_map< ElementId< Dim >, tnsr::I< DataVector, Dim, Frame::Grid > > * > element_faces_grid_coords, const std::vector< std::array< size_t, Dim > > &initial_extents, const std::vector< std::array< size_t, Dim > > &initial_refinement, const Spectral::Quadrature &i1_quadrature, const Domain< Dim > &domain, const ::ExcisionSphere< Dim > &excision_sphere)

Detailed Description

template<size_t Dim>
struct CurvedScalarWave::Worldtube::Initialization::InitializeElementFacesGridCoordinates< Dim >

Initializes a map of the grid coordinates centered on the worldtube of all faces that abut the worldtube with corresponding ElementIds.

Details

The worldtube singleton computes an internal solution in the grid frame and uses this map to evaluate compute it at the grid coordinates of each element face abutting the worldtube each time step. This data is sent to the corresponding element where it is used to apply pointwise boundary conditions. The ElementFacesGridCoordinates holds a map of all the element ids abutting the worldtube with the corresonding grid coordinates.

Warning
This currently assumes that initial domain remains the same and there is no AMR. To support this, the worldtube could send the coefficients of its internal solution to each element which can evaluate it on their current grid in the boundary conditions.

DataBox changes:

  • Adds: nothing
  • Removes: nothing
  • Modifies: Tags::ElementFacesCoordinatesMap<Dim>

Member Typedef Documentation

◆ argument_tags

Initial value:
tmpl::flatten<
tmpl::list<simple_tags_from_options, ::domain::Tags::Domain<Dim>,
The excision sphere corresponding to the worldtube.
Definition Tags.hpp:263

◆ simple_tags_from_options

template<size_t Dim>
using CurvedScalarWave::Worldtube::Initialization::InitializeElementFacesGridCoordinates< Dim >::simple_tags_from_options
Initial value:
tmpl::list<::domain::Tags::InitialExtents<Dim>,
The initial refinement level per dimension for all elements in each block of the initial computationa...
Definition InitialRefinementLevels.hpp:23
The quadrature points to use initially.
Definition QuadratureTag.hpp:29

The documentation for this struct was generated from the following file:
  • src/Evolution/Systems/CurvedScalarWave/Worldtube/SingletonActions/InitializeElementFacesGridCoordinates.hpp