parameters: (self)
docstring: This method is executed in order to initialize the current step
  
          Keyword arguments:
          self -- It signifies an instance of a class.
docstring_summary: This method is executed in order to initialize the current step
docstring_tokens: This method is executed in order to initialize the current step
function: def ExecuteInitializeSolutionStep(self):
          """ This method is executed in order to initialize the current step
  
          Keyword arguments:
          self -- It signifies an instance of a class.
          """
  
          if self._compute_search():
              # We unset the flag MARKER (used in the nodes to not deactivate it)
              KM.VariableUtils().SetFlag(KM.MARKER, False, self._get_process_model_part().Nodes)
              # We solve one linear step with a linear strategy if needed
              for key in self.settings["search_model_part"].keys():
                  if self.settings["search_model_part"][key].size() > 0:
                      self.search_utility_list[key].ExecuteInitializeSolutionStep()
  
                      # Debug
                      if self.settings["search_parameters"]["debug_mode"].GetBool():
                          global_step = self.main_model_part.ProcessInfo[KM.STEP]
                          self._debug_output(global_step, "Sub" + str(key) , self._get_problem_name())
  
              # We unset the flag MARKER (used in the nodes to not deactivate it)
              KM.VariableUtils().SetFlag(KM.MARKER, False, self._get_process_model_part().Nodes)
  
              # Debug
              if self.settings["search_parameters"]["debug_mode"].GetBool():
                  # We compute the total integrated area, for debugging
                  self.__get_integration_area()
          else:
              # We deactivate the conditions and nodes
              KM.VariableUtils().SetFlag(KM.ACTIVE, False, self._get_process_model_part().Nodes)
              KM.VariableUtils().SetFlag(KM.ACTIVE, False, self._get_process_model_part().Conditions)
function_tokens: def ExecuteInitializeSolutionStep ( self ) : if self . _compute_search ( ) : # We unset the flag MARKER (used in the nodes to not deactivate it) KM . VariableUtils ( ) . SetFlag ( KM . MARKER , False , self . _get_process_model_part ( ) . Nodes ) # We solve one linear step with a linear strategy if needed for key in self . settings [ "search_model_part" ] . keys ( ) : if self . settings [ "search_model_part" ] [ key ] . size ( ) > 0 : self . search_utility_list [ key ] . ExecuteInitializeSolutionStep ( ) # Debug if self . settings [ "search_parameters" ] [ "debug_mode" ] . GetBool ( ) : global_step = self . main_model_part . ProcessInfo [ KM . STEP ] self . _debug_output ( global_step , "Sub" + str ( key ) , self . _get_problem_name ( ) ) # We unset the flag MARKER (used in the nodes to not deactivate it) KM . VariableUtils ( ) . SetFlag ( KM . MARKER , False , self . _get_process_model_part ( ) . Nodes ) # Debug if self . settings [ "search_parameters" ] [ "debug_mode" ] . GetBool ( ) : # We compute the total integrated area, for debugging self . __get_integration_area ( ) else : # We deactivate the conditions and nodes KM . VariableUtils ( ) . SetFlag ( KM . ACTIVE , False , self . _get_process_model_part ( ) . Nodes ) KM . VariableUtils ( ) . SetFlag ( KM . ACTIVE , False , self . _get_process_model_part ( ) . Conditions )