SpECTRE  v2024.04.12
NewtonianEuler::subcell::PrimitiveGhostVariables< Dim > Class Template Reference

Computes the mass density, velocity, and pressure on the subcells so they can be sent to the neighbors for their reconstructions. More...

#include <PrimitiveGhostData.hpp>

Public Types

using return_tags = tmpl::list<>
 
using argument_tags = tmpl::list<::Tags::Variables< prim_tags > >
 

Static Public Member Functions

static DataVector apply (const Variables< prim_tags > &prims, size_t rdmp_size)
 

Detailed Description

template<size_t Dim>
class NewtonianEuler::subcell::PrimitiveGhostVariables< Dim >

Computes the mass density, velocity, and pressure on the subcells so they can be sent to the neighbors for their reconstructions.

The computation just copies the data from the primitive variables tag to a new Variables (the copy is subcell grid to subcell grid). In the future we will likely want to elide this copy but that requires support from the actions.

This mutator is passed to evolution::dg::subcell::Actions::SendDataForReconstruction.


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