WarpX
Loading...
Searching...
No Matches
Compute_shifted_shape_factor< depos_order > Struct Template Reference

#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
 

Detailed Description

template<int depos_order>
struct Compute_shifted_shape_factor< depos_order >

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").

Member Function Documentation

◆ operator()()

template<int depos_order>
template<typename T>
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
inline

The documentation for this struct was generated from the following file: