Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 73ba28ec authored by Martin Genet's avatar Martin Genet
Browse files

Removing evalcount

parent 8345785f
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,6 @@ class ExprIm2(dolfin.Expression):
if filename is not None:
self.init_image(filename=filename)
self.X = numpy.array([float()]*2+[Z])
#self.evalcount = 0
def init_image(self, filename):
self.image = myVTK.readImage(
......@@ -49,13 +48,11 @@ class ExprIm2(dolfin.Expression):
#print " Im = " + str(Im)
Im /= self.s
#print " Im = " + str(Im)
#self.evalcount += 1
class ExprIm3(dolfin.Expression):
def __init__(self, filename, **kwargs):
if filename is not None:
self.init_image(filename=filename)
#self.evalcount = 0
def init_image(self, filename):
self.image = myVTK.readImage(
......@@ -74,7 +71,6 @@ class ExprIm3(dolfin.Expression):
#print " Im = " + str(Im)
Im /= self.s
#print " Im = " + str(Im)
#self.evalcount += 1
class ExprGradIm2(dolfin.Expression):
def __init__(self, filename=None, Z=0., **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment