示例#1
0
文件: SpinDensity.cpp 项目: jyamu/qmc
 void SpinDensity::addObservables(PropertySetType& plist,BufferType& collectables)
 {
   myIndex=collectables.current();
   vector<RealType> tmp(nspecies*npoints);
   collectables.add(tmp.begin(),tmp.end());
 }