ngsPETSc.nullspace
==================

.. py:module:: ngsPETSc.nullspace

.. autoapi-nested-parse::

   This module contains all the function and class needed to wrap a PETSc Nullspace in NGSolve



Classes
-------

.. autoapisummary::

   ngsPETSc.nullspace.NullSpace


Module Contents
---------------

.. py:class:: NullSpace(fes, span, near=False)

   This class creates a PETSc Null space from NGSolve vectors

   :arg fes: NGSolve finite element space.
   :arg span: list NGSolve grid functions spanning the null space.



   .. py:attribute:: vecMap


   .. py:attribute:: near
      :value: False



   .. py:attribute:: constant
      :value: False



   .. py:attribute:: nullspace


   .. py:method:: orthonormalize(basis)

      Orthonormalize the basis.



