Skip to content

Commit a02fda0

Browse files
author
Nicola-Fonzi
committed
bug in function
1 parent 91592b0 commit a02fda0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

SU2_PY/FSI_tools/FSI_config.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,22 +125,22 @@ def applyDefaults(self):
125125

126126
if "MAPPING_MODES" not in self._ConfigContent:
127127
self._ConfigContent["MAPPING_MODES"] = "NO"
128-
MPIPrint("MAPPING_MODES keyword was not found in the configuration file of the interface, setting to NO",False)
128+
self.MPIPrint("MAPPING_MODES keyword was not found in the configuration file of the interface, setting to NO",False)
129129

130130
if "IMPOSED_MOTION" not in self._ConfigContent:
131131
self._ConfigContent["IMPOSED_MOTION"] = "NO"
132-
MPIPrint("IMPOSED_MOTION keyword was not found in the configuration file of the interface, setting to NO",False)
132+
self.MPIPrint("IMPOSED_MOTION keyword was not found in the configuration file of the interface, setting to NO",False)
133133

134134
if self._ConfigContent["IMPOSED_MOTION"] == "YES":
135135
if self._ConfigContent["AITKEN_RELAX"] != "STATIC" or self._ConfigContent["AITKEN_PARAM"] != 1.0:
136-
MPIPrint("When imposing motion, the Aitken parameter must be static and equal to 1",True)
136+
self.MPIPrint("When imposing motion, the Aitken parameter must be static and equal to 1",True)
137137

138138
if self._ConfigContent["RESTART_SOL"] == "YES":
139139
if self._ConfigContent["TIME_TRESHOLD"] != -1:
140-
MPIPrint("When restarting a simulation, the time threshold must be -1 for immediate coupling",True)
140+
self.MPIPrint("When restarting a simulation, the time threshold must be -1 for immediate coupling",True)
141141

142142
if self._ConfigContent["MAPPING_MODES"] == "YES" and self._ConfigContent["CSD_SOLVER"]!="NATIVE":
143-
MPIPrint("Mapping modes only works with the native solver",True)
143+
self.MPIPrint("Mapping modes only works with the native solver",True)
144144

145145
def MPIPrint(self, message, error):
146146
"""

0 commit comments

Comments
 (0)