FEM: code formating, flake8

This commit is contained in:
Bernd Hahnebach
2019-01-04 11:06:00 +01:00
committed by wmayer
parent 3f443d2264
commit 2e6dac1871
4 changed files with 14 additions and 14 deletions

View File

@@ -81,6 +81,7 @@ class Prepare(run.Prepare):
except IOError as e:
self.report.error("Can't access working directory.")
self.fail()
del e # get flake8 quit
def checkHandled(self, w):
handled = w.getHandledConstraints()

View File

@@ -138,12 +138,11 @@ else:
# TODO: python classes much slower than JIT compilation
# ***********************************
# * Sub classes due to value_shape method which is not of dynamical return type
# * Also the assignment of values is to be done by reference. Therefore it has to be
# * overloaded.
# ***********************************
# ***********************************
# * Sub classes due to value_shape method which is not of dynamical return type
# * Also the assignment of values is to be done by reference. Therefore it has to be
# * overloaded.
# ***********************************
class ScalarCellExpressionFromXDMF(fenics.Expression, CellExpressionFromXDMF):