WasiakNew2D
-----------

.. xml:tag:: <gain solver="WasiakNew2D"> [WasiakNew2D]

   Corresponding Python class: :py:class:`gain.wasiak.WasiakNew2D`.

   Simple gain solver based on Fermi Golden Rule for two-dimensional Cartesian geometry.

   

       This solver does not use any mesh by default and the the full gain calculation is performed in each requested point.

       However, if there is a mesh specified then the gain is computed only in the mesh points and interpolated in-between.

   :attr required name: Solver name.

   .. xml:contents::

      .. xml:tag:: <geometry> [in gain.WasiakNew2D]

         Geometries for use by this solver.

         :attr required ref: Name of the geometry used by the this solver. (Cartesian2D geometry)
         :attr mod: Name of the modified geometry for broadening calculation. (Cartesian2D geometry)

      .. xml:tag:: <mesh> [in gain.WasiakNew2D]

         Optional Ordered or Regular mesh used by this solver.

         :attr ref: Name of the existing Ordered or Regular mesh used by this solver. (mesh)

      .. xml:tag:: <config> [in gain.WasiakNew2D]

         Some important gain parameters.

         :attr lifetime: Average carriers lifetime. This parameter is used for gain spectrum broadening. (float (ps), default 0 ps)
         :attr matrix-elem: Value of the squared matrix element in gain computations. If it is not set it is estimated automatically. (float ((eV/m\ :sub:`0`\ )\ :sup:`2`\ ))
         :attr strained: Boolean attribute indicating if the solver should consider strain in the active region. If set to \ *yes*\  then the substrate material must be either explicitly specified of there must a layer with the role "\ *substrate*\ " in the geometry. The strain is computed by comparing the atomic lattice constants of the substrate and the quantum wells. (bool, default is \ ``no``\ )
         :attr substrate: Name of the substrate material. This attribute is used only if the \ *strained*\  attribute is set to \ *yes*\ . If this attribute is not set then the substrate material must be specified by a layer with the role "\ *substrate*\ ". (material)
         :attr cond-qw-shift: Additional conduction band shift for quantum wells. (float (eV))
         :attr vale-qw-shift: Additional valence band shift for quantum wells. (float (eV))
         :attr adjust-layers: Setting this to true, allows to adjust the widths of the gain region layers by few angstroms to improve numerical stability. (bool, default is \ ``yes``\ )
         :attr roughness: If there is no modified geometry: roughness of the thicknesses of the quantum wells. With modified geometry present: broadening factor. (float, default 1)
         :attr fast-levels: Compute levels only once and simply shift for different temperatures? Setting this to True strongly increases computation speed, but makes the results less accurate for high gains." (bool, default is \ ``yes``\ )
         :attr Tref: Reference temperature. If fast-levels is set, this is the temperature used for initial computation of the energy levels. (float (K))
