Nektar++
|
#include <sstream>
#include <LibUtilities/BasicUtils/ErrorUtil.hpp>
#include <LibUtilities/Python/BasicUtils/SharedArray.hpp>
#include <LibUtilities/Python/NekPyConfig.hpp>
Go to the source code of this file.
Typedefs | |
using | NekError = Nektar::ErrorUtil::NekError |
Functions | |
void | export_Basis () |
Basis exports. More... | |
void | export_Comm () |
Export for Comm communicator. More... | |
void | export_Interpreter () |
void | export_Equation () |
void | export_Points () |
Points exports. More... | |
void | export_SessionReader () |
SessionReader exports. More... | |
void | export_ShapeType () |
Export for ShapeType enumeration. More... | |
void | export_TimeIntegrationScheme () |
void | export_TimeIntegrationSchemeOperators () |
template<typename T > | |
void | export_NekMatrix () |
PyObject * | CreateExceptionClass (const char *name, PyObject *baseTypeObj=PyExc_Exception) |
void | TranslateNekError (NekError const &e) |
BOOST_PYTHON_MODULE (_LibUtilities) | |
Variables | |
PyObject * | NekErrorType = nullptr |
std::stringstream | errorStream |
using NekError = Nektar::ErrorUtil::NekError |
Definition at line 58 of file LibUtilities.cpp.
BOOST_PYTHON_MODULE | ( | _LibUtilities | ) |
Definition at line 82 of file LibUtilities.cpp.
References CreateExceptionClass(), errorStream, export_Basis(), export_Comm(), export_Equation(), export_Interpreter(), export_NekMatrix< double >(), export_Points(), export_SessionReader(), export_ShapeType(), export_TimeIntegrationScheme(), export_TimeIntegrationSchemeOperators(), NekErrorType, Nektar::ErrorUtil::SetErrorStream(), and TranslateNekError().
PyObject * CreateExceptionClass | ( | const char * | name, |
PyObject * | baseTypeObj = PyExc_Exception |
||
) |
Definition at line 60 of file LibUtilities.cpp.
References CellMLToNektar.pycml::name.
Referenced by BOOST_PYTHON_MODULE().
void export_Basis | ( | ) |
Basis exports.
Definition at line 55 of file Python/Foundations/Basis.cpp.
References Basis_Create(), Basis_GetZW(), Nektar::LibUtilities::BasisTypeMap, and NEKPY_WRAP_ENUM.
Referenced by BOOST_PYTHON_MODULE().
void export_Comm | ( | ) |
Export for Comm communicator.
Definition at line 53 of file Python/Communication/Comm.cpp.
References AllReduce(), NEKPY_WRAP_ENUM, and Nektar::LibUtilities::ReduceOperatorMap.
Referenced by BOOST_PYTHON_MODULE().
void export_Equation | ( | ) |
Definition at line 196 of file Python/BasicUtils/Equation.cpp.
References ConstructEquation(), Equation_Evaluate1(), Equation_Evaluate2(), Equation_Evaluate3(), Equation_Evaluate4(), Equation_Evaluate5(), and Equation_SetConstants().
Referenced by BOOST_PYTHON_MODULE().
void export_Interpreter | ( | ) |
Definition at line 226 of file Python/Interpreter/Interpreter.cpp.
References Interpreter_AddConstants(), Interpreter_Evaluate(), Interpreter_Evaluate2(), Interpreter_Evaluate3(), Interpreter_Evaluate4(), Interpreter_GetConstant(), Interpreter_GetParameter(), and Interpreter_SetParameters().
Referenced by BOOST_PYTHON_MODULE().
void export_NekMatrix | ( | ) |
Definition at line 92 of file NekMatrix.cpp.
void export_Points | ( | ) |
Points exports.
Definition at line 70 of file Python/Foundations/Points.cpp.
References Nektar::LibUtilities::kPointsTypeStr, NEKPY_WRAP_ENUM_STRING_DOCS, Points_Create(), Points_GetD(), Points_GetD2(), and Points_GetZW().
Referenced by BOOST_PYTHON_MODULE().
void export_SessionReader | ( | ) |
SessionReader exports.
Currently wrapped functions:
Definition at line 146 of file Python/BasicUtils/SessionReader.cpp.
References Gs::Finalise(), SessionReader_CreateInstance(), SessionReader_GetFunction1(), SessionReader_GetFunction2(), SessionReader_GetParameters(), SessionReader_GetVariables(), SessionReader_SetParameterDouble(), and SessionReader_SetParameterInt().
Referenced by BOOST_PYTHON_MODULE().
void export_ShapeType | ( | ) |
Export for ShapeType enumeration.
Definition at line 44 of file ShapeType.cpp.
References NEKPY_WRAP_ENUM, and Nektar::LibUtilities::ShapeTypeMap.
Referenced by BOOST_PYTHON_MODULE().
void export_TimeIntegrationScheme | ( | ) |
Definition at line 42 of file Python/TimeIntegration/TimeIntegrationScheme.cpp.
Referenced by BOOST_PYTHON_MODULE().
void export_TimeIntegrationSchemeOperators | ( | ) |
Definition at line 151 of file TimeIntegrationSchemeOperators.cpp.
References TimeIntegrationSchemeOperators_DefineImplicitSolve(), TimeIntegrationSchemeOperators_DefineOdeRhs(), and TimeIntegrationSchemeOperators_DefineProjection().
Referenced by BOOST_PYTHON_MODULE().
void TranslateNekError | ( | NekError const & | e | ) |
Definition at line 77 of file LibUtilities.cpp.
References NekErrorType.
Referenced by BOOST_PYTHON_MODULE().
std::stringstream errorStream |
Definition at line 56 of file LibUtilities.cpp.
Referenced by BOOST_PYTHON_MODULE().
PyObject* NekErrorType = nullptr |
Definition at line 55 of file LibUtilities.cpp.
Referenced by BOOST_PYTHON_MODULE(), and TranslateNekError().