SparsityPatternBuilder

class dolfin.cpp.fem.SparsityPatternBuilder

Bases: object

This class provides functions to compute the sparsity pattern based on DOF maps

static build(sparsity_pattern, mesh, dofmaps, cells, interior_facets, exterior_facets, vertices, diagonal, init=True, finalize=True)

Build sparsity pattern for assembly of given form

static build_multimesh_sparsity_pattern(sparsity_pattern, form)

Build sparsity pattern for assembly of given multimesh form

thisown

The membership flag