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 
4 #include "push_controls.hpp"
5 #include "perturbed_B_field.hpp"
6 
7 #if defined(EXPLICIT_EM) || defined(DELTAF_CONV)
8 
9 template<class Device>
10 KOKKOS_INLINE_FUNCTION void derivs_elec(const PushControls& push_controls, const Species<Device> &species,
11  const SimdParticles &part, const SimdVector &bfield, const SimdVector (&jacb)[3],
12  const Simd<double>& psi, const SimdVector2D &gradpsi, const SimdVector &tdb, const SimdVector &efield,
13 #ifdef DELTAF_CONV
14  const SimdVector &efield00, const Simd<double>& ddpotdt,
15  const Simd<double>& f0den, const Simd<double>& f0dden,
16  const Simd<double>& f0tev, const Simd<double>& f0dtev,
17 #endif
18 #ifdef EXPLICIT_EM
19  const SimdVector &dAh, const Simd<double>& Ah, const SimdVector &dAs, const Simd<double>& As, const Simd<double>& Ah_cv,
20  const Simd<double>& Epar_em,
21 #endif
22  SimdPhase &yprime , Simd<double> *vf_diag );
23 
24 #include "em_push_physics.tpp"
25 
26 #endif
27 
28 #endif
Definition: simd.hpp:144
KOKKOS_INLINE_FUNCTION void derivs_elec(const PushControls &push_controls, 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:183
Definition: push_controls.hpp:8
Definition: particles.hpp:58
Definition: particles.hpp:17
Definition: simd.hpp:139
Definition: species.hpp:66