"libraries/validate/include/ValidateOpenMM.h" did not exist on "4cbb82d4d56ceb449ac627039b3d525170ef84d8"
Commit 641de894 authored by Mark Friedrichs's avatar Mark Friedrichs
Browse files

Added code to get/set random number generator seed

parent 0b4066cf
......@@ -78,6 +78,18 @@ public:
void setFriction(double coeff) {
friction = coeff;
}
/**
* Get the random number seed
*/
int getRandomNumberSeed(void ) const {
return randomNumberSeed;
}
/**
* Set the random number seed
*/
void setRandomNumberSeed(int inputRandomNumberSeed) {
randomNumberSeed = inputRandomNumberSeed;
}
/**
* Advance a simulation through time by taking a series of time steps.
*
......@@ -97,6 +109,7 @@ protected:
std::vector<std::string> getKernelNames();
private:
double temperature, friction;
int randomNumberSeed;
OpenMMContextImpl* context;
Kernel kernel;
};
......
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