PLaSK library
|
Factory of alloy material which construct its versions with mixed versions of two dopants (for material with same compositions). More...
#include <plask/material/db.hpp>
Public Member Functions | |
MixedDopantFactory (shared_ptr< const MaterialConstructor > constructor, double m1DopAmount, double m2DopAmount, double shape=1.) | |
Construct MixedDopantFactory for given material constructor of simple material, and doping amounts for this constructor. | |
shared_ptr< Material > | operator() (double m1_weight) const override |
Construct material. | |
shared_ptr< Material > | singleMaterial () const override |
Get material only if this factory represents solid material (if operator(double m1_weight) is independent from m1_weight). | |
Public Member Functions inherited from plask::MaterialsDB::MixedCompositionFactory | |
MixedCompositionFactory (shared_ptr< const MaterialConstructor > constructor) | |
Construct MixedCompositionFactory for given material constructor and two compositions for this constructor. | |
virtual | ~MixedCompositionFactory () |
Protected Attributes | |
double | m1DopAmount |
double | m2DopAmount |
double | shape |
Protected Attributes inherited from plask::MaterialsDB::MixedCompositionFactory | |
shared_ptr< const MaterialConstructor > | constructor |
Factory of alloy material which construct its versions with mixed versions of two dopants (for material with same compositions).
|
inline |
Construct MixedDopantFactory for given material constructor of simple material, and doping amounts for this constructor.
constructor | material constructor |
m1DopAmount,m2DopAmount | amounts of doping for first and second material |
shape | changing material shape exponent |
|
inlineoverridevirtual |
Construct material.
m1_weight | weight of first composition and dopant |
Implements plask::MaterialsDB::MixedCompositionFactory.
|
inlineoverridevirtual |
Get material only if this factory represents solid material (if operator(double m1_weight) is independent from m1_weight).
Implements plask::MaterialsDB::MixedCompositionFactory.
|
protected |
|
protected |
|
protected |