void SpinDensity::addObservables(PropertySetType& plist,BufferType& collectables) { myIndex=collectables.current(); vector<RealType> tmp(nspecies*npoints); collectables.add(tmp.begin(),tmp.end()); }