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

Remove obsolete options

parent c2f794e1
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,6 @@ class PerftoolOptionsArray(ImmutableRecord):
exact_solution_expression = PerftoolOption(helpstr="name of the exact solution expression in the ufl file")
compare_l2errorsquared = PerftoolOption(helpstr="maximal allowed l2 error squared of difference between numerical solution and interpolation of exact solution (NOTE: requires --exact-solution-expression)")
l2error_tree_path = PerftoolOption(default=None, helpstr="Tree pathes that should be considered for l2 error calculation. Default None means we take all of them into account.")
interactive = PerftoolOption(default=False, helpstr="whether the optimization process should be guided interactively (also useful for debugging)")
print_transformations = PerftoolOption(default=False, helpstr="print out dot files after ufl tree transformations")
print_transformations_dir = PerftoolOption(default=".", helpstr="place where to put dot files (can be omitted)")
quadrature_order = PerftoolOption(_type=int, helpstr="Quadrature order used for all integrals.")
......@@ -63,7 +62,6 @@ class PerftoolOptionsArray(ImmutableRecord):
vectorization_padding = PerftoolOption(default=None, helpstr="an explicit value for the allowed padding in vectorization")
vectorization_allow_quadrature_changes = PerftoolOption(default=False, helpstr="whether the vectorization strategy is allowed to alter quadrature point numbers")
vectorization_list_index = PerftoolOption(default=None, helpstr="Which vectorization to pick from a list (only valid with vectorization_strategy=fromlist).")
turn_off_diagonal_jacobian = PerftoolOption(default=False, helpstr="Do not use diagonal_jacobian transformation on the ufl tree and cast result of jacobianInverseTransposed into a FieldMatrix.")
architecture = PerftoolOption(default="haswell", helpstr="The architecture to optimize for. Possible values: haswell|knl|skylake")
grid_offset = PerftoolOption(default=False, helpstr="Set to true if you want a yasp grid where the lower left corner is not in the origin.")
simplify = PerftoolOption(default=False, helpstr="Whether to simplify expressions using sympy")
......
......@@ -291,13 +291,8 @@ def pymbolic_unit_inner_normal():
def type_jacobian_inverse_transposed(restriction):
if get_option('turn_off_diagonal_jacobian'):
dim = world_dimension()
ftype = type_floatingpoint()
return "typename Dune::FieldMatrix<{},{},{}>".format(ftype, dim, dim)
else:
geo = type_cell_geometry(restriction)
return "typename {}::JacobianInverseTransposed".format(geo)
geo = type_cell_geometry(restriction)
return "typename {}::JacobianInverseTransposed".format(geo)
@kernel_cached
......
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