Dummy mixed factory for use in draft mode.
More...
#include <plask/material/db.hpp>
Dummy mixed factory for use in draft mode.
Definition at line 283 of file db.hpp.
◆ DummyMixedCompositionFactory()
plask::MaterialsDB::DummyMixedCompositionFactory::DummyMixedCompositionFactory |
( |
const std::string & |
name1, |
|
|
const std::string & |
name2 |
|
) |
| |
|
inline |
Construct MixedDopantFactory for given material constructor of simple material, and doping amounts for this constructor.
- Parameters
-
constructor | material constructor |
dopAmountType | type of doping amounts, common for both materials |
m1DopAmount,m2DopAmount | amounts of doping for first and second material |
shape | changing material shape exponent |
Definition at line 295 of file db.hpp.
◆ operator()()
shared_ptr< Material > plask::MaterialsDB::DummyMixedCompositionFactory::operator() |
( |
double |
PLASK_UNUSEDm1_weight | ) |
const |
|
inlineoverride |
Construct material.
- Parameters
-
m1_weight | weight of first composition and dopant |
- Returns
- constructed material
Definition at line 303 of file db.hpp.
◆ singleMaterial()
shared_ptr< Material > plask::MaterialsDB::DummyMixedCompositionFactory::singleMaterial |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ full_name
std::string plask::MaterialsDB::DummyMixedCompositionFactory::full_name |
|
protected |
The documentation for this struct was generated from the following file: