Skip to content

Commit

Permalink
Python interface for parameter derivatives
Browse files Browse the repository at this point in the history
  • Loading branch information
peastman committed May 15, 2024
1 parent f751c65 commit 0fc454b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/openmmtorch.i
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,14 @@ public:
void setOutputsForces(bool);
bool getOutputsForces() const;
int getNumGlobalParameters() const;
int getNumEnergyParameterDerivatives() const;
int addGlobalParameter(const std::string& name, double defaultValue);
const std::string& getGlobalParameterName(int index) const;
void setGlobalParameterName(int index, const std::string& name);
double getGlobalParameterDefaultValue(int index) const;
void setGlobalParameterDefaultValue(int index, double defaultValue);
void addEnergyParameterDerivative(const std::string& name);
const std::string& getEnergyParameterDerivativeName(int index) const;
void setProperty(const std::string& name, const std::string& value);
const std::map<std::string, std::string>& getProperties() const;

Expand Down

0 comments on commit 0fc454b

Please sign in to comment.