POVsnap: strange error
Hello everybody
I've been using the POVsnaps runnable many times successfully.
However, in my last 2D shear cell simulations it does not work.
This is the error message I get:
mpirun -np 2 -machinefile hosts.txt mpipython gouge2dbench_
Traceback (most recent call last):
File "gouge2dbench_
runSimulation()
File "gouge2dbench_
mySim.run()
File "/home/
self.snapshot()
File "/home/
camera.
AttributeError: 'POVsnaps' object has no attribute 'lookAt'
The part of code where the POVsnaps runnable is defined and created is the following
# Add a Runnable of type POVsnaps for creating snapshots
# povcam = POVsnaps(sim = mySim, interval = 100)
# mySim.addPostTi
which should be the standard way as indicated in the Users Guide.
The text of POVsnaps.py is the following:
from esys.lsm import *
from esys.lsm.util import Vec3, BoundingBox
from esys.lsm.vis import povray
class POVsnaps (Runnable):
def __init__(self, sim, interval):
def configure(self, lookAt=
def run(self):
if ((self.
def snapshot(self):
pkg = povray
for pp in plist:
Is there any problem in my ESyS-Particle Python files ?
Thanks a lot for your help
Best regards
Michele
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Dion Weatherley
- Solved:
- Last query:
- Last reply: