include/pops/physics/bricks/source.hpp File ReferenceΒΆ

adc_cpp: include/pops/physics/bricks/source.hpp File 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
source.hpp File Reference

SOURCE bricks S(U, aux): local term, generic over state size (acts on energy if 4 variables). More...

+ Include dependency graph for source.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pops::NoSource
 No source: S(U, aux) = 0. More...
 
struct  pops::PotentialForce
 Electrostatic potential force (q/m) rho E on momentum (+ work on energy if 4 variables). More...
 
struct  pops::GravityForce
 Gravitational force rho g (+ work if 4 variables). More...
 
struct  pops::MagneticLorentzForce
 MAGNETIC Lorentz force q (v x B) on momentum, field B = B_z z_hat out of plane. More...
 
struct  pops::CompositeSource< A, B >
 SUM of two source bricks: S(U, aux) = A.apply(U, aux) + B.apply(U, aux). More...
 

Namespaces

namespace  pops
 

Detailed Description

SOURCE bricks S(U, aux): local term, generic over state size (acts on energy if 4 variables).

NoSource, PotentialForce ((q/m) rho E), GravityForce (rho g), MagneticLorentzForce (q v x B_z). Composable as the Source parameter of a CompositeModel (physics/composite.hpp); CompositeSource<A, B> SUMS two sources (electrostatic + Lorentz). INTER-species sources (ionization, collision) live at the system level (operator-split).