espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo-users] Electrostatics.DH


From: Jean-Noël Grad
Subject: Re: [ESPResSo-users] Electrostatics.DH
Date: Sat, 19 Oct 2019 17:47:05 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Dear Ahmad,

This class requires feature ELECTROSTATICS. You'll need to add the line
#define ELECTROSTATICS
in your config file myconfig.hpp and rebuild espresso to enable DH.

Best regards,
JN

On 10/19/19 5:34 PM, Ahmad Reza Motezakker wrote:
Dear All,


For activating the Debye-Hueckel interaction with:

dh = electrostatics.DH(prefactor=coulomb_prefactor, kappa=dh_kappa, r_cut=int(5/dh_kappa))

I receive this error:


AttributeError: module 'espressomd.electrostatics' has no attribute 'DH'​


Could you please help me with that?


Best Regards,

Ahmad Reza




reply via email to

[Prev in Thread] Current Thread [Next in Thread]