HotspotFn< Model > Struct Template ReferenceΒΆ

adc_cpp: pops::detail::HotspotFn< Model > Struct Template 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::detail::HotspotFn< Model > Struct Template Reference

Frozen residual (fill_ghosts + assemble_rhs) installed as the block's rhs_into. More...

#include <block_builder.hpp>

+ Collaboration diagram for pops::detail::HotspotFn< Model >:

Public Member Functions

void operator() (const MultiFab &U, Real &w, int &i, int &j) const
 

Public Attributes

Model m
 
GridContext ctx
 

Detailed Description

template<class Model>
struct pops::detail::HotspotFn< Model >

Frozen residual (fill_ghosts + assemble_rhs) installed as the block's rhs_into.

Functor of the dt_hotspot diagnostic (ADC-182): dominant cell of the block CFL. HOST (the internal reductions are device); named, like MaxSpeed.

Member Function Documentation

◆ operator()()

template<class Model >
void pops::detail::HotspotFn< Model >::operator() ( const MultiFab U,
Real w,
int &  i,
int &  j 
) const
inline
+ Here is the call graph for this function:

Member Data Documentation

◆ ctx

template<class Model >
GridContext pops::detail::HotspotFn< Model >::ctx

◆ m

template<class Model >
Model pops::detail::HotspotFn< Model >::m

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