def set_current_time(self, current_time):
current_time = c_double(current_time)<EOL>try:<EOL><INDENT>self.library.set_current_time.argtypes = [POINTER(c_double)]<EOL>self.library.set_current_time.restype = None<EOL>self.library.set_current_time(byref(current_time))<EOL><DEDENT>except AttributeError:<EOL><INDENT>logger.warn("<STR_LIT>", self.engine)<EOL><DEDENT>
sets current time of simulation