SpECTRE  v2024.04.12
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 = ::evolution::dg::subcell::Tags::Inactive< velocity_field >
 
using subcell_faces_velocity_field = ::evolution::dg::subcell::Tags::OnSubcellFaces< velocity_field, Dim >
 
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 = tmpl::list< subcell_velocity_field, subcell_faces_velocity_field >
 
using argument_tags = tmpl::list< ::Tags::Time, evolution::dg::subcell::Tags::Mesh< Dim >, domain::Tags::ElementMap< Dim, Frame::Grid >, domain::CoordinateMaps::Tags::CoordinateMap< Dim, Frame::Grid, Frame::Inertial >, domain::Tags::FunctionsOfTime, evolution::dg::subcell::Tags::Coordinates< Dim, Frame::ElementLogical > >
 

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.

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