parameters: (self)
docstring: This method initializes some values and variables used during contact computations
  
          Keyword arguments:
          self -- It signifies an instance of a class.
docstring_summary: This method initializes some values and variables used during contact computations
docstring_tokens: This method initializes some values and variables used during contact computations
function: def _initialize_search_values(self):
          """ This method initializes some values and variables used during contact computations
  
          Keyword arguments:
          self -- It signifies an instance of a class.
          """
  
          # We call to the base process
          super()._initialize_search_values()
  
          # We set the CONTACT flag
          self.main_model_part.Set(KM.CONTACT, True)
          self._get_process_model_part().Set(KM.CONTACT, True)
          # We consider frictional contact (We use the SLIP flag because was the easiest way)
          if self.is_frictional:
              self.main_model_part.Set(KM.SLIP, True)
              self._get_process_model_part().Set(KM.SLIP, True)
          else:
              self.main_model_part.Set(KM.SLIP, False)
              self._get_process_model_part().Set(KM.SLIP, False)
  
          # We call the process info
          process_info = self.main_model_part.ProcessInfo
  
          # We set the value that scales in the tangent direction the penalty and scale parameter
          if self.is_frictional:
              process_info[KM.TANGENT_FACTOR] = self.contact_settings["tangent_factor"].GetDouble()
function_tokens: def _initialize_search_values ( self ) : # We call to the base process super ( ) . _initialize_search_values ( ) # We set the CONTACT flag self . main_model_part . Set ( KM . CONTACT , True ) self . _get_process_model_part ( ) . Set ( KM . CONTACT , True ) # We consider frictional contact (We use the SLIP flag because was the easiest way) if self . is_frictional : self . main_model_part . Set ( KM . SLIP , True ) self . _get_process_model_part ( ) . Set ( KM . SLIP , True ) else : self . main_model_part . Set ( KM . SLIP , False ) self . _get_process_model_part ( ) . Set ( KM . SLIP , False ) # We call the process info process_info = self . main_model_part . ProcessInfo # We set the value that scales in the tangent direction the penalty and scale parameter if self . is_frictional : process_info [ KM . TANGENT_FACTOR ] = self . contact_settings [ "tangent_factor" ] . GetDouble ( )