Efield_cart in quantum espresso plugin

I am trying to set the efied_cart in pw.x using the plugin. I was wondering if you guys know how.

I tried

 inputs.pw.parameters['ELECTRONS']['efield_cart(1)'] = efield[0]
 inputs.pw.parameters['ELECTRONS']['efield_cart(2)'] = efield[1]
 inputs.pw.parameters['ELECTRONS']['efield_cart(3)'] = efield[2]

Hi Andres,
It should be as follows:

parameters['ELECTRONS']['efield_cart'] = [Ex,Ey,Ez]

Cjeers

For more info on multi-dimensional parameters: pw.x — aiida-quantumespresso documentation

Thank you , Lorenzo!

This topic was automatically closed 4 hours after the last reply. New replies are no longer allowed.