Public Types | Public Member Functions | Static Public Attributes | List of all members
ScalarWave::BoundaryConditions::DirichletAnalytic< Dim > Class Template Referencefinal

Sets Dirichlet boundary conditions using the analytic solution or analytic data. More...

#include <DirichletAnalytic.hpp>

Public Types

using options = tmpl::list<>
 
using dg_interior_evolved_variables_tags = tmpl::list<>
 
using dg_interior_temporary_tags = tmpl::list< domain::Tags::Coordinates< Dim, Frame::Inertial >, Tags::ConstraintGamma2 >
 
using dg_gridless_tags = tmpl::list<::Tags::Time, ::Tags::AnalyticSolutionOrData >
 

Public Member Functions

 DirichletAnalytic (DirichletAnalytic &&) noexcept=default
 
DirichletAnalyticoperator= (DirichletAnalytic &&) noexcept=default
 
 DirichletAnalytic (const DirichletAnalytic &)=default
 
DirichletAnalyticoperator= (const DirichletAnalytic &)=default
 
 DirichletAnalytic (CkMigrateMessage *msg) noexcept
 
 WRAPPED_PUPable_decl_base_template (domain::BoundaryConditions::BoundaryCondition, DirichletAnalytic)
 
auto get_clone () const noexcept -> std::unique_ptr< domain::BoundaryConditions::BoundaryCondition > override
 
void pup (PUP::er &p) override
 
template<typename AnalyticSolutionOrData >
std::optional< std::stringdg_ghost (const gsl::not_null< Scalar< DataVector > * > pi, const gsl::not_null< tnsr::i< DataVector, Dim, Frame::Inertial > * > phi, const gsl::not_null< Scalar< DataVector > * > psi, const gsl::not_null< Scalar< DataVector > * > gamma2, const std::optional< tnsr::I< DataVector, Dim, Frame::Inertial > > &, const tnsr::i< DataVector, Dim, Frame::Inertial > &, const tnsr::I< DataVector, Dim, Frame::Inertial > &coords, const Scalar< DataVector > &interior_gamma2, const double time, const AnalyticSolutionOrData &analytic_solution_or_data) const noexcept
 
- Public Member Functions inherited from ScalarWave::BoundaryConditions::BoundaryCondition< Dim >
 BoundaryCondition (BoundaryCondition &&) noexcept=default
 
BoundaryConditionoperator= (BoundaryCondition &&) noexcept=default
 
 BoundaryCondition (const BoundaryCondition &)=default
 
BoundaryConditionoperator= (const BoundaryCondition &)=default
 
 BoundaryCondition (CkMigrateMessage *msg) noexcept
 
void pup (PUP::er &p) override
 
- Public Member Functions inherited from domain::BoundaryConditions::BoundaryCondition
 BoundaryCondition (BoundaryCondition &&) noexcept=default
 
BoundaryConditionoperator= (BoundaryCondition &&) noexcept=default
 
 BoundaryCondition (const BoundaryCondition &)=default
 
BoundaryConditionoperator= (const BoundaryCondition &)=default
 
 BoundaryCondition (CkMigrateMessage *const msg) noexcept
 
 WRAPPED_PUPable_abstract (BoundaryCondition)
 
virtual auto get_clone () const noexcept -> 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 ScalarWave::BoundaryConditions::DirichletAnalytic< Dim >

Sets Dirichlet boundary conditions using the analytic solution or analytic data.

Member Function Documentation

◆ get_clone()

template<size_t Dim>
auto ScalarWave::BoundaryConditions::DirichletAnalytic< Dim >::get_clone ( ) const -> std::unique_ptr< domain::BoundaryConditions::BoundaryCondition >
overridevirtualnoexcept

Member Data Documentation

◆ bc_type

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

◆ help

template<size_t Dim>
constexpr Options::String ScalarWave::BoundaryConditions::DirichletAnalytic< Dim >::help
staticconstexpr
Initial value:
{
"DirichletAnalytic boundary conditions setting the value of Psi, Phi, "
"and Pi to the analytic solution or analytic data."}

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