# Section <solvers>¶

<solvers>

This section contains definitions and configuation of the computational solvers and data filters used in the computations. Each such a solver is declared in the separate XML element of this section. The content of such element depends strongly on the particular solver, while its name and attributes are standarized (although there are differences in attributes of strict computational solvers and data filters). The details of this standard representation of XML elements are presented below.

The computational solvers are declared with an XML tag, which name is the category of the solver, e.g. thermal, electrical, gain, or optical and that has the standard set of attributes:

<category>

Definition of computational solver.

Attributes: name (required) – Solver name. In Python script there is a automatically created solver object with such name. (identifier string) solver (required) – Actual solver type. In Python script this defines the class of the solver object. lib – Library in which this solver is implemented. For most standard solvers, PLaSK can automatically determine its proper value. For other solver types this attribute is required.

Most solvers need to have boundary conditions specified in a some way. This is always done in a consistent method described below:

The available solvers are as follows: