|
WarpX
|
Companion class for ExternalFieldReader. More...
#include <ExternalField.H>
Public Member Functions | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | operator() (amrex::RealVect const &pos) const |
Public Attributes | |
| amrex::RealVect | dx |
| amrex::RealVect | offset |
| mesh spacing of the data | |
| amrex::Table3D< double > | table |
| data's physical location at (0,0,0) | |
| amrex::IntVect | global_size |
| data | |
Companion class for ExternalFieldReader.
This is a lightweight functor that can be used in kernels.
|
inline |
Return value for given position. Linear interpolation is performed. This returns zero if no data are available.
| amrex::RealVect ExternalFieldView::dx |
| amrex::IntVect ExternalFieldView::global_size |
data
| amrex::RealVect ExternalFieldView::offset |
mesh spacing of the data
| amrex::Table3D<double> ExternalFieldView::table |
data's physical location at (0,0,0)