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 provides a generic interface for dof maps
Constructor
True if dof map is a view into another map (is a sub-dofmap)
Return the dimension of the global finite element function space
Return number of owned (type=”owned”), unowned (type=”unowned”), or all (type=”all”) dofs in the map on this process
Return the dimension of the local finite element function space on a cell (deprecated API)
Return the maximum dimension of the local finite element function space (deprecated API)
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
Local-to-global mapping of dofs on a cell
Tabulate local-local facet dofs
Tabulate the local-to-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 owned by this process. This function is typically used by preconditioners that require the spatial coordinates of dofs, for example for re-partitioning or nullspace computations. The format for the return vector is [x0, y0, z0, x1, y1, z1, . . .].
Create a copy of the dof map
Create a new dof map on new mesh
Extract sub dofmap component
Create a “collapsed” a dofmap (collapses from a sub-dofmap view)
Return list of dof indices on this process that belong to mesh entities of dimension dim
Return list of global dof indices on this process
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 value*x[i], where x[i] is the spatial coordinate of the dof. 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.
Tabulate map between local (process) and global dof indices
Return global dof index corresponding to a given local index
Return map from shared nodes to the processes (not including the current process) that share it.
Return set of processes that share dofs with the this process
Clear any data required to build sub-dofmaps (this is to reduce memory use)
Return informal string representation (pretty-print)