SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
grmhd::ValenciaDivClean::subcell::PrimitiveGhostVariables Class Reference

Computes the rest mass density \(\rho\), electron fraction \(Y_e\), temperature \(T\), Lorentz factor times the spatial velocity \(W v^i\), magnetic field \(B^i\), and the divergence cleaning field \(\Phi\) so they can be used for reconstruction. More...

#include <PrimitiveGhostData.hpp>

Public Types

using return_tags = tmpl::list<>
using argument_tags

Static Public Member Functions

static DataVector apply (const Variables< hydro::grmhd_tags< DataVector > > &prims, size_t rdmp_size)

Detailed Description

Computes the rest mass density \(\rho\), electron fraction \(Y_e\), temperature \(T\), Lorentz factor times the spatial velocity \(W v^i\), magnetic field \(B^i\), and the divergence cleaning field \(\Phi\) so they can be used for reconstruction.

The computation copies the data from the primitive variables to a new Variables and computes \(W v^i\). 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.

Member Typedef Documentation

◆ argument_tags

using grmhd::ValenciaDivClean::subcell::PrimitiveGhostVariables::argument_tags
Initial value:
tmpl::list<::Tags::Variables<hydro::grmhd_tags<DataVector>>>

The documentation for this class was generated from the following file:
  • src/Evolution/Systems/GrMhd/ValenciaDivClean/Subcell/PrimitiveGhostData.hpp