<div dir="ltr">Hi Matt,<div><br></div><div>I think it makes sense to use only the soft density to calculate STM images.</div><div><br></div><div>cheersĀ </div><div>Marcella</div><div><br><br>On Tuesday, July 5, 2016 at 12:53:06 PM UTC+2, Matt W wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi everyone,<div><br></div><div>I'm trying to generate STM images with GAPW enabled - it dies with a CP_ASSERT in qs_collocate_density (line 1629). Trivial test case attached.</div><div><br></div><div>I think for STM it should be safe just to use the soft density and make the call at to calculate_rho_elec in stm_images (line 371) with the soft_valid argument set to true in the GAPW case ... but I'm a little wary of hacking GAPW stuff.</div><div><br></div><div>What do you think?</div><div><br></div><div>Matt</div><div><br></div><div><br></div><div><br></div><div><br></div></div></blockquote></div></div>