TwoFieldChargeDensityRhs Struct 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::TwoFieldChargeDensityRhs Struct Reference
Two-field RHS: rhs = q0 * U0(.,.,comp0) + q1 * U1(.,.,comp1) (two-species charge density). More...
#include <elliptic_rhs.hpp>
Collaboration diagram for pops::TwoFieldChargeDensityRhs:Public Member Functions | |
| void | operator() (const MultiFab &U0, const MultiFab &U1, MultiFab &rhs) const |
| rhs <- q0 U0 + q1 U1 over the valid cells (identical layouts). | |
Public Attributes | |
| Real | q0 = Real(1) |
| Real | q1 = Real(-1) |
| int | comp0 = 0 |
| int | comp1 = 0 |
Detailed Description
Two-field RHS: rhs = q0 * U0(.,.,comp0) + q1 * U1(.,.,comp1) (two-species charge density).
Member Function Documentation
◆ operator()()
|
inline |
rhs <- q0 U0 + q1 U1 over the valid cells (identical layouts).
Here is the call graph for this function:Member Data Documentation
◆ comp0
| int pops::TwoFieldChargeDensityRhs::comp0 = 0 |
◆ comp1
| int pops::TwoFieldChargeDensityRhs::comp1 = 0 |
◆ q0
◆ q1
The documentation for this struct was generated from the following file:
- include/pops/coupling/base/elliptic_rhs.hpp
Generated by