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

Always enable timings

parent a2970488
No related branches found
No related tags found
No related merge requests found
...@@ -33,8 +33,9 @@ def get_form_compiler_arguments(): ...@@ -33,8 +33,9 @@ def get_form_compiler_arguments():
parser.add_argument("--print-transformations", action="store_true", help="print out dot files after ufl tree transformations") parser.add_argument("--print-transformations", action="store_true", help="print out dot files after ufl tree transformations")
parser.add_argument("--print-transformations-dir", type=str, help="place where to put dot files (can be omitted)") parser.add_argument("--print-transformations-dir", type=str, help="place where to put dot files (can be omitted)")
parser.add_argument("--diagonal-transformation-matrix", action="store_true", help="set option if the jacoby of the transformation is diagonal (axiparallel grids)") parser.add_argument("--diagonal-transformation-matrix", action="store_true", help="set option if the jacoby of the transformation is diagonal (axiparallel grids)")
parser.add_argument("--ini-file", type=str, help="An inifile to use. A generated driver will be hard-coded to it, a [formcompiler] section will be used as default values to form compiler arguments (use snake case)") parser.add_argument("--ini-file", type=str, help="An inifile to use. A generated driver will be hard-coded to it, a [formcompiler] section will be usd as default values to form compiler arguments (use snake case)")
parser.add_argument("--timer", action="store_true", help="measure times") # The following option is no-op (because it is set by default), but we may want to remove that default in the future.
parser.add_argument("--timer", action="store_true", help="measure times", default=True)
# Modify the positional argument to not be a list # Modify the positional argument to not be a list
args = vars(parser.parse_args()) args = vars(parser.parse_args())
......
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