RotBondPrms: mismatch with C++ signature
Hello everybody
I just want to report an error in the benchmark script for 2D shear cell experiment, /Python/
While I was trying to run a ESyS-Particle script for simulating a 2D shear cell experiment derived from the that one, I got this error regarding the elements of RotBondPrms:
mpirun -np 2 -machinefile hosts.txt mpipython gouge2dbench_
[...]
Traceback (most recent call last):
File "gouge2dbench_
runSimulation()
File "gouge2dbench_
bip = RotBondPrms(
Boost.Python.
RotBondPrms
did not match C++ signature:
__init_
Indeed, the error disappears if the bondTag element is defined as the last one instead of the first one and, in the Users Guide, chapter 5, Section 5.1.4, page 41 (version of March 19th 2009), there is the right definition of an object of that class.
I think gouge2dbench.py just needs to be updated.
Also the ESyS-Particle Python API must be update because it reports the tag as the first attribute for the class RotBondPrms.
Thanks a lot
Michele
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Michele Griffa for more information if necessary.