I think that it used to be possible to set default form compiler
options easily, e.g.

  parameters["form_compiler"]["quadrature_degree"] = 1
  parameters["form_compiler"]["optimize"] = True
  parameters["form_compiler"]["eliminate_zeros"] = True

but this seem to work for specific settings only, e.g.

  parameters["form_compiler"]["quadrature_degree"] = 1
  parameters["form_compiler"]["optimize"] = True

works but

  parameters["form_compiler"]["quadrature_degree"] = 1
  parameters["form_compiler"]["optimize"] = True
  parameters["form_compiler"]["eliminate_zeros"] = True

doesn't.

I know I can pass a dictionary of options to assemble functions, but
it would be nice to be able to set defaults easily.

Garth

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : dolfin@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp

Reply via email to