"reorder_dofs_serial" and "allow_extrapolation" in dolfinx

Hello!

I’m trying to switch to dolfinx from dolfin 2019. In dolfin 2019, one could remove reorder dofs serial and allow extrapolation using the following code

from dolfin import *

parameters["reorder_dofs_serial"] = False
parameters["allow_extrapolation"] = True

But when I try to do the same thing in dolfinx

from dolfinx import *

parameters["reorder_dofs_serial"] = False
parameters["allow_extrapolation"] = True

I get the following error

File "/home/projects/test/fenicsx/parameters/parameters.py", line 3, in <module>
    parameters["reorder_dofs_serial"] = False
NameError: name 'parameters' is not defined

Could you please tell me how to do this in dolfinx? I used this functionality to make the indices of dofs and vertices coincide in the case of linear scalar function space.

These options are not available in DOLFINx. See for instance: Read OpenFoam results in dolfinx - #11 by hawkspar

Clear. Many thanks, @dokken !