WarpX
Functions
UpdateMomentumHigueraCary.H File Reference
#include "Utils/WarpXConst.H"
#include <AMReX_FArrayBox.H>
#include <AMReX_REAL.H>

Go to the source code of this file.

Functions

template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_INLINE void UpdateMomentumHigueraCary (T &ux, T &uy, T &uz, const T Ex, const T Ey, const T Ez, const T Bx, const T By, const T Bz, const T q, const T m, const amrex::Real dt)
 Push the particle's positions over one timestep, given the value of its momenta ux, uy, uz More...
 

Function Documentation

◆ UpdateMomentumHigueraCary()

template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_INLINE void UpdateMomentumHigueraCary ( T &  ux,
T &  uy,
T &  uz,
const T  Ex,
const T  Ey,
const T  Ez,
const T  Bx,
const T  By,
const T  Bz,
const T  q,
const T  m,
const amrex::Real  dt 
)

Push the particle's positions over one timestep, given the value of its momenta ux, uy, uz