SpECTRE  v2024.04.12
ForceFree::MaskNeutronStarInterior< Metavariables, UsedForFdGrid > Struct Template Reference

Assign the masking scalar variable (see Tags::NsInteriorMask) at the initialization phase in NS magnetosphere simulations. More...

#include <MaskNeutronStarInterior.hpp>

Public Types

using argument_tags = tmpl::list< tmpl::conditional_t< UsedForFdGrid, evolution::dg::subcell::Tags::Coordinates< 3, Frame::Inertial >, domain::Tags::Coordinates< 3, Frame::Inertial > >, evolution::initial_data::Tags::InitialData >
 
using return_tags = tmpl::list< tmpl::conditional_t< UsedForFdGrid, evolution::dg::subcell::Tags::Inactive< Tags::NsInteriorMask >, Tags::NsInteriorMask > >
 

Static Public Member Functions

static void apply (const gsl::not_null< std::optional< Scalar< DataVector > > * > neutron_star_interior_mask, const tnsr::I< DataVector, 3, Frame::Inertial > &inertial_coords, const evolution::initial_data::InitialData &solution_or_data)
 

Detailed Description

template<typename Metavariables, bool UsedForFdGrid>
struct ForceFree::MaskNeutronStarInterior< Metavariables, UsedForFdGrid >

Assign the masking scalar variable (see Tags::NsInteriorMask) at the initialization phase in NS magnetosphere simulations.

Run the interior_mask() member function of the initial data if it is callable.


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