/** copy data that are required to evaluate ratios from the buffer * @param P active ParticleSet * @param buf anonymous buffer from which the data will be copied. * * This function lets the OrbitalBase objects get the minimal data * that are required to evaluate the ratio from the buffer. * Only the data registered by dumToBuffer will be available. */ void TrialWaveFunction::dumpFromBuffer(ParticleSet& P, BufferType& buf) { buf.rewind(BufferCursor); vector<OrbitalBase*>::iterator it(Z.begin()); vector<OrbitalBase*>::iterator it_end(Z.end()); for (; it!=it_end; ++it) (*it)->dumpFromBuffer(P,buf); }