diff --git a/pythonbindings/src/gpu/submodules/communicator.cpp b/pythonbindings/src/gpu/submodules/communicator.cpp index 0230caf197c04c2f2cd411288e9ea24ee314c4a8..3b0550e4347b52df2cbcda6706435718e8bce354 100644 --- a/pythonbindings/src/gpu/submodules/communicator.cpp +++ b/pythonbindings/src/gpu/submodules/communicator.cpp @@ -31,7 +31,7 @@ //! \author Henry Korb //======================================================================================= #include <pybind11/pybind11.h> -#include <gpu/VirtualFluids_GPU/Communication/Communicator.h> +#include <gpu/VirtualFluids_GPU/Communication/MpiCommunicator.h> namespace communicator { @@ -39,9 +39,9 @@ namespace communicator void makeModule(py::module_ &parentModule) { - py::class_<vf::gpu::Communicator, std::unique_ptr<vf::gpu::Communicator, py::nodelete>>(parentModule, "Communicator") - .def_static("get_instance", &vf::gpu::Communicator::getInstance, py::return_value_policy::reference) - .def("get_number_of_process", &vf::gpu::Communicator::getNumberOfProcess) - .def("get_pid", &vf::gpu::Communicator::getPID); + py::class_<vf::gpu::MpiCommunicator, std::unique_ptr<vf::gpu::MpiCommunicator, py::nodelete>>(parentModule, "Communicator") + .def_static("get_instance", &vf::gpu::MpiCommunicator::getInstance, py::return_value_policy::reference) + .def("get_number_of_process", &vf::gpu::MpiCommunicator::getNumberOfProcess) + .def("get_pid", &vf::gpu::MpiCommunicator::getPID); } } \ No newline at end of file