From 2688842c1d80aec976cb1958c506574566ceecf1 Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> Date: Tue, 30 Jan 2018 11:43:45 +0100 Subject: [PATCH] pep8 --- python/dune/perftool/options.py | 3 --- python/dune/perftool/pdelab/driver/__init__.py | 3 ++- python/dune/perftool/pdelab/quadrature.py | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/python/dune/perftool/options.py b/python/dune/perftool/options.py index f186a324..9376c6b3 100644 --- a/python/dune/perftool/options.py +++ b/python/dune/perftool/options.py @@ -56,9 +56,6 @@ class PerftoolGlobalOptionsArray(ImmutableRecord): max_vector_width = PerftoolOption(default=256, helpstr=None) parallel = PerftoolOption(default=False, helpstr="Mark that this program should be run in parallel. If set to true the c++ code will check that there are more than 1 MPI-ranks involved and the error computation will use communication.") - #TODO: should be form specific - operator_file = PerftoolOption(helpstr="The filename for the generated local operator header") - class PerftoolFormOptionsArray(ImmutableRecord): """ A collection of form-specific form compiler arguments """ diff --git a/python/dune/perftool/pdelab/driver/__init__.py b/python/dune/perftool/pdelab/driver/__init__.py index f8ec2059..d0241f53 100644 --- a/python/dune/perftool/pdelab/driver/__init__.py +++ b/python/dune/perftool/pdelab/driver/__init__.py @@ -25,9 +25,10 @@ from dune.perftool.options import (get_form_option, # # The following functions are not doing anything useful, but providing easy access -# to quantities that are needed throughout the process of generating the driver! +# to quantities that are needed throughout the process of generating the driver! # + def get_form_ident(): idents = [i.strip() for i in get_option("operators").split(",")] if len(idents) == 2: diff --git a/python/dune/perftool/pdelab/quadrature.py b/python/dune/perftool/pdelab/quadrature.py index d0350d4b..19339acf 100644 --- a/python/dune/perftool/pdelab/quadrature.py +++ b/python/dune/perftool/pdelab/quadrature.py @@ -179,6 +179,7 @@ def name_quadrature_weights(): return name + def _estimate_quadrature_order(): """Estimate quadrature order using polynomial degree estimation from UFL""" # According to UFL documentation estimate_total_polynomial_degree -- GitLab