XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
em_push_physics.hpp
Go to the documentation of this file.
1 #ifndef EM_PUSH_PHYSICS_HPP
2 #define EM_PUSH_PHYSICS_HPP
3 #include "perturbed_B_field.hpp"
4 
5 #if defined(EXPLICIT_EM) || defined(DELTAF_CONV)
6 
7 template<class Device>
8 KOKKOS_INLINE_FUNCTION void derivs_elec(const Simulation<Device> &sml, const Species<Device> &species,
9  const SimdParticles &part, const SimdVector &bfield, const SimdVector (&jacb)[3],
10  const Simd<double>& psi, const SimdVector2D &gradpsi, const SimdVector &tdb, const SimdVector &efield,
11 #ifdef DELTAF_CONV
12  const SimdVector &efield00, const Simd<double>& ddpotdt,
13  const Simd<double>& f0den, const Simd<double>& f0dden,
14  const Simd<double>& f0tev, const Simd<double>& f0dtev,
15 #endif
16 #ifdef EXPLICIT_EM
17  const SimdVector &dAh, const Simd<double>& Ah, const SimdVector &dAs, const Simd<double>& As, const Simd<double>& Ah_cv,
18  const Simd<double>& Epar_em,
19 #endif
20  SimdPhase &yprime , Simd<double> *vf_diag );
21 
22 #include "em_push_physics.tpp"
23 
24 #endif
25 
26 #endif
Definition: globals.hpp:59
Definition: sml.hpp:8
Definition: particles.hpp:31
Definition: particles.hpp:14
Definition: globals.hpp:54
Definition: species.hpp:13
KOKKOS_INLINE_FUNCTION void derivs_elec(const Simulation< Device > &sml, const Species< Device > &species, const SimdParticles &part, const SimdVector &bfield, const SimdVector(&jacb)[3], const Simd< double > &psi, const SimdVector2D &gradpsi, const SimdVector &tdb, const SimdVector &efield, SimdPhase &yprime, Simd< double > *vf_diag)
Definition: em_push_physics.tpp:337