PLaSK library
Loading...
Searching...
No Matches
energylevels.hpp
Go to the documentation of this file.
1/*
2 * This file is part of PLaSK (https://plask.app) by Photonics Group at TUL
3 * Copyright (c) 2022 Lodz University of Technology
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 3.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14#ifndef PLASK__ENERGYLEVELS_H
15#define PLASK__ENERGYLEVELS_H
16
17#include <vector>
18
20
21namespace plask {
22
26struct PLASK_API EnergyLevels: public MultiFieldProperty<std::vector<double>> {
27 enum EnumType {
30 LIGHT_HOLES
31 };
32 static constexpr size_t NUM_VALS = 3;
33 static constexpr const char* NAME = "energy levels for electrons and holes";
34 static constexpr const char* UNIT = "eV";
35};
36
37} // namespace plask
38
39#endif // PLASK__ENERGYLEVELS_H