~laura-ratcliff/bigdft/1.8

« back to all changes in this revision

Viewing changes to PyBigDFT/BigDFT/InputActions.py

  • Committer: Luigi Genovese
  • Date: 2018-10-07 20:57:10 UTC
  • Revision ID: luigi.genovese@cea.fr-20181007205710-9zcgywdx7kllqtxg
mqcharge corrected

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
    Arguments:
142
142
        charge (int,float): value of the charge in units of *e* (the electron has charge -1). Also accept floating point numbers.
143
143
    """
144
 
    __set__(inp,'dft','charge',charge)
 
144
    __set__(inp,'dft','qcharge',charge)
145
145
 
146
146
def apply_electric_field(inp,elecfield=[0,0,1.e-3]):
147
147
    """