SourceNewtonReport Struct ReferenceΒΆ

adc_cpp: pops::AmrSystem::SourceNewtonReport Struct Reference
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
pops::AmrSystem::SourceNewtonReport Struct Reference

Report of the implicit (IMEX) source Newton of a block, AGGREGATED over the levels and substeps of the block's LAST advance. More...

#include <amr_system.hpp>

+ Collaboration diagram for pops::AmrSystem::SourceNewtonReport:

Public Attributes

bool enabled
 a report was computed (at least one IMEX advance played)
 
bool converged
 no cell failed on the last advance
 
double max_residual
 max over cells/levels/substeps of ||F||_inf at the Newton exit
 
double max_iters_used
 max over cells/levels/substeps of the iterations consumed
 
double n_failed
 count (cells x levels x substeps) failed (non-finite / pivot / non-convergence)
 
double failed_i
 i of ONE faulty cell (-1 if none; max index encoded)
 
double failed_j
 j of the same cell (-1 if none)
 
double failed_comp
 conserved component of the worst residual of that cell (-1 unknown)
 

Detailed Description

Report of the implicit (IMEX) source Newton of a block, AGGREGATED over the levels and substeps of the block's LAST advance.

Exists only if the block was added with newton_diagnostics=true IN NATIVE MULTI-BLOCK (explicit error otherwise: mono-block, .so loader, or block without diagnostics). Flat copy (no dependence on the numerics header on the caller side), parity with System::SourceNewtonReport.

Member Data Documentation

◆ converged

bool pops::AmrSystem::SourceNewtonReport::converged

no cell failed on the last advance

◆ enabled

bool pops::AmrSystem::SourceNewtonReport::enabled

a report was computed (at least one IMEX advance played)

◆ failed_comp

double pops::AmrSystem::SourceNewtonReport::failed_comp

conserved component of the worst residual of that cell (-1 unknown)

◆ failed_i

double pops::AmrSystem::SourceNewtonReport::failed_i

i of ONE faulty cell (-1 if none; max index encoded)

◆ failed_j

double pops::AmrSystem::SourceNewtonReport::failed_j

j of the same cell (-1 if none)

◆ max_iters_used

double pops::AmrSystem::SourceNewtonReport::max_iters_used

max over cells/levels/substeps of the iterations consumed

◆ max_residual

double pops::AmrSystem::SourceNewtonReport::max_residual

max over cells/levels/substeps of ||F||_inf at the Newton exit

◆ n_failed

double pops::AmrSystem::SourceNewtonReport::n_failed

count (cells x levels x substeps) failed (non-finite / pivot / non-convergence)


The documentation for this struct was generated from the following file: