# PLaSK User Manual

#### Page Contents

- RectangularBase2D.BoundaryConditions Class
  - `RectangularBase2D.BoundaryConditions`
  - Subclasses
  - Methods
  - Descriptions
    - Method Details
      - `RectangularBase2D.BoundaryConditions.append()`
      - `RectangularBase2D.BoundaryConditions.clear()`
      - `RectangularBase2D.BoundaryConditions.insert()`
      - `RectangularBase2D.BoundaryConditions.prepend()`
      - `RectangularBase2D.BoundaryConditions.read_from_xpl()`

# RectangularBase2D.BoundaryConditions Class

class RectangularBase2D.BoundaryConditions

  Set of boundary conditions.

## Subclasses

`BoundaryCondition` |

## Methods

`append`(place, value) | Append new boundary condition to the list.
`clear`() | Clear all boundary conditions.
`insert`(index, place, value) | Insert new boundary condition to the list at specified position.
`prepend`(place, value) | Prepend new boundary condition to the list.
`read_from_xpl`(xml, manager) | Read boundary conditions from active XPL reader.

## Descriptions

### Method Details

RectangularBase2D.BoundaryConditions.append(place, value)

  Append new boundary condition to the list.

RectangularBase2D.BoundaryConditions.clear()

  Clear all boundary conditions.

RectangularBase2D.BoundaryConditions.insert(index, place, value)

  Insert new boundary condition to the list at specified position.

RectangularBase2D.BoundaryConditions.prepend(place, value)

  Prepend new boundary condition to the list.

RectangularBase2D.BoundaryConditions.read_from_xpl(xml, manager)

  Read boundary conditions from active XPL reader.

  This should only be used in the overloaded `plask.Solver.load_xpl()` method.