@@ -855,7 +855,8 @@ def __temporalIteration(self,time):
855855 self .a += (1 - self .alpha_f )/ (1 - self .alpha_m )* self .qddot
856856 else :
857857 if self .ImposedMotionToSet :
858- if self .Config ["RESTART_SOL" ] == "NO" : # If yes we already set it in the __setRestart function
858+ if self .Config ["RESTART_SOL" ] == "NO" :
859+ # If yes we already set it in the __setRestart function
859860 self .timeStartCoupling = time
860861 iImposedFunc = 0
861862 for imode in self .Config ["IMPOSED_MODES" ].keys ():
@@ -1004,8 +1005,9 @@ def getNumberOfSolidInterfaceNodes(self, markerID):
10041005
10051006 return len (self .markers [markerID ])
10061007
1007- def getVertexGlobalIndex (self , markerID , iVertex ): # TODO This solver is serial, thus global=local
1008+ def getVertexGlobalIndex (self , markerID , iVertex ):
10081009
1010+ # This solver is serial, thus global=local
10091011 return self .markers [markerID ][iVertex ]
10101012
10111013 def getInterfaceNodePosInit (self , markerID , iVertex ):
@@ -1035,6 +1037,7 @@ def getInterfaceNodeVelNm1(self, markerID, iVertex):
10351037
10361038 def IsAHaloNode (self , markerID , iVertex ):
10371039
1040+ # There are no halo nodes in this solver as it is serial
10381041 iPoint = self .markers [markerID ][iVertex ]
1039- halo = False # TODO when in parallel we will need to define this
1042+ halo = False
10401043 return halo
0 commit comments