SingleModelEllipticRhs< Model > Struct Template ReferenceΒΆ

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

SINGLE-model RHS assembler: rhs(.,.,0) = model.elliptic_rhs(U) over the valid cells. More...

#include <elliptic_rhs.hpp>

+ Collaboration diagram for pops::SingleModelEllipticRhs< Model >:

Public Member Functions

void operator() (const MultiFab &state, MultiFab &rhs) const
 rhs <- elliptic_rhs(state) cell by cell (identical layouts between state and rhs).
 

Public Attributes

Model model
 

Detailed Description

template<class Model>
struct pops::SingleModelEllipticRhs< Model >

SINGLE-model RHS assembler: rhs(.,.,0) = model.elliptic_rhs(U) over the valid cells.

Template Parameters
ModelPhysicalModel exposing elliptic_rhs(State).

Member Function Documentation

◆ operator()()

template<class Model >
void pops::SingleModelEllipticRhs< Model >::operator() ( const MultiFab state,
MultiFab rhs 
) const
inline

rhs <- elliptic_rhs(state) cell by cell (identical layouts between state and rhs).

+ Here is the call graph for this function:

Member Data Documentation

◆ model

template<class Model >
Model pops::SingleModelEllipticRhs< Model >::model

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