Commit 46d14b89 authored by John Chodera (MSKCC)'s avatar John Chodera (MSKCC)
Browse files

Removed 'void' declarations from getCutoff/getCutoffDistance methods so that...

Removed 'void' declarations from getCutoff/getCutoffDistance methods so that swigInputBuilder.py would correctly wrap return values.
parent a616b89a
...@@ -126,7 +126,7 @@ public: ...@@ -126,7 +126,7 @@ public:
* *
* @return the cutoff distance, measured in nm * @return the cutoff distance, measured in nm
*/ */
double getCutoffDistance(void) const; double getCutoffDistance() const;
/** /**
* Set the cutoff distance (in nm) being used for nonbonded interactions. If the NonbondedMethod in use * Set the cutoff distance (in nm) being used for nonbonded interactions. If the NonbondedMethod in use
......
...@@ -191,7 +191,7 @@ public: ...@@ -191,7 +191,7 @@ public:
/** /**
* Get the cutoff distance. * Get the cutoff distance.
*/ */
double getCutoff(void) const; double getCutoff() const;
/** /**
* Get the method used for handling long range nonbonded interactions. * Get the method used for handling long range nonbonded interactions.
......
...@@ -61,7 +61,7 @@ void AmoebaMultipoleForce::setPolarizationType( AmoebaMultipoleForce::Polarizati ...@@ -61,7 +61,7 @@ void AmoebaMultipoleForce::setPolarizationType( AmoebaMultipoleForce::Polarizati
polarizationType = type; polarizationType = type;
} }
double AmoebaMultipoleForce::getCutoffDistance( void ) const { double AmoebaMultipoleForce::getCutoffDistance() const {
return cutoffDistance; return cutoffDistance;
} }
......
...@@ -106,7 +106,7 @@ void AmoebaVdwForce::setCutoff( double inputCutoff ){ ...@@ -106,7 +106,7 @@ void AmoebaVdwForce::setCutoff( double inputCutoff ){
cutoff = inputCutoff; cutoff = inputCutoff;
} }
double AmoebaVdwForce::getCutoff( void ) const { double AmoebaVdwForce::getCutoff() const {
return cutoff; return cutoff;
} }
......
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