SpeciesCharge Struct ReferenceΒΆ

adc_cpp: pops::SpeciesCharge 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::SpeciesCharge Struct Reference

Charge (with sign) and density component of a species for the elliptic RHS assembly. More...

#include <elliptic_rhs.hpp>

+ Collaboration diagram for pops::SpeciesCharge:

Public Attributes

Real charge = Real(0)
 
int comp = 0
 

Detailed Description

Charge (with sign) and density component of a species for the elliptic RHS assembly.

Default charge = 0: a neutral species (or a forgotten block) does NOT contribute to Poisson. charge includes the sign (q_e < 0, q_i > 0); comp locates the density component n_s in the block MultiFab (0 for a scalar, the rho index for a conservative Euler state).

Member Data Documentation

◆ charge

Real pops::SpeciesCharge::charge = Real(0)

◆ comp

int pops::SpeciesCharge::comp = 0

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