inline
double Value::bringBackInPbc(double d1)const {
return difference(min+max_minus_min/2., d1);
}
inlinedouble Value::bringBackInPbc(double d1)const { if(d1 > min && d1 < max) return d1; else return difference(min+max_minus_min/2., d1);}
--
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users+unsubscribe@googlegroups.com.
To post to this group, send email to plumed...@googlegroups.com.
Visit this group at https://groups.google.com/group/plumed-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/63f5605b-3a5a-4696-a4b2-4b062e2a186e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users+unsubscribe@googlegroups.com.
To post to this group, send email to plumed...@googlegroups.com.
Visit this group at https://groups.google.com/group/plumed-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/141ecb95-9467-480d-aab2-5e86304bf96d%40googlegroups.com.