inclusion gradB field and quickfix reading from array
This commit is contained in:
@@ -23,12 +23,15 @@ class ElectricField {
|
||||
|
||||
class MagneticField {
|
||||
public:
|
||||
MagneticField(std::shared_ptr<VectorField> field);
|
||||
MagneticField(std::shared_ptr<VectorField> field,
|
||||
std::shared_ptr<VectorField> gradient);
|
||||
|
||||
CylinderVector value(const Coordinate& position) const;
|
||||
CylinderVector gradientValue(const Coordinate& position) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<VectorField> field_;
|
||||
std::shared_ptr<VectorField> gradient_;
|
||||
};
|
||||
|
||||
class GravityField {
|
||||
|
||||
Reference in New Issue
Block a user