[Top][All Lists]

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

Re: [ESPResSo-users] Tabulated interaction: "object is not callable"

From: Clemens Jochum
Subject: Re: [ESPResSo-users] Tabulated interaction: "object is not callable"
Date: Mon, 28 Aug 2017 13:31:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1


I found the problem. It was an error in the documentation [1].
It should be:

.non_bonded_inter[type1, type2].tabulated.set_params(filename='filename')
But there it says:
system.non_bonded_inter[type1, type2].tabulated(filename='filename')



On 16.08.2017 18:04, Clemens Jochum wrote:

Hi all,

I ran into some issues when using exclusions and electrostatics in ESPResSO at the same time. I already described them in a previous thread
[1], but it seems like these issues are not solvable at the moment.

To circumvent my problem, I tried to replace the missing short-range electrostatic potential with a tabulated interaction, but I'm running into some more problems. I amusing the development python version and compiled espresso with the "TABULATED" feature. When I try to create the interaction as described in the documentation [2], I get the following error:

espressoSystem.non_bonded_inter[0, 0].tabulated(filename = 'tabulated_coulomb_int.dat')
TypeError: 'espressomd.interactions.TabulatedNonBonded' object is not callable

Does anyone have an idea where this problem comes from and how to solve it?

An unrelated problem I have is when using the analysis module. I always get the error message:

File "espressomd/analyze.pyx", line 758, in espressomd.analyze.Analysis.distribution (~/build/pypresso/src/python/espressomd/analyze.cpp:10174) NameError: name 'c_analyze' is not defined

I think this has something to do with my library path, but I can't get it to work.


P.S. It would be really great if the bug with excluded short-range electrostatic interaction would be fixed. :)

reply via email to

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