Commit 68b63613 authored by Francois Gygi's avatar Francois Gygi
Browse files

update for AndersonMixer without Context

git-svn-id: cba15fb0-1239-40c8-b417-11db7ca47a34
parent 0834e893
......@@ -298,7 +298,8 @@ void BOSampleStepper::step(int niter)
// Anderson charge mixer: include both spins in the same vector
// Factor of 2: complex coeffs stored as double
AndersonMixer mixer(2*nspin*ng,anderson_ndim,&cd_.vcontext());
MPI_Comm vcomm = cd_.vcomm();
AndersonMixer mixer(2*nspin*ng,anderson_ndim,&vcomm);
// compute Kerker preconditioning
// real space Kerker cutoff in a.u.
Supports Markdown
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