# | Line 46 | Line 46 | class Integrator { | |
---|---|---|
46 | virtual ~Integrator() {} | |
47 | ||
48 | virtual void integrate() =0; | |
49 | < | |
49 | > | |
50 | > | virtual void update() {} |
51 | protected: | |
52 | Integrator(SimInfo* info) : info_(info) {} | |
53 | ||
54 | < | virtual void calcConservedQuantity() = 0; |
54 | > | virtual double calcConservedQuantity() = 0; |
55 | ||
56 | SimInfo* info_; | |
57 | }; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |