Skip to content

Commit

Permalink
Correct order in psSingleParticleProcess constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
tobre1 committed Jul 23, 2024
1 parent 3021a96 commit b2dd6eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions include/viennaps/models/psSingleParticleProcess.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ class SingleParticleProcess : public ProcessModel<NumericType, D> {
std::move(maskMaterialMap));
}

SingleParticleProcess(
NumericType stickingProbability, NumericType sourceDistributionPower,
std::unordered_map<Material, NumericType> materialRates) {
SingleParticleProcess(std::unordered_map<Material, NumericType> materialRates,
NumericType stickingProbability,
NumericType sourceDistributionPower) {
initialize(0., stickingProbability, sourceDistributionPower,
std::move(materialRates));
}
Expand Down
6 changes: 3 additions & 3 deletions python/pyWrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,9 +576,9 @@ PYBIND11_MODULE(VIENNAPS_MODULE_NAME, module) {
}),
pybind11::arg("rate"), pybind11::arg("stickingProbability"),
pybind11::arg("sourceExponent"), pybind11::arg("maskMaterials"))
.def(pybind11::init<T, T, std::unordered_map<Material, T>>(),
pybind11::arg("stickingProbability"),
pybind11::arg("sourceExponent"), pybind11::arg("materiaRates"));
.def(pybind11::init<std::unordered_map<Material, T>, T, T>(),
pybind11::arg("materialRates"), pybind11::arg("stickingProbability"),
pybind11::arg("sourceExponent"));

// TEOS Deposition
pybind11::class_<TEOSDeposition<T, D>, SmartPointer<TEOSDeposition<T, D>>>(
Expand Down

0 comments on commit b2dd6eb

Please sign in to comment.