SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
ScalarAdvection::subcell::VelocityAtFace< Dim > Struct Template Reference

Allocate and set the velocity field needed for evolving ScalarAdvection system when using a DG-subcell hybrid scheme. More...

#include <VelocityAtFace.hpp>

Public Types

using simple_tags_from_options = tmpl::list<::Tags::Time>
using velocity_field = ::ScalarAdvection::Tags::VelocityField<Dim>
using subcell_velocity_field
using subcell_faces_velocity_field
using vars = typename velocity_field::type
using subcell_vars = typename subcell_velocity_field::type
using face_vars = typename subcell_faces_velocity_field::type::value_type
using return_tags
using argument_tags

Static Public Member Functions

static void apply (const gsl::not_null< subcell_vars * > cell_centered_vars, const gsl::not_null< std::array< face_vars, Dim > * > face_centered_vars, const double initial_time, const Mesh< Dim > &subcell_mesh, const ElementMap< Dim, Frame::Grid > &logical_to_grid_map, const domain::CoordinateMapBase< Frame::Grid, Frame::Inertial, Dim > &grid_to_inertial_map, const std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > > &functions_of_time, const tnsr::I< DataVector, Dim, Frame::ElementLogical > &subcell_logical_coordinates)

Detailed Description

template<size_t Dim>
struct ScalarAdvection::subcell::VelocityAtFace< Dim >

Allocate and set the velocity field needed for evolving ScalarAdvection system when using a DG-subcell hybrid scheme.

Uses:

DataBox changes:

Note
This mutator is meant to be used with Initialization::Actions::AddSimpleTags.

Member Typedef Documentation

◆ argument_tags

template<size_t Dim>
using ScalarAdvection::subcell::VelocityAtFace< Dim >::argument_tags
Initial value:
tmpl::list<
Definition IndexType.hpp:45
Definition IndexType.hpp:46
Tag for the current time as a double.
Definition Time.hpp:19
The coordinate map from source to target coordinates.
Definition Tags.hpp:30
The coordinate map from the ElementLogical frame to the TargetFrame.
Definition Tags.hpp:70
Tag to retrieve the FunctionsOfTime from the GlobalCache.
Definition Tags.hpp:20
The coordinates in a given frame.
Definition Coordinates.hpp:39
The mesh on the subcells.
Definition Mesh.hpp:22

◆ return_tags

template<size_t Dim>
using ScalarAdvection::subcell::VelocityAtFace< Dim >::return_tags
Initial value:
tmpl::list<subcell_velocity_field, subcell_faces_velocity_field>

◆ subcell_faces_velocity_field

template<size_t Dim>
using ScalarAdvection::subcell::VelocityAtFace< Dim >::subcell_faces_velocity_field
Initial value:
Mark a tag as the being on the subcell faces.
Definition OnSubcellFaces.hpp:20

◆ subcell_velocity_field

template<size_t Dim>
using ScalarAdvection::subcell::VelocityAtFace< Dim >::subcell_velocity_field
Initial value:
Mark a tag as holding data for the inactive grid.
Definition Inactive.hpp:23

The documentation for this struct was generated from the following file:
  • src/Evolution/Systems/ScalarAdvection/Subcell/VelocityAtFace.hpp