preCICE
v3.1.2
Loading...
Searching...
No Matches
src
action
InvertDirectionAction.py
Go to the documentation of this file.
1
#
2
# Inverts direction of target data values
3
#
4
def
performAction
(time, targetData):
5
for
i
in
range(targetData.size):
6
targetData[i] = -targetData[i]
InvertDirectionAction.performAction
performAction(time, targetData)
Definition
InvertDirectionAction.py:4