TwoBlockChargeDensityRhs 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::TwoBlockChargeDensityRhs Struct Reference
Two-block RHS: same computation as TwoFieldChargeDensityRhs but reads blocks 0 and 1 of a CoupledSystem (q0 n0 + q1 n1). More...
#include <elliptic_rhs.hpp>
Collaboration diagram for pops::TwoBlockChargeDensityRhs:Public Member Functions | |
| template<CoupledSystemLike System> | |
| void | operator() (const System &system, MultiFab &rhs) const |
| rhs <- q0 n_0 + q1 n_1 from blocks 0 and 1 of the system. | |
Public Attributes | |
| Real | q0 = Real(1) |
| Real | q1 = Real(-1) |
| int | comp0 = 0 |
| int | comp1 = 0 |
Detailed Description
Two-block RHS: same computation as TwoFieldChargeDensityRhs but reads blocks 0 and 1 of a CoupledSystem (q0 n0 + q1 n1).
Member Function Documentation
◆ operator()()
template<CoupledSystemLike System>
|
inline |
rhs <- q0 n_0 + q1 n_1 from blocks 0 and 1 of the system.
Member Data Documentation
◆ comp0
| int pops::TwoBlockChargeDensityRhs::comp0 = 0 |
◆ comp1
| int pops::TwoBlockChargeDensityRhs::comp1 = 0 |
◆ q0
◆ q1
The documentation for this struct was generated from the following file:
- include/pops/coupling/base/elliptic_rhs.hpp
Generated by