Cadabra
Computer algebra system for field theory problems
py_kernel.hh
Go to the documentation of this file.
1 #pragma once
2 
3 #include <pybind11/pybind11.h>
4 
5 #include "../Kernel.hh"
6 
7 namespace cadabra {
8 
70  Kernel *create_scope();
71  Kernel *create_scope_from_global();
72  Kernel *create_empty_scope();
73 
77  Kernel *get_kernel_from_scope();
78 
79 
80  void init_kernel(pybind11::module& m);
81 
82  }
Kernel * get_kernel_from_scope()
Get a pointer to the currently visible kernel.
Definition: py_kernel.cc:41
Kernel * create_scope()
Setup of kernels in current scope, callable from Python.
Definition: py_kernel.cc:22
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83
Kernel * create_empty_scope()
Definition: py_kernel.cc:35
void init_kernel(pybind11::module &m)
Definition: py_kernel.cc:100
Kernel * create_scope_from_global()
Definition: py_kernel.cc:28