sample/store fields may cause dimension check error
Issue raised as EP1826 with surface sampling. The stored fields are dimensioned. However, it is perhaps possible that the named field changes dimensions (@Chiara?)
In which case,
//OLD dimfield->dimensions() = dims;
//NEW
dimfield->dimensions().reset(dims);
in polySurfacesTemplates.C