19#ifndef BDSFIELDEINTERPOLATED3D_H
20#define BDSFIELDEINTERPOLATED3D_H
21#include "BDSFieldEInterpolated.hh"
23#include "G4ThreeVector.hh"
24#include "G4Transform3D.hh"
44 const G4Transform3D& offset = G4Transform3D::Identity,
45 G4double eScalingIn = 1.0);
50 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
51 const G4double t = 0)
const;
A 3D field from an interpolated array with any interpolation.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t=0) const
Return the interpolated field value at a given point.
const G4bool secondTime
Cache of whether to use time coordinate.
const G4int thirdDimensionIndex
Integer index to dimension to use.
const G4int secondDimensionIndex
Integer index to dimension to use.
const G4bool firstTime
Cache of whether to use time coordinate.
const G4bool thirdTime
Cache of whether to use time coordinate.
BDSInterpolator3D * interpolator
Interpolator the field is based on.
const G4int firstDimensionIndex
Integer index to dimension to use.
Class to provide scaling and a base class pointer for interpolator fields.
Interface for all 3D interpolators.