if(gmin[i]!=actualmin[i])log<<" WARNING: GRID_MIN["<<i<<"] has been adjusted to "<<actualmin[i]<<" to fit periodicity\n";
if(gmax[i]!=actualmax[i])log<<" WARNING: GRID_MAX["<<i<<"] has been adjusted to "<<actualmax[i]<<" to fit periodicity\n";
}
// check for mesh and sigma size
for(unsignedi=0;i<getNumberOfArguments();i++){
doublea,b;
Tools::convert(gmin[i],a);
Tools::convert(gmax[i],b);
doublemesh=(b-a)/((double)gbin[i]);
if(adaptive_==FlexibleBin::none){
if(mesh>0.5*sigma0_[i])log<<" WARNING: Using a METAD with a Grid Spacing larger than half of the Gaussians width can produce artifacts\n";
}else{
if(mesh>0.5*sigma0min_[i]||sigma0min_[i]<0.)log<<" WARNING: to use a METAD with a GRID and ADAPTIVE you need to set a Grid Spacing larger than half of the Gaussians \n";