Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
Parent class(es)
This class handles the mapping of degrees of freedom. It builds a dof map based on a ufc::dofmap on a specific mesh. It will reorder the dofs when running in parallel. Sub-dofmaps, both views and copies, are supported.
Create dof map on mesh (mesh is not stored)
Create a periodic dof map on mesh (mesh is not stored)
True iff dof map is a view into another map
Return the dimension of the global finite element function space
Return number of owned, unowned, or all dofs in the dofmap on this process
Return the dimension of the local finite element function space on a cell
Return the maximum dimension of the local finite element function space
Return the number of dofs for a given entity dimension
Return number of facet dofs
Return the ownership range (dofs in this range are owned by this process)
Return map from nonlocal dofs that appear in local dof map to owning process
Return map from all shared nodes to the sharing processes (not including the current process) that share it.
Return set of processes that share dofs with this process
Clear any data required to build sub-dofmaps (this is to reduce memory use)
Local-to-global mapping of dofs on a cell
Tabulate local-local facet dofs
Tabulate local-local mapping of dofs on entity (dim, local_entity)
Tabulate the coordinates of all dofs on a cell (UFC cell version)
Tabulate the coordinates of all dofs on this process. This function is typically used by preconditioners that require the spatial coordinates of dofs, for example for re-partitioning or nullspace computations.
Create a copy of the dof map
Create a copy of the dof map on a new mesh
Extract subdofmap component
Create a “collapsed” dofmap (collapses a sub-dofmap)
Return list of dof indices on this process that belong to mesh entities of dimension dim
Set dof entries in vector to a specified value. Parallel layout of vector must be consistent with dof map range. This function is typically used to construct the null space of a matrix operator.
Set dof entries in vector to the x[i] coordinate of the dof spatial coordinate. Parallel layout of vector must be consistent with dof map range This function is typically used to construct the null space of a matrix operator, e.g. rigid body rotations.
Return the map from unowned local dofmap nodes to global dofmap nodes. Dofmap node is dof index modulo block size.
Compute the map from local (this process) dof indices to global dof indices.
Return global dof index for a given local (process) dof index
Return informal string representation (pretty-print)