Removed possibility of Nphi > 1
This commit is contained in:
@@ -14,9 +14,9 @@ class VectorField {
|
||||
|
||||
class VectorFieldFromArray : public VectorField {
|
||||
public:
|
||||
VectorFieldFromArray(const blitz::Array<double, 3>& radial_component,
|
||||
const blitz::Array<double, 3>& azimuthal_component,
|
||||
const blitz::Array<double, 3>& longitudial_component,
|
||||
VectorFieldFromArray(const blitz::Array<double, 2>& radial_component,
|
||||
const blitz::Array<double, 2>& azimuthal_component,
|
||||
const blitz::Array<double, 2>& longitudial_component,
|
||||
double radius,
|
||||
double length);
|
||||
|
||||
@@ -24,12 +24,12 @@ class VectorFieldFromArray : public VectorField {
|
||||
|
||||
private:
|
||||
// todo: make sure we use fast axis on z to reduce access time
|
||||
const blitz::Array<double, 3> Fr_;
|
||||
const blitz::Array<double, 3> Fphi_;
|
||||
const blitz::Array<double, 3> Fz_;
|
||||
const blitz::Array<double, 2> Fr_;
|
||||
const blitz::Array<double, 2> Fphi_;
|
||||
const blitz::Array<double, 2> Fz_;
|
||||
|
||||
CylinderBinning binning_;
|
||||
CylinderVector value(const blitz::TinyVector<int, 3>& bin) const;
|
||||
CylinderVector value(const blitz::TinyVector<int, 2>& bin) const;
|
||||
};
|
||||
|
||||
class VectorFieldConstant : public VectorField {
|
||||
|
||||
Reference in New Issue
Block a user