Unverified Commit 3de880c4 authored by peastman's avatar peastman Committed by GitHub
Browse files

Merge pull request #2800 from Dann239/tabulated

Fixed typo in forcefield.py: 2DFunction -> 3DFunction
parents cc3c4b54 240a1fa7
...@@ -117,7 +117,7 @@ def _createFunctions(force, functions): ...@@ -117,7 +117,7 @@ def _createFunctions(force, functions):
elif type == 'Continuous3D': elif type == 'Continuous3D':
force.addTabulatedFunction( force.addTabulatedFunction(
name, name,
mm.Continuous2DFunction( mm.Continuous3DFunction(
params['xsize'], params['ysize'], params['zsize'], params['xsize'], params['ysize'], params['zsize'],
values, values,
params['xmin'], params['xmax'], params['xmin'], params['xmax'],
...@@ -131,7 +131,7 @@ def _createFunctions(force, functions): ...@@ -131,7 +131,7 @@ def _createFunctions(force, functions):
elif type == 'Discrete2D': elif type == 'Discrete2D':
force.addTabulatedFunction(name, mm.Discrete2DFunction(params['xsize'], params['ysize'], values)) force.addTabulatedFunction(name, mm.Discrete2DFunction(params['xsize'], params['ysize'], values))
elif type == 'Discrete3D': elif type == 'Discrete3D':
force.addTabulatedFunction(name, mm.Discrete2DFunction(params['xsize'], params['ysize'], params['zsize'], values)) force.addTabulatedFunction(name, mm.Discrete3DFunction(params['xsize'], params['ysize'], params['zsize'], values))
# Enumerated values for nonbonded method # Enumerated values for nonbonded method
......
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