# | Line 46 | Line 46 | class PolynomialBondType : public BondType{ | |
---|---|---|
46 | class PolynomialBondType : public BondType{ | |
47 | ||
48 | public: | |
49 | < | PolynomialBondType() {} |
50 | < | PolynomialBondType(double r0, const std::vector<int>& power, |
51 | < | const std::vector<double>& coeff) : BondType(r0){ |
52 | < | } |
49 | > | PolynomialBondType(double r0) : BondType(r0) {} |
50 | ||
51 | void setCoefficient(int power, double coefficient) { | |
52 | polynomial_.setCoefficient(power, coefficient); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |