Commit f957cb5a by Francois Gygi

Added reset member (for SDA dynamics and other steppers that could need resetting).


git-svn-id: http://qboxcode.org/svn/qb/trunk@312 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 2c52e6ee
......@@ -3,7 +3,7 @@
// IonicStepper.h:
//
////////////////////////////////////////////////////////////////////////////////
// $Id: IonicStepper.h,v 1.4 2004-04-20 22:09:46 fgygi Exp $
// $Id: IonicStepper.h,v 1.5 2004-12-10 01:05:41 fgygi Exp $
#ifndef IONICSTEPPER_H
#define IONICSTEPPER_H
......@@ -62,6 +62,7 @@ class IonicStepper
virtual void compute_v0(const vector<vector< double> >& f0) = 0;
virtual void update_r(void) = 0;
virtual void update_v(void) = 0;
virtual void reset(void) {}
double ekin(void) const { return ekin_; }
double temp(void) const
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment