[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ESPResSo-users] Electrostatics.DH
From: |
Ahmad Reza Motezakker |
Subject: |
Re: [ESPResSo-users] Electrostatics.DH |
Date: |
Sat, 19 Oct 2019 15:55:55 +0000 |
Dear Jean-Noel,
Actually, I already have ELECTROSTATICS feature in myconfig.hpp .
Bests,
AR
________________________________________
From: Espressomd-users <espressomd-users-bounces+armot=address@hidden> on
behalf of Jean-Noël Grad <address@hidden>
Sent: Saturday, October 19, 2019 5:47 PM
To: address@hidden
Subject: Re: [ESPResSo-users] Electrostatics.DH
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
>