Numbering of dofs
I'm using the trunk version of dolfin and I have two questions concerning the numbering of dofs:
1) Same mesh, different function spaces:
I have a FunctionSpace VS and a VectorFunctionSpace VV (same family and degree)
I want to identify the dofs of the FunctionSpace (d1, d2...) with thoses of the VectorFunctionSpace (d1_x, d2_x ...).
Can I assume that the mapping for a given cell i is always like:
VS.dofmap(
VV.dofmap(
2) Mesh and extracted SubMesh, same FunctionSpace
Can I assume that the cell_dofs of the same cell in Mesh and SubMesh can be identified like:
dofmap.cell_dofs(i) => [d1, d2, d3, d4]
subdofmap.
Thank you very much,
Claas
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Claas Abert
- Solved:
- Last query:
- Last reply: