PolarPoissonRhs< Model > Struct Template ReferenceΒΆ

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

POLAR Poisson contribution functor: rhs += elliptic_rhs(U) (pure HOST loop). More...

#include <block_builder_polar.hpp>

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

Public Member Functions

void operator() (const MultiFab &U, MultiFab &rhs) const
 

Public Attributes

Model m
 

Detailed Description

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

POLAR Poisson contribution functor: rhs += elliptic_rhs(U) (pure HOST loop).

IDENTICAL to the cartesian detail::PoissonRhs: the elliptic brick (charge q n) carries no geometry; the polar metric (volume r dr dtheta) is carried by the PolarPoissonSolver solver, not by the per-cell pointwise RHS (the solver expects f as-is, like the cartesian FFT solver).

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ m

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

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