Skip to content
Snippets Groups Projects
Commit 4fa7b122 authored by AlQuemist's avatar AlQuemist Committed by Wuttke, Joachim
Browse files

Rename 'PyTools' to 'PyCore'

parent 601f9b7d
No related branches found
No related tags found
1 merge request!1636PyCore: Re-implementation of embedded Python as a separate module (Major change)
...@@ -206,8 +206,8 @@ Datafield* Datafield::crop(double xmin, double xmax) const ...@@ -206,8 +206,8 @@ Datafield* Datafield::crop(double xmin, double xmax) const
#ifdef BORNAGAIN_PYTHON #ifdef BORNAGAIN_PYTHON
#include "PyTools/Embed/PyObjectDecl.h" #include "PyCore/Embed/PyObjectDecl.h"
#include "PyTools/Embed/PythonInterpreter.h" // Numpy::arrayND, Numpy::getDataPtr #include "PyCore/Embed/PythonInterpreter.h" // Numpy::arrayND, Numpy::getDataPtr
template <> template <>
PyObject* OutputData<double>::getArray() const PyObject* OutputData<double>::getArray() const
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
#include "GUI/View/Project/ProjectManager.h" #include "GUI/View/Project/ProjectManager.h"
#include "GUI/View/Tool/Globals.h" #include "GUI/View/Tool/Globals.h"
#include "Sample/Multilayer/MultiLayer.h" #include "Sample/Multilayer/MultiLayer.h"
#include "PyTools/Embed/PythonInterpreter.h" // listOfFunctions #include "PyCore/Embed/PythonInterpreter.h" // listOfFunctions
#include "PyTools/Sample/Multilayer/ImportMultiLayer.h" // createMultiLayerFromPython #include "PyCore/Sample/Multilayer/ImportMultiLayer.h" // createMultiLayerFromPython
#include <QApplication> #include <QApplication>
#include <QFileDialog> #include <QFileDialog>
#include <QTextStream> #include <QTextStream>
......
File moved
File moved
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// //
// BornAgain: simulate and fit reflection and scattering // BornAgain: simulate and fit reflection and scattering
// //
//! @file PyTools/Embed/PyCore.h //! @file PyCore/Embed/PyCore.h
//! @brief Includes python header and takes care of warnings. //! @brief Includes python header and takes care of warnings.
//! //!
//! @homepage http://www.bornagainproject.org //! @homepage http://www.bornagainproject.org
......
File moved
File moved
File moved
File moved
File moved
File moved
#ifdef BORNAGAIN_PYTHON #ifdef BORNAGAIN_PYTHON
#include "PyTools/Embed/PyCore.h" #include "PyCore/Embed/PyCore.h"
#include "ImportMultiLayer.h" #include "ImportMultiLayer.h"
#include "Sample/Multilayer/MultiLayer.h" #include "Sample/Multilayer/MultiLayer.h"
#include "PyTools/Embed/PythonInterpreter.h" // BornAgain::importScript #include "PyCore/Embed/PythonInterpreter.h" // BornAgain::importScript
// SWIG runtime access for creating a MultiLayer instance from Python // SWIG runtime access for creating a MultiLayer instance from Python
#include "auto/Wrap/swig_runtime.h" #include "auto/Wrap/swig_runtime.h"
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
#include <string> #include <string>
#include <memory> // unique_ptr #include <memory> // unique_ptr
#include "PyTools/Embed/PyObjectDecl.h" #include "PyCore/Embed/PyObjectDecl.h"
#include "PyTools/Embed/Result.h" #include "PyCore/Embed/Result.h"
class MultiLayer; class MultiLayer;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment