SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
TestHelpers::dg::Events::ObserveFields::ScalarSystem< ObservationEvent, ArraySectionId, DataType > Struct Template Reference

Classes

struct  ScalarVar
struct  solution_for_test

Public Types

using array_section_id = ArraySectionId
using data_type = DataType
using variables_tag = ::Tags::Variables<tmpl::list<ScalarVar>>
using all_vars_for_test = tmpl::list<ScalarVar>
using ObserveEvent

Static Public Member Functions

template<typename CheckComponent>
static void check_data (const CheckComponent &check_component)
static ObserveEvent make_test_object (const std::optional< Mesh< volume_dim > > &interpolating_mesh, const std::optional< Mesh< volume_dim > > &projection_mesh, std::optional< std::vector< std::string > > active_block_or_block_groups=std::nullopt, std::optional< std::string > dependency=std::nullopt)

Static Public Attributes

static constexpr size_t volume_dim = 1
static constexpr auto creation_string_for_test

Member Typedef Documentation

◆ ObserveEvent

template<template< size_t, class... > class ObservationEvent, typename ArraySectionId = void, typename DataType = DataVector>
using TestHelpers::dg::Events::ObserveFields::ScalarSystem< ObservationEvent, ArraySectionId, DataType >::ObserveEvent
Initial value:
ObservationEvent<
volume_dim,
tmpl::push_back<all_vars_for_test,
tmpl::list<Tags::ScalarVarTimesThreeCompute<ScalarVar>,
::Tags::ErrorsCompute<tmpl::list<ScalarVar>>>,
ArraySectionId>
The error of the Tag defined as numerical - analytic.
Definition Tags.hpp:113
The coordinates in a given frame.
Definition Tags.hpp:85

Member Data Documentation

◆ creation_string_for_test

template<template< size_t, class... > class ObservationEvent, typename ArraySectionId = void, typename DataType = DataVector>
auto TestHelpers::dg::Events::ObserveFields::ScalarSystem< ObservationEvent, ArraySectionId, DataType >::creation_string_for_test
staticconstexpr
Initial value:
=
"ObserveFields:\n"
" SubfileName: element_data\n"
" CoordinatesFloatingPointType: Double\n"
" VariablesToObserve: [Scalar, ScalarVarTimesTwo, ScalarVarTimesThree, "
"Error(Scalar)]\n"
" FloatingPointTypes: [Double]\n"
" BlocksToObserve: All\n"

The documentation for this struct was generated from the following file:
  • tests/Unit/Helpers/ParallelAlgorithms/Events/ObserveFields.hpp