Skip to content

Commit

Permalink
Local ProcessModel binding
Browse files Browse the repository at this point in the history
  • Loading branch information
tobre1 committed Jun 14, 2024
1 parent 1b5bd5f commit a5f90a3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions python/pyWrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,16 +308,13 @@ PYBIND11_MODULE(VIENNAPS_MODULE_NAME, module) {
// set dimension
module.attr("D") = D;

// wrap omp_set_num_threads to control number of threads
module.def("setNumThreads", &omp_set_num_threads);

/****************************************************************************
* MODEL FRAMEWORK *
****************************************************************************/

// psProcessModel
pybind11::class_<ProcessModel<T, D>, SmartPointer<ProcessModel<T, D>>>
processModel(module, "ProcessModel");
processModel(module, "ProcessModel", pybind11::module_local());

// constructors
processModel
Expand Down

0 comments on commit a5f90a3

Please sign in to comment.