SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
LinearSolver::async_solvers Namespace Reference

Functionality shared between parallel linear solvers that have no global synchronization points. More...

Classes

struct  CompleteStep
 Complete a step of the asynchronous linear solver. More...
struct  InitializeElement
struct  PrepareSolve
 Prepare the asynchronous linear solver for a solve. More...
struct  RegisterObservers
struct  ResidualReductionFormatter

Typedefs

using reduction_data
template<typename FieldsTag, typename OptionsGroup, typename SourceTag, typename ArraySectionIdTag = void>
using RegisterElement

Functions

template<typename OptionsGroup, typename ParallelComponent, typename Metavariables, typename ArrayIndex>
void contribute_to_residual_observation (const size_t iteration_id, const double residual_magnitude_square, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const std::string &section_observation_key)

Detailed Description

Functionality shared between parallel linear solvers that have no global synchronization points.

Typedef Documentation

◆ reduction_data

using LinearSolver::async_solvers::reduction_data
Initial value:
Parallel::ReductionData<
The data to be reduced, and invokables to be called whenever two reduction messages are combined and ...
Definition Reduction.hpp:66
Functional for computing sqrt on an object.
Definition Functional.hpp:273

◆ RegisterElement

template<typename FieldsTag, typename OptionsGroup, typename SourceTag, typename ArraySectionIdTag = void>
using LinearSolver::async_solvers::RegisterElement
Initial value:
Definition ElementActions.hpp:226
Register an observation ID with the observers.
Definition RegisterWithObservers.hpp:53