SpECTRE
v2024.09.29
|
#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 | |
StarSurface & | operator= (const StarSurface &)=default |
StarSurface (StarSurface &&)=default | |
StarSurface & | operator= (StarSurface &&)=default |
std::unique_ptr< domain::BoundaryConditions::BoundaryCondition > | get_clone () const override |
StarSurface (const Options::Context &context) | |
std::vector< elliptic::BoundaryConditionType > | boundary_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 | |
BoundaryCondition & | operator= (const BoundaryCondition &)=default |
BoundaryCondition & | operator= (BoundaryCondition &&)=default |
virtual std::vector< elliptic::BoundaryConditionType > | boundary_condition_types () const=0 |
Public Member Functions inherited from domain::BoundaryConditions::BoundaryCondition | |
BoundaryCondition (BoundaryCondition &&)=default | |
BoundaryCondition & | operator= (BoundaryCondition &&)=default |
BoundaryCondition (const BoundaryCondition &)=default | |
BoundaryCondition & | operator= (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 |
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.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements domain::BoundaryConditions::BoundaryCondition.
|
staticconstexpr |