Skip to content
Snippets Groups Projects
Commit 429c8a95 authored by Andreas Dedner's avatar Andreas Dedner
Browse files

added a class decorator and fixed a few other problems

parent 27f59fc1
No related branches found
No related tags found
1 merge request!140Feature/add python bindings
......@@ -38,7 +38,7 @@ try:
return self.points_, self.weights_
def apply(self,entity,f):
ie = entity.geometry.integrationElement
f_e = lambda x: f(entity(x))*ie(x)
f_e = lambda x: f(entity,x)*ie(x)
return self.quad_.integrate(f_e,self.vertices_,self.quadrature_)
def __iter__(self):
return self.quadPoints_.__iter__()
......
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