At the heart of any finite element simulation is the assembly of matrices andvectors from discrete variational forms. We propose a general interface betweenproblem-specific and general-purpose components of finite element programs.This interface is called Unified Form-assembly Code (UFC). A wide range offinite element problems is covered, including mixed finite elements anddiscontinuous Galerkin methods. We discuss how the UFC interface enablesimplementations of variational form evaluation to be independent of mesh andlinear algebra components. UFC does not depend on any external libraries, andis released into the public domain.
展开▼