field_solver Namespace ReferenceΒΆ

adc_cpp: pops::field_solver Namespace 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::field_solver Namespace Reference

Classes

class  SystemFieldSolver
 SystemFieldSolver<Impl>: see contract above. More...
 

Functions

bool pops_trace_sf ()
 True if the DIAGNOSTIC trace of the solve_fields path is active (environment variable POPS_TRACE_SOLVE_FIELDS set).
 
void pops_sf_mark (const char *w)
 Writes the marker w to stderr (with flush) ONLY if pops_trace_sf(); no-op otherwise.
 

Function Documentation

◆ pops_sf_mark()

void pops::field_solver::pops_sf_mark ( const char *  w)
inline

Writes the marker w to stderr (with flush) ONLY if pops_trace_sf(); no-op otherwise.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pops_trace_sf()

bool pops::field_solver::pops_trace_sf ( )
inline

True if the DIAGNOSTIC trace of the solve_fields path is active (environment variable POPS_TRACE_SOLVE_FIELDS set).

Added for a CUDA device-crash diagnostic: writes to stderr with immediate flush to locate the last marker before a device crash. INERT by default: no effect on the outputs or on the numerics. Diagnostic KEPT (env-gated): useful for a future device crash.

+ Here is the caller graph for this function: