Commit 373e1736 by Francois Gygi

Implement iter_cmd and iter_cmd_period as members


git-svn-id: http://qboxcode.org/svn/qb/trunk@1861 cba15fb0-1239-40c8-b417-11db7ca47a34
parent c99258e8
......@@ -15,7 +15,6 @@
// SampleStepper.h
//
////////////////////////////////////////////////////////////////////////////////
// $Id: SampleStepper.h,v 1.14 2009-09-08 05:38:31 fgygi Exp $
#ifndef SAMPLESTEPPER_H
#define SAMPLESTEPPER_H
......@@ -38,6 +37,9 @@ class SampleStepper
std::vector<std::vector<double> > fion;
std::valarray<double> sigma_eks, sigma_kin, sigma_ext, sigma;
std::string iter_cmd_;
int iter_cmd_period_;
// Do not allow construction of SampleStepper unrelated to a Sample
SampleStepper(void);
......@@ -49,6 +51,8 @@ class SampleStepper
void print_stress(void);
void compute_sigma(void); // compute kinetic contribution to stress
virtual void initialize_density() {}
void set_iter_cmd(std::string s) { iter_cmd_ = s; }
void set_iter_cmd_period(int i) { iter_cmd_period_ = i; }
SampleStepper(Sample& s);
virtual ~SampleStepper(void);
......
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