SpECTRE  v2024.04.12
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 = Parallel::ReductionData< Parallel::ReductionDatum< size_t, funcl::AssertEqual<> >, Parallel::ReductionDatum< double, funcl::Plus<>, funcl::Sqrt<> > >
 
template<typename FieldsTag , typename OptionsGroup , typename SourceTag , typename ArraySectionIdTag = void>
using RegisterElement = observers::Actions::RegisterWithObservers< RegisterObservers< OptionsGroup, ArraySectionIdTag > >
 

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.