parameters: (self, value: typing.Union[ufl.Coefficient, Function, Constant],
                   dofs: typing.List[int], V: FunctionSpace = None)
docstring: Representation of Dirichlet boundary condition which is imposed on
          a linear system.
  
          Notes:
              Dirichlet boundary conditions  should normally be
              constructed using :func:`fem.dirichletbc` and not using this
              class initialiser. This class is combined with different
              base classes that depend on the scalar type of the boundary
              condition.
  
          Args:
              value: Lifted boundary values function.
              dofs: Local indices of degrees of freedom in function space to which
                  boundary condition applies. Expects array of size (number of
                  dofs, 2) if function space of the problem, ``V``, is passed.
                  Otherwise assumes function space of the problem is the same
                  of function space of boundary values function. V: Function
                  space of a problem to which boundary conditions are applied.
docstring_summary: Representation of Dirichlet boundary condition which is imposed on
          a linear system.
docstring_tokens: Representation of Dirichlet boundary condition which is imposed on a linear system .
function: def __init__(self, value: typing.Union[ufl.Coefficient, Function, Constant],
                   dofs: typing.List[int], V: FunctionSpace = None):
          """Representation of Dirichlet boundary condition which is imposed on
          a linear system.
  
          Notes:
              Dirichlet boundary conditions  should normally be
              constructed using :func:`fem.dirichletbc` and not using this
              class initialiser. This class is combined with different
              base classes that depend on the scalar type of the boundary
              condition.
  
          Args:
              value: Lifted boundary values function.
              dofs: Local indices of degrees of freedom in function space to which
                  boundary condition applies. Expects array of size (number of
                  dofs, 2) if function space of the problem, ``V``, is passed.
                  Otherwise assumes function space of the problem is the same
                  of function space of boundary values function. V: Function
                  space of a problem to which boundary conditions are applied.
          """
  
          # Unwrap value object, if required
          try:
              _value = value._cpp_object
          except AttributeError:
              _value = value
  
          if V is not None:
              try:
                  super().__init__(_value, dofs, V)
              except TypeError:
                  super().__init__(_value, dofs, V._cpp_object)
          else:
              super().__init__(_value, dofs)
function_tokens: def __init__ ( self , value : typing . Union [ ufl . Coefficient , Function , Constant ] , dofs : typing . List [ int ] , V : FunctionSpace = None ) : # Unwrap value object, if required try : _value = value . _cpp_object except AttributeError : _value = value if V is not None : try : super ( ) . __init__ ( _value , dofs , V ) except TypeError : super ( ) . __init__ ( _value , dofs , V . _cpp_object ) else : super ( ) . __init__ ( _value , dofs )