create_ufc_function_spaces

dolfin.functions.functionspace.create_ufc_function_spaces(mesh, ufc_form, cache=None)

Instantiate cpp.FunctionSpaces from compiled ufc form.

Arguments
mesh
a Mesh.
ufc_form
compiled ufc form
cache
a ‘dict’ with already instantiated cpp.FunctionSpaces.

Examples of usage

fs0, c = create_ufc_function_spaces(mesh, ufc_form0)
fs1, c = create_ufc_function_spaces(mesh, ufc_form1, c)