Skip to content
Snippets Groups Projects
Commit 2688842c authored by Dominic Kempf's avatar Dominic Kempf
Browse files

pep8

parent c98480fd
No related branches found
No related tags found
No related merge requests found
...@@ -56,9 +56,6 @@ class PerftoolGlobalOptionsArray(ImmutableRecord): ...@@ -56,9 +56,6 @@ class PerftoolGlobalOptionsArray(ImmutableRecord):
max_vector_width = PerftoolOption(default=256, helpstr=None) 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.") 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): class PerftoolFormOptionsArray(ImmutableRecord):
""" A collection of form-specific form compiler arguments """ """ A collection of form-specific form compiler arguments """
......
...@@ -25,9 +25,10 @@ from dune.perftool.options import (get_form_option, ...@@ -25,9 +25,10 @@ from dune.perftool.options import (get_form_option,
# #
# The following functions are not doing anything useful, but providing easy access # 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(): def get_form_ident():
idents = [i.strip() for i in get_option("operators").split(",")] idents = [i.strip() for i in get_option("operators").split(",")]
if len(idents) == 2: if len(idents) == 2:
......
...@@ -179,6 +179,7 @@ def name_quadrature_weights(): ...@@ -179,6 +179,7 @@ def name_quadrature_weights():
return name return name
def _estimate_quadrature_order(): def _estimate_quadrature_order():
"""Estimate quadrature order using polynomial degree estimation from UFL""" """Estimate quadrature order using polynomial degree estimation from UFL"""
# According to UFL documentation estimate_total_polynomial_degree # According to UFL documentation estimate_total_polynomial_degree
......
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