espressomd-users
[Top][All Lists]
Advanced

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

"elastic_forces" and "f_metric" not working in OIF


From: Rishabh Bhatt
Subject: "elastic_forces" and "f_metric" not working in OIF
Date: Fri, 20 Oct 2023 09:36:53 +0530

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";; 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

Attachment: Screenshotfrom2023-09-2514-10-54 (1).png
Description: PNG image

Attachment: one_cell (1).py
Description: Text Data


reply via email to

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