SpECTRE  v2024.09.29
BnsInitialData::BoundaryConditions::StarSurface Class Reference

#include <StarSurface.hpp>

Public Types

using options = tmpl::list<>
 
using argument_tags = tmpl::list< gr::Tags::Lapse< DataVector >, BnsInitialData::Tags::RotationalShift< DataVector >, BnsInitialData::Tags::EulerEnthalpyConstant, domain::Tags::FaceNormal< 3 > >
 
using volume_tags = tmpl::list< BnsInitialData::Tags::EulerEnthalpyConstant >
 
using argument_tags_linearized = tmpl::list<>
 
using volume_tags_linearized = tmpl::list<>
 

Public Member Functions

 StarSurface (const StarSurface &)=default
 
StarSurfaceoperator= (const StarSurface &)=default
 
 StarSurface (StarSurface &&)=default
 
StarSurfaceoperator= (StarSurface &&)=default
 
std::unique_ptr< domain::BoundaryConditions::BoundaryConditionget_clone () const override
 
 StarSurface (const Options::Context &context)
 
std::vector< elliptic::BoundaryConditionTypeboundary_condition_types () const override
 
void pup (PUP::er &p) override
 
- Public Member Functions inherited from elliptic::BoundaryConditions::BoundaryCondition< 3 >
 BoundaryCondition (const BoundaryCondition &)=default
 
 BoundaryCondition (BoundaryCondition &&)=default
 
BoundaryConditionoperator= (const BoundaryCondition &)=default
 
BoundaryConditionoperator= (BoundaryCondition &&)=default
 
virtual std::vector< elliptic::BoundaryConditionTypeboundary_condition_types () const=0
 
- Public Member Functions inherited from domain::BoundaryConditions::BoundaryCondition
 BoundaryCondition (BoundaryCondition &&)=default
 
BoundaryConditionoperator= (BoundaryCondition &&)=default
 
 BoundaryCondition (const BoundaryCondition &)=default
 
BoundaryConditionoperator= (const BoundaryCondition &)=default
 
 BoundaryCondition (CkMigrateMessage *const msg)
 
 WRAPPED_PUPable_abstract (BoundaryCondition)
 
virtual auto get_clone () const -> std::unique_ptr< BoundaryCondition >=0
 

Static Public Member Functions

static void apply (gsl::not_null< Scalar< DataVector > * > velocity_potential, gsl::not_null< Scalar< DataVector > * > n_dot_flux_for_potential, const tnsr::i< DataVector, 3 > &deriv_velocity_potential, const Scalar< DataVector > &lapse, const tnsr::I< DataVector, 3 > &rotational_shift, double euler_enthalpy_constant, const tnsr::i< DataVector, 3 > &normal)
 
static void apply_linearized (gsl::not_null< Scalar< DataVector > * > velocity_potential_correction, gsl::not_null< Scalar< DataVector > * > n_dot_flux_for_potential_correction, const tnsr::i< DataVector, 3 > &deriv_velocity_potential)
 

Static Public Attributes

static constexpr Options::String help
 
- Static Public Attributes inherited from elliptic::BoundaryConditions::BoundaryCondition< 3 >
static constexpr size_t volume_dim
 

Detailed Description

Impose StarSurface boundary conditions:

\[ n_i F^i = \frac{C}{\alpha^2} B^i n_i. \]

The boundary condition results from requiring the conservation equations be regular at the surface of the neutron star. See [13] 15.79.

Member Function Documentation

◆ boundary_condition_types()

std::vector< elliptic::BoundaryConditionType > BnsInitialData::BoundaryConditions::StarSurface::boundary_condition_types ( ) const
inlineoverridevirtual

◆ get_clone()

std::unique_ptr< domain::BoundaryConditions::BoundaryCondition > BnsInitialData::BoundaryConditions::StarSurface::get_clone ( ) const
inlineoverridevirtual

Member Data Documentation

◆ help

constexpr Options::String BnsInitialData::BoundaryConditions::StarSurface::help
staticconstexpr
Initial value:
=
"StarSurface boundary conditions n_i F^i = C/square(alpha) B^i n_i ."

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