19#include "BDSArray2DCoords.hh"
20#include "BDSFieldValue.hh"
21#include "BDSInterpolator2DLinear.hh"
22#include "BDSInterpolatorRoutines.hh"
30BDSInterpolator2DLinear::~BDSInterpolator2DLinear()
36 G4double xFrac, yFrac;
2D array with spatial mapping derived from BDSArray4DCoords.
virtual void ExtractSection2x2(G4double x, G4double y, BDSFieldValue(&localData)[2][2], G4double &xFrac, G4double &yFrac) const
Extract 2x2 points lying around coordinate x.
virtual BDSFieldValue GetInterpolatedValueT(G4double x, G4double y) const
BDSInterpolator2DLinear()=delete
Private default constructor to force use of provided one.
Interface for all 2D interpolators.
BDSArray2DCoords * array
The field data.
T Linear2D(const T p[2][2], G4double x, G4double y)
Linear interpolation in 2 dimensions.