PotentialSolveStats Struct Reference#

DiFfRG: DiFfRG::internal::PotentialSolveStats Struct Reference
DiFfRG
Discretization Framework for functional Renormalization Group flows
DiFfRG::internal::PotentialSolveStats Struct Reference

How much of an output frame went into reconstructing potentials. More...

#include <eom.hh>

Public Attributes

std::size_t solves = 0
 
double seconds = 0.
 

Detailed Description

How much of an output frame went into reconstructing potentials.

solve_potential is the single most expensive thing an output frame does on larger meshes – it distributes a fresh DoFHandler, assembles a flux system and runs a direct sparse factorisation, once for the raw potential plus once per readout id. The counter lets OutputSession attribute that cost without threading a timing object through the whole EoM call chain.

thread_local rather than atomic: readouts() is called from the single thread that runs the contributor callback, so this stays lock-free and correct.

Member Data Documentation

◆ seconds

double DiFfRG::internal::PotentialSolveStats::seconds = 0.

◆ solves

std::size_t DiFfRG::internal::PotentialSolveStats::solves = 0

The documentation for this struct was generated from the following file:
  • /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/common/eom.hh