|
WarpX
|
#include <ShapeFactors.H>
Public Member Functions | |
| template<typename T > | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | operator() (T *const sx, const T x_old, const int i_new) const |
Compute shifted shape factor and return index of leftmost cell where particle writes, for Esirkepov algorithm. Specialized templates are defined below for orders 1, 2 and 3.
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int Compute_shifted_shape_factor< depos_order >::operator() | ( | T *const | sx, |
| const T | x_old, | ||
| const int | i_new | ||
| ) | const |
1.8.13