.. Documentation for the header file dolfin/function/MultiMeshSubSpace.h .. _programmers_reference_cpp_function_multimeshsubspace: MultiMeshSubSpace.h =================== .. note:: The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded. .. cpp:class:: MultiMeshSubSpace *Parent class(es)* * :cpp:class:`MultiMeshFunctionSpace` This class represents a subspace (component) of a multimesh function space. The subspace is specified by an array of indices. For example, the array [3, 0, 2] specifies subspace 2 of subspace 0 of subspace 3. A typical example is the function space W = V x P for Stokes. Here, V = W[0] is the subspace for the velocity component and P = W[1] is the subspace for the pressure component. Furthermore, W[0][0] = V[0] is the first component of the velocity space etc. .. cpp:function:: MultiMeshSubSpace(MultiMeshFunctionSpace& V, std::size_t component) Create subspace for given component (one level) .. cpp:function:: MultiMeshSubSpace(MultiMeshFunctionSpace& V, std::size_t component, std::size_t sub_component) Create subspace for given component (two levels) .. cpp:function:: MultiMeshSubSpace(MultiMeshFunctionSpace& V, const std::vector& component) Create subspace for given component (n levels)