Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Power System Simulation and Optimization
DPsim
DPsim
Commits
f94a3bbe
Commit
f94a3bbe
authored
Sep 15, 2017
by
Georg Martin Reinke
Browse files
whitespace
Former-commit-id:
94c409e0
parent
4a9609ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/PySimulation.cpp
View file @
f94a3bbe
...
@@ -6,15 +6,15 @@
...
@@ -6,15 +6,15 @@
using
namespace
DPsim
;
using
namespace
DPsim
;
static
PyMethodDef
PySimulation_methods
[]
=
{
static
PyMethodDef
PySimulation_methods
[]
=
{
{
"lvector"
,
PySimulation
::
lvector
,
METH_NOARGS
,
"Returns the left-side vector from the last step."
},
{
"lvector"
,
PySimulation
::
lvector
,
METH_NOARGS
,
"Returns the left-side vector from the last step."
},
{
"start"
,
PySimulation
::
start
,
METH_NOARGS
,
"Start the simulation, or resume if it is paused."
},
{
"start"
,
PySimulation
::
start
,
METH_NOARGS
,
"Start the simulation, or resume if it is paused."
},
{
"step"
,
PySimulation
::
step
,
METH_NOARGS
,
"Perform a single simulation step."
},
{
"step"
,
PySimulation
::
step
,
METH_NOARGS
,
"Perform a single simulation step."
},
{
"stop"
,
PySimulation
::
stop
,
METH_NOARGS
,
"Cancel the running simulation."
},
{
"stop"
,
PySimulation
::
stop
,
METH_NOARGS
,
"Cancel the running simulation."
},
{
"pause"
,
PySimulation
::
pause
,
METH_NOARGS
,
"Pause the already running simulation."
},
{
"pause"
,
PySimulation
::
pause
,
METH_NOARGS
,
"Pause the already running simulation."
},
{
"wait"
,
PySimulation
::
wait
,
METH_NOARGS
,
"Wait for the simulation to finish."
},
{
"wait"
,
PySimulation
::
wait
,
METH_NOARGS
,
"Wait for the simulation to finish."
},
{
NULL
,
NULL
,
0
,
NULL
}
{
NULL
,
NULL
,
0
,
NULL
}
};
};
PyTypeObject
DPsim
::
PySimulationType
=
{
PyTypeObject
DPsim
::
PySimulationType
=
{
PyVarObject_HEAD_INIT
(
NULL
,
0
)
PyVarObject_HEAD_INIT
(
NULL
,
0
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment