Commit 41edad76 by Francois Gygi

Fix issue fail to restart MD with multiple k-points

parent 260b6bec
......@@ -74,6 +74,8 @@ StructureHandler* SampleHandler::startSubHandler(const XMLCh* const uri,
read_wfv = true;
assert(read_wf);
s_.wfv = new Wavefunction(s_.wf);
// reset wfv to have only k=0
s_.wfv->reset();
return new WavefunctionHandler(*s_.wfv,gfdata_,current_gfdata_pos);
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment