SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
evolution::Tags::AnalyticSolutionsCompute< Dim, AnalyticFieldsTagList, UsingDgSubcell, InitialDataList > Struct Template Reference

Computes the analytic solution and adds Tags::Analytic of the std::optional<Tensor>s to the DataBox. More...

#include <ComputeTags.hpp>

Public Types

using field_tags = AnalyticFieldsTagList
using base = ::Tags::AnalyticSolutions<AnalyticFieldsTagList>
using return_type = typename base::type
using argument_tags
Public Types inherited from Tags::AnalyticSolutions< AnalyticFieldsTagList >
using field_tags
using type

Static Public Member Functions

static void function (const gsl::not_null< return_type * > analytic_solution, const evolution::initial_data::InitialData &initial_data, const tnsr::I< DataVector, Dim, Frame::Inertial > &inertial_coords, const double time)

Detailed Description

template<size_t Dim, typename AnalyticFieldsTagList, bool UsingDgSubcell, typename InitialDataList = tmpl::list<>>
struct evolution::Tags::AnalyticSolutionsCompute< Dim, AnalyticFieldsTagList, UsingDgSubcell, InitialDataList >

Computes the analytic solution and adds Tags::Analytic of the std::optional<Tensor>s to the DataBox.

Note
If InitialDataList is not an empty tmpl::list, then evolution::initial_data::Tags::InitialData is retrieved and downcast to the initial data for computing the errors.

Member Typedef Documentation

◆ argument_tags

template<size_t Dim, typename AnalyticFieldsTagList, bool UsingDgSubcell, typename InitialDataList = tmpl::list<>>
using evolution::Tags::AnalyticSolutionsCompute< Dim, AnalyticFieldsTagList, UsingDgSubcell, InitialDataList >::argument_tags
Initial value:
tmpl::conditional_t<
UsingDgSubcell,
The coordinates used for observation.
Definition Tags.hpp:50
Tag for the current time as a double.
Definition Time.hpp:19
The coordinates in a given frame.
Definition Tags.hpp:85
The global cache tag for the initial data type.
Definition InitialData.hpp:37

The documentation for this struct was generated from the following file:
  • src/Evolution/ComputeTags.hpp