SpECTRE  v2024.09.29
Burgers::BoundaryConditions::DirichletAnalytic Class Referencefinal

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

#include <DirichletAnalytic.hpp>

Classes

struct  AnalyticPrescription
 What analytic solution/data to prescribe. More...
 

Public Types

using options = tmpl::list< AnalyticPrescription >
 
using dg_interior_evolved_variables_tags = tmpl::list<>
 
using dg_interior_temporary_tags = tmpl::list< domain::Tags::Coordinates< 1, Frame::Inertial > >
 
using dg_gridless_tags = tmpl::list<::Tags::Time >
 
using fd_interior_evolved_variables_tags = tmpl::list<>
 
using fd_interior_temporary_tags = tmpl::list< evolution::dg::subcell::Tags::Mesh< 1 > >
 
using fd_gridless_tags = tmpl::list<::Tags::Time, domain::Tags::FunctionsOfTime, domain::Tags::ElementMap< 1, Frame::Grid >, domain::CoordinateMaps::Tags::CoordinateMap< 1, Frame::Grid, Frame::Inertial >, fd::Tags::Reconstructor >
 

Public Member Functions

 DirichletAnalytic (DirichletAnalytic &&)=default
 
DirichletAnalyticoperator= (DirichletAnalytic &&)=default
 
 DirichletAnalytic (const DirichletAnalytic &)
 
DirichletAnalyticoperator= (const DirichletAnalytic &)
 
 DirichletAnalytic (std::unique_ptr< evolution::initial_data::InitialData > analytic_prescription)
 
 DirichletAnalytic (CkMigrateMessage *msg)
 
 WRAPPED_PUPable_decl_base_template (domain::BoundaryConditions::BoundaryCondition, DirichletAnalytic)
 
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 > * > u, const gsl::not_null< tnsr::I< DataVector, 1, Frame::Inertial > * > flux_u, const std::optional< tnsr::I< DataVector, 1, Frame::Inertial > > &, const tnsr::i< DataVector, 1, Frame::Inertial > &, const tnsr::I< DataVector, 1, Frame::Inertial > &coords, const double time) const
 
void fd_ghost (const gsl::not_null< Scalar< DataVector > * > u, const Direction< 1 > &direction, const Mesh< 1 > subcell_mesh, const double time, const std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > > &functions_of_time, const ElementMap< 1, Frame::Grid > &logical_to_grid_map, const domain::CoordinateMapBase< Frame::Grid, Frame::Inertial, 1 > &grid_to_inertial_map, const fd::Reconstructor &reconstructor) const
 
- Public Member Functions inherited from Burgers::BoundaryConditions::BoundaryCondition
 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

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

Member Function Documentation

◆ get_clone()

auto Burgers::BoundaryConditions::DirichletAnalytic::get_clone ( ) const -> std::unique_ptr< domain::BoundaryConditions::BoundaryCondition >
overridevirtual

Member Data Documentation

◆ bc_type

constexpr evolution::BoundaryConditions::Type Burgers::BoundaryConditions::DirichletAnalytic::bc_type
staticconstexpr
Initial value:
=
evolution::BoundaryConditions::Type::Ghost

◆ help

constexpr Options::String Burgers::BoundaryConditions::DirichletAnalytic::help
staticconstexpr
Initial value:
{
"DirichletAnalytic boundary conditions setting the value of U to "
"the analytic solution or analytic data."}

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