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. Specializations are defined below for orders 1, 2, 3, and 4 (using "if constexpr").
|
inline |