ARTEMIS
WarpX_py.H
Go to the documentation of this file.
1 /* Copyright 2019 David Grote, Maxence Thevenet, Weiqun Zhang
2  *
3  *
4  * This file is part of WarpX.
5  *
6  * License: BSD-3-Clause-LBNL
7  */
8 #ifndef WARPX_PY_H_
9 #define WARPX_PY_H_
10 
11 #include "WarpXWrappers.H"
13 
14 #include <map>
15 #include <string>
16 
28 extern std::map< std::string, WARPX_CALLBACK_PY_FUNC_0 > warpx_callback_py_map;
29 
33 bool IsPythonCallBackInstalled ( std::string name );
34 
38 void ExecutePythonCallback ( std::string name );
39 
40 #endif
std::map< std::string, WARPX_CALLBACK_PY_FUNC_0 > warpx_callback_py_map
Definition: WarpX_py.cpp:10
bool IsPythonCallBackInstalled(std::string name)
Function to check if the given name is a key in warpx_callback_py_map.
Definition: WarpX_py.cpp:12
void ExecutePythonCallback(std::string name)
Function to look for and execute Python callbacks.
Definition: WarpX_py.cpp:18
string name
Definition: stencil.py:452