[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "elastic_forces" and "f_metric" not working in OIF
From: |
Jean-Noël Grad |
Subject: |
Re: "elastic_forces" and "f_metric" not working in OIF |
Date: |
Fri, 20 Oct 2023 15:41:03 +0200 |
User-agent: |
Mozilla Thunderbird |
Hi,
Thank you for bringing our attention to this issue. This is a coding
error in ESPResSo. A bugfix is now available here:
https://github.com/espressomd/espresso/pull/4813
You should be able to patch your version of ESPResSo with a command like
`git apply fb817ad8.patch` or similar using the file at
https://github.com/espressomd/espresso/commit/fb817ad8.patch
Best,
JN
On 10/20/23 06:06, Rishabh Bhatt wrote:
Hello,
I have tried to find elastic forces of RBC as per your user guide
but it gives me an error which shows "TypeError: 'list' object cannot be
interpreted as an integer" which I have given in the screenshot.I have
also tried other functions from "18.5.4.2. class OifCell" given in
"https://espressomd.github.io/doc4.2.1/advanced_methods.html"
<https://www.researchgate.net/deref/https%3A%2F%2Fespressomd.github.io%2Fdoc4.2.1%2Fadvanced_methods.html%26quot?_tp=eyJjb250ZXh0Ijp7ImZpcnN0UGFnZSI6Il9kaXJlY3QiLCJwYWdlIjoiX2RpcmVjdCJ9fQ>;; which are works proprerly. I have provided the "one_cell.py" script,which I have taken from Cell in Fluid, and I have added lines for finding elastic forces(elastic_forces).I got the same error for finding "f_metric". Please help me to solve this problem or guide me what I am doing wrong.
Thank you
best
Rishabh Bhatt