NewtonCellStat Struct ReferenceΒΆ

adc_cpp: pops::NewtonCellStat 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::NewtonCellStat Struct Reference

OUTPUT statistic of the Newton of ONE cell (device POD, written into the diagnostics scratch): res = ||F||_inf at exit; iters = iterations consumed; failed = 1 if the cell failed (non-finite residual, degenerate/non-finite pivot, or active tolerance not reached within budget), 0 otherwise; comp = index of the conserved COMPONENT carrying the max residual at exit (-1 if nothing implicit). More...

#include <implicit_stepper.hpp>

+ Collaboration diagram for pops::NewtonCellStat:

Public Attributes

Real res = Real(0)
 
Real iters = Real(0)
 
Real failed = Real(0)
 
Real comp = Real(-1)
 

Detailed Description

OUTPUT statistic of the Newton of ONE cell (device POD, written into the diagnostics scratch): res = ||F||_inf at exit; iters = iterations consumed; failed = 1 if the cell failed (non-finite residual, degenerate/non-finite pivot, or active tolerance not reached within budget), 0 otherwise; comp = index of the conserved COMPONENT carrying the max residual at exit (-1 if nothing implicit).

Member Data Documentation

◆ comp

Real pops::NewtonCellStat::comp = Real(-1)

◆ failed

Real pops::NewtonCellStat::failed = Real(0)

◆ iters

Real pops::NewtonCellStat::iters = Real(0)

◆ res

Real pops::NewtonCellStat::res = Real(0)

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