SpECTRE
v2024.09.29
|
A boundary data manager that constructs the desired boundary data into the Variables
from the data provided by the analytic solution.
More...
#include <AnalyticBoundaryDataManager.hpp>
Public Member Functions | |
AnalyticBoundaryDataManager (size_t l_max, double extraction_radius, std::unique_ptr< Solutions::WorldtubeData > generator) | |
bool | populate_hypersurface_boundary_data (gsl::not_null< Variables< Tags::characteristic_worldtube_boundary_tags< Tags::BoundaryValue > > * > boundary_data_variables, double time) const |
Update the boundary_data_variables entries for all tags in Tags::characteristic_worldtube_boundary_tags to the boundary data from the analytic solution at time . More... | |
template<typename ParallelComponent , typename Metavariables > | |
void | write_news (Parallel::GlobalCache< Metavariables > &cache, double time) const |
Use observers::ThreadedActions::WriteSimpleData to output the expected news at time from the analytic data to dataset /expected_news.dat . | |
size_t | get_l_max () const |
const Solutions::WorldtubeData & | get_generator () const |
void | pup (PUP::er &p) |
Serialization for Charm++. | |
A boundary data manager that constructs the desired boundary data into the Variables
from the data provided by the analytic solution.
bool Cce::AnalyticBoundaryDataManager::populate_hypersurface_boundary_data | ( | gsl::not_null< Variables< Tags::characteristic_worldtube_boundary_tags< Tags::BoundaryValue > > * > | boundary_data_variables, |
double | time | ||
) | const |
Update the boundary_data_variables
entries for all tags in Tags::characteristic_worldtube_boundary_tags
to the boundary data from the analytic solution at time
.
This class retrieves metric boundary data from the Cce::Solutions::WorldtubeData
derived class that represents an analytic solution, then dispatches to Cce::create_bondi_boundary_data()
to construct the Bondi values into the provided Variables