SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
TestHelpers::NonlinearSolver::ElementArray< Metavariables > Struct Template Reference

Public Types

using chare_type = Parallel::Algorithms::Array
using array_index = int
using metavariables = Metavariables
using nonlinear_solver = typename Metavariables::nonlinear_solver
using linear_solver = typename Metavariables::linear_solver
using phase_dependent_action_list
using simple_tags_from_options
using array_allocation_tags = tmpl::list<>

Static Public Member Functions

static void allocate_array (Parallel::CProxy_GlobalCache< Metavariables > &global_cache, const tuples::tagged_tuple_from_typelist< simple_tags_from_options > &initialization_items, const tuples::tagged_tuple_from_typelist< array_allocation_tags > &={}, const std::unordered_set< size_t > &={})
static void execute_next_phase (const Parallel::Phase next_phase, Parallel::CProxy_GlobalCache< Metavariables > &global_cache)

Static Public Attributes

static constexpr bool checkpoint_data = true

Member Typedef Documentation

◆ phase_dependent_action_list

template<typename Metavariables>
using TestHelpers::NonlinearSolver::ElementArray< Metavariables >::phase_dependent_action_list
Initial value:
tmpl::list<
tmpl::list<InitializeElement,
typename nonlinear_solver::initialize_element,
typename linear_solver::initialize_element,
tmpl::list<typename nonlinear_solver::register_element,
typename linear_solver::register_element,
tmpl::list<
typename nonlinear_solver::template solve<
typename Metavariables::template apply_nonlinear_operator<
typename nonlinear_solver::operand_tag>,
typename linear_solver::template solve<
typename Metavariables::
template apply_linearized_operator<
typename linear_solver::operand_tag,
typename nonlinear_solver::fields_tag>>>,
tmpl::list<TestResult<typename nonlinear_solver::options_group>>>>
@ Register
phase in which components register with other components
Definition Phase.hpp:79
@ Initialization
initial phase of an executable
Definition Phase.hpp:67
@ Solve
phase in which something is solved
Definition Phase.hpp:85
@ Testing
phase in which something is tested
Definition Phase.hpp:87
Terminate the algorithm to proceed to the next phase.
Definition TerminatePhase.hpp:28
List of all the actions to be executed in the specified phase.
Definition PhaseDependentActionList.hpp:17

◆ simple_tags_from_options

template<typename Metavariables>
using TestHelpers::NonlinearSolver::ElementArray< Metavariables >::simple_tags_from_options
Initial value:
tmpl::remove_duplicates< tmpl::flatten< tmpl::transform< InitializationActionsList, detail::get_simple_tags_from_options_from_action< tmpl::_1 > > > > get_simple_tags_from_options
Given a list of initialization actions, returns a list of the unique simple_tags_from_options for all...
Definition ParallelComponentHelpers.hpp:295
tmpl::flatten< tmpl::transform< PhaseDepActionList, detail::get_initialization_actions_list< tmpl::_1 > > > get_initialization_actions_list
Given the phase dependent action list, return the list of actions in the Initialization phase (or an ...
Definition ParallelComponentHelpers.hpp:275

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