Action whose implementation is given in a Python file.
More...
#include <PythonAction.hpp>
|
| | PythonAction (Timing timing, std::string modulePath, std::string moduleName, const mesh::PtrMesh &mesh, int targetDataID, int sourceDataID) |
| | ~PythonAction () override |
| void | performAction () final override |
| | Performs the action, to be overwritten by subclasses.
|
| | Action (Timing timing, const mesh::PtrMesh &mesh, mapping::Mapping::MeshRequirement requirement) |
| | Action (Timing timing, const mesh::PtrMesh &mesh) |
| Action & | operator= (Action &&)=delete |
| virtual | ~Action ()=default |
| | Destructor, empty.
|
| Timing | getTiming () const |
| | Returns the timing of the action.
|
| const mesh::PtrMesh & | getMesh () const |
| | Returns the mesh carrying the data used in the action.
|
| mapping::Mapping::MeshRequirement | getMeshRequirement () const |
| | Returns the mesh requirement of this action.
|
Action whose implementation is given in a Python file.
Definition at line 15 of file PythonAction.hpp.
◆ PythonAction()
◆ ~PythonAction()
| precice::action::PythonAction::~PythonAction |
( |
| ) |
|
|
override |
◆ initialize()
| void precice::action::PythonAction::initialize |
( |
| ) |
|
|
private |
◆ makeNumPyArraysAvailable()
| int precice::action::PythonAction::makeNumPyArraysAvailable |
( |
| ) |
|
|
private |
◆ performAction()
| void precice::action::PythonAction::performAction |
( |
| ) |
|
|
finaloverridevirtual |
◆ _isInitialized
| bool precice::action::PythonAction::_isInitialized = false |
|
private |
◆ _log
| logging::Logger precice::action::PythonAction::_log {"action::PythonAction"} |
|
private |
◆ _module
| PyObject* precice::action::PythonAction::_module = nullptr |
|
private |
◆ _moduleName
◆ _moduleNameObject
| PyObject* precice::action::PythonAction::_moduleNameObject = nullptr |
|
private |
◆ _modulePath
◆ _numberArguments
| int precice::action::PythonAction::_numberArguments = 1 |
|
private |
◆ _performAction
| PyObject* precice::action::PythonAction::_performAction = nullptr |
|
private |
◆ _sourceData
◆ _sourceValues
| PyObject* precice::action::PythonAction::_sourceValues = nullptr |
|
private |
◆ _targetData
◆ _targetValues
| PyObject* precice::action::PythonAction::_targetValues = nullptr |
|
private |
The documentation for this class was generated from the following files: