Skip to content
Snippets Groups Projects
Commit 8620670c authored by Gareth Tribello's avatar Gareth Tribello
Browse files

Fixed periodicity getting for XYTorsion

parent b5f7e42b
No related branches found
No related tags found
No related merge requests found
...@@ -143,7 +143,8 @@ public: ...@@ -143,7 +143,8 @@ public:
virtual double compute( const unsigned& tindex, AtomValuePack& myatoms ) const ; virtual double compute( const unsigned& tindex, AtomValuePack& myatoms ) const ;
double calculateWeight( const unsigned& taskCode, const double& weight, AtomValuePack& ) const ; double calculateWeight( const unsigned& taskCode, const double& weight, AtomValuePack& ) const ;
/// Returns the number of coordinates of the field /// Returns the number of coordinates of the field
bool isPeriodic(){ return false; } bool isPeriodic(){ return true; }
void retrieveDomain( std::string& min, std::string& max){ min="-pi"; max="pi"; }
}; };
PLUMED_REGISTER_ACTION(XYTorsion,"XYTORSIONS") PLUMED_REGISTER_ACTION(XYTorsion,"XYTORSIONS")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment