19#include "BDSArray4DCoords.hh"
20#include "BDSFieldValue.hh"
21#include "BDSInterpolator4DLinearMag.hh"
22#include "BDSInterpolatorRoutines.hh"
30BDSInterpolator4DLinearMag::~BDSInterpolator4DLinearMag()
39 G4double xFrac, yFrac, zFrac, tFrac;
Overlay of 4D array that provides uniform only spatial coordinate mapping.
virtual void ExtractSection2x2x2x2(G4double x, G4double y, G4double z, G4double t, BDSFieldValue(&localData)[2][2][2][2], G4double &xFrac, G4double &yFrac, G4double &zFrac, G4double &tFrac) const
Extract 2x2x2x2 points lying around coordinate x.
virtual BDSFieldValue GetInterpolatedValueT(G4double x, G4double y, G4double z, G4double t) const
BDSInterpolator4DLinearMag()=delete
Private default constructor to force use of provided one.
Interface for all 4D interpolators.
BDSArray4DCoords * array
The field data.
T Linear4DMag(const T p[2][2][2][2], G4double x, G4double y, G4double z, G4double t)
Linear interpolation in 4 dimensions including magnitude interpolation.