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

Merge branch 'cleanup/default-no-dot-files' into 'master'

Cleanup/default no dot files

New default: Write no dot files.

See merge request !12
parents eb3019bf 6eb2d5c7
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,8 @@ def get_form_compiler_arguments(): ...@@ -30,6 +30,8 @@ def get_form_compiler_arguments():
help="maximal allowed l2 error squared of difference between numerical solution and interpolation of exact solution (NOTE: requires --exact-solution-expression)" help="maximal allowed l2 error squared of difference between numerical solution and interpolation of exact solution (NOTE: requires --exact-solution-expression)"
) )
parser.add_argument("--interactive", action="store_true", help="whether the optimization process should be guided interactively (also useful for debugging)") parser.add_argument("--interactive", action="store_true", help="whether the optimization process should be guided interactively (also useful for debugging)")
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)")
# These are the options that I deemed necessary in uflpdelab # These are the options that I deemed necessary in uflpdelab
# parser.add_argument("--param-class-file", type=str, help="The filename for the generated parameter class header") # parser.add_argument("--param-class-file", type=str, help="The filename for the generated parameter class header")
......
...@@ -20,7 +20,7 @@ class UFLTransformationWrapper(object): ...@@ -20,7 +20,7 @@ class UFLTransformationWrapper(object):
# Write out a dot file # Write out a dot file
from dune.perftool.options import get_option from dune.perftool.options import get_option
if get_option("print_transformations", True): if get_option("print_transformations", False):
import os import os
dir = get_option("print_transformations_dir", os.getcwd()) dir = get_option("print_transformations_dir", os.getcwd())
......
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