PolarMaxSpeed< Model > Struct Template ReferenceΒΆ

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

Max wave-speed functor of the POLAR block: reduction over the valid cells of max_wave_speed(model, U, aux) in both directions (r, theta). More...

#include <block_builder_polar.hpp>

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

Public Member Functions

Real operator() (const MultiFab &U) const
 

Public Attributes

Model m
 
const MultiFabaux
 

Detailed Description

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

Max wave-speed functor of the POLAR block: reduction over the valid cells of max_wave_speed(model, U, aux) in both directions (r, theta).

Pure HOST loop (no device kernel) – the polar speed comes from the aux (grad_r, grad_theta) already host-resident after solve_fields; that is enough for the CFL step. Counterpart of cartesian detail::MaxSpeed.

Member Function Documentation

◆ operator()()

template<class Model >
Real pops::detail::PolarMaxSpeed< Model >::operator() ( const MultiFab U) const
inline
+ Here is the call graph for this function:

Member Data Documentation

◆ aux

template<class Model >
const MultiFab* pops::detail::PolarMaxSpeed< Model >::aux

◆ m

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

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