SpECTRE  v2024.02.05
CurvedScalarWave::BoundaryConditions::AnalyticConstant< Dim > Class Template Referencefinal

A BoundaryCondition that imposes the scalar to be constant at the outer boundary. More...

#include <AnalyticConstant.hpp>

Classes

struct  Amplitude
 

Public Types

using options = tmpl::list< Amplitude >
 
using dg_interior_evolved_variables_tags = tmpl::list<>
 
using dg_interior_temporary_tags = tmpl::list< gr::Tags::InverseSpatialMetric< DataVector, Dim, Frame::Inertial >, Tags::ConstraintGamma1, Tags::ConstraintGamma2, gr::Tags::Lapse< DataVector >, gr::Tags::Shift< DataVector, Dim, Frame::Inertial > >
 
using dg_interior_dt_vars_tags = tmpl::list<>
 
using dg_interior_deriv_vars_tags = tmpl::list<>
 
using dg_gridless_tags = tmpl::list<>
 

Public Member Functions

 AnalyticConstant (double amplitude)
 
 AnalyticConstant (CkMigrateMessage *msg)
 
 WRAPPED_PUPable_decl_base_template (domain::BoundaryConditions::BoundaryCondition, AnalyticConstant)
 
auto get_clone () const -> std::unique_ptr< domain::BoundaryConditions::BoundaryCondition > override
 
void pup (PUP::er &p) override
 
std::optional< std::stringdg_ghost (const gsl::not_null< Scalar< DataVector > * > psi, const gsl::not_null< Scalar< DataVector > * > pi, const gsl::not_null< tnsr::i< DataVector, Dim, Frame::Inertial > * > phi, const gsl::not_null< Scalar< DataVector > * > lapse, const gsl::not_null< tnsr::I< DataVector, Dim > * > shift, const gsl::not_null< Scalar< DataVector > * > gamma1, const gsl::not_null< Scalar< DataVector > * > gamma2, const gsl::not_null< tnsr::II< DataVector, Dim, Frame::Inertial > * > inverse_spatial_metric, const std::optional< tnsr::I< DataVector, Dim, Frame::Inertial > > &, const tnsr::i< DataVector, Dim > &, const tnsr::I< DataVector, Dim > &, const tnsr::II< DataVector, Dim, Frame::Inertial > &inverse_spatial_metric_interior, const Scalar< DataVector > &gamma1_interior, const Scalar< DataVector > &gamma2_interior, const Scalar< DataVector > &lapse_interior, const tnsr::I< DataVector, Dim > &shift_interior) const
 
- Public Member Functions inherited from CurvedScalarWave::BoundaryConditions::BoundaryCondition< Dim >
 BoundaryCondition (BoundaryCondition &&)=default
 
BoundaryConditionoperator= (BoundaryCondition &&)=default
 
 BoundaryCondition (const BoundaryCondition &)=default
 
BoundaryConditionoperator= (const BoundaryCondition &)=default
 
 BoundaryCondition (CkMigrateMessage *msg)
 
void pup (PUP::er &p) override
 
- 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 Attributes

static constexpr Options::String help
 
static constexpr evolution::BoundaryConditions::Type bc_type
 

Detailed Description

template<size_t Dim>
class CurvedScalarWave::BoundaryConditions::AnalyticConstant< Dim >

A BoundaryCondition that imposes the scalar to be constant at the outer boundary.

Member Function Documentation

◆ get_clone()

Member Data Documentation

◆ bc_type

template<size_t Dim>
constexpr evolution::BoundaryConditions::Type CurvedScalarWave::BoundaryConditions::AnalyticConstant< Dim >::bc_type
staticconstexpr
Initial value:
=
evolution::BoundaryConditions::Type::Ghost

◆ help

template<size_t Dim>
constexpr Options::String CurvedScalarWave::BoundaryConditions::AnalyticConstant< Dim >::help
staticconstexpr
Initial value:
{
"Boundary conditions which impose a constant scalar at the boundary."}

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