added gsl and changed ElectricField
This commit is contained in:
@@ -11,14 +11,14 @@ class Function3d {
|
||||
public:
|
||||
virtual ~Function3d() {};
|
||||
|
||||
virtual double getValue(double x, double y, double z, int cart_axis) const = 0;
|
||||
//virtual double getValue(double x, double y, double z, int cart_axis) const = 0;
|
||||
virtual blitz::TinyVector<double ,3> getValue(double z, double r, double phi) const = 0;
|
||||
|
||||
double getValue(const blitz::TinyVector<double, 3>& x, int cart_axis) const;
|
||||
//double getValue(const blitz::TinyVector<double, 3>& x, int cart_axis) const;
|
||||
blitz::TinyVector<double, 3> getValue(const blitz::TinyVector<double, 3>& x) const;
|
||||
|
||||
friend std::ostream & operator << (std::ostream &out, const Function3d& function);
|
||||
virtual void print(std::ostream &out) const;
|
||||
//friend std::ostream & operator << (std::ostream &out, const Function3d& function);
|
||||
//virtual void print(std::ostream &out) const;
|
||||
virtual void print() const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user