Is the range of the dofmap in parallel always the same as the range of the associated vector?

12 views
Skip to first unread message

chris.n.r...@googlemail.com

unread,
Jun 5, 2013, 8:37:21 AM6/5/13
to myd...@googlegroups.com
When you have a function, e.g.

M = Mesh('mesh.xml')
Q = FunctionSpace(M, "CG", 3)
F = Function(Q)

what is the difference between Q.dofmap().local_range() and F.vector().local_range()

Obviously only relevant in parallel, but are there any circumstances where they could be different?

ble...@karlin.mff.cuni.cz

unread,
Jun 5, 2013, 9:29:05 AM6/5/13
to myd...@googlegroups.com
Dne středa, 5. června 2013 14:37:21 UTC+2 Chris Richardson napsal(a):
You can create `Vector` with arbitrary layout of entries across processes - both distributed and local. As a special case `Vector` holding dofs of `Function` has layout given by dofmap. Then these ranges are same.

ble...@karlin.mff.cuni.cz

unread,
Jun 5, 2013, 9:35:26 AM6/5/13
to myd...@googlegroups.com
Where can I find the syntax for markup?
Reply all
Reply to author
Forward
0 new messages