Hi all,
From what I see in the documentation, reordering of meshes is turned on by default. But when I look at the mesh generation functions like RectangleMesh(...), I see that one of the default options is "reorder=None". Am i actually reordering the mesh if I ran something like:
mesh = UnitSquareMesh(10,10) Thanks, Justin
Yes. firedrake/mesh.py, lines 1189-1191: reorder = kwargs.get("reorder", None) if reorder is None: reorder = parameters["reorder_meshes"] On 12/08/16 00:31, Justin Chang wrote:
Hi all,
From what I see in the documentation, reordering of meshes is turned on by default. But when I look at the mesh generation functions like RectangleMesh(...), I see that one of the default options is "reorder=None". Am i actually reordering the mesh if I ran something like:
mesh = UnitSquareMesh(10,10)
Thanks, Justin
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
On 12 Aug 2016, at 09:08, Miklós Homolya <m.homolya14@imperial.ac.uk> wrote:
Yes.
firedrake/mesh.py, lines 1189-1191:
reorder = kwargs.get("reorder", None) if reorder is None: reorder = parameters["reorder_meshes"]
IOW, the global default for whether to reorder meshes or not is set by the above parameter. You can explicitly override that for any mesh you create by passing reorder=True/False. Lawrence
I see, okay thanks all On Friday, August 12, 2016, Lawrence Mitchell < lawrence.mitchell@imperial.ac.uk> wrote:
On 12 Aug 2016, at 09:08, Miklós Homolya <m.homolya14@imperial.ac.uk <javascript:;>> wrote:
Yes.
firedrake/mesh.py, lines 1189-1191:
reorder = kwargs.get("reorder", None) if reorder is None: reorder = parameters["reorder_meshes"]
IOW, the global default for whether to reorder meshes or not is set by the above parameter. You can explicitly override that for any mesh you create by passing reorder=True/False.
Lawrence
participants (3)
- 
                
                Justin Chang
- 
                
                Lawrence Mitchell
- 
                
                Miklós Homolya