parameters: (self, objType, name, index)
return_statement: return True
docstring: add the name and index of a new reduction variable to the model;
          variable indexing goes from 1 to exo.get_reductino_variable_number()
  
          >>> status = exo.put_reduction_variable_name('EX_ASSEMBLY', assemvar_name, assemvar_index)
  
          Parameters
          ----------
          objType : string
              object type
          var_name : string
              name of new variable
          nvar_index : int
              1-based index of new nodal variable
  
          Returns
          -------
          status : bool
              True = successful execution
  
          Note:
          ----
          this method is often called within the following sequence:
  
          >>> num_assem_vars = exo.get_reduction_variable_number('EX_ASSEMBLY')
          >>> new_assem_var_index = num_assem_vars + 1
          >>> num_assem_vars += 1
          >>> exo.set_reduction_variable_number('EX_ASSEMBLY', num_assem_vars)
          >>> exo.put_reduction_variable_name('EX_ASSEMBLY', "new_assem_var_name", new_assem_var_index)
docstring_summary: add the name and index of a new reduction variable to the model;
          variable indexing goes from 1 to exo.get_reductino_variable_number()
docstring_tokens: add the name and index of a new reduction variable to the model ; variable indexing goes from 1 to exo . get_reductino_variable_number ()
function: def put_reduction_variable_name(self, objType, name, index):
          """
          add the name and index of a new reduction variable to the model;
          variable indexing goes from 1 to exo.get_reductino_variable_number()
  
          >>> status = exo.put_reduction_variable_name('EX_ASSEMBLY', assemvar_name, assemvar_index)
  
          Parameters
          ----------
          objType : string
              object type
          var_name : string
              name of new variable
          nvar_index : int
              1-based index of new nodal variable
  
          Returns
          -------
          status : bool
              True = successful execution
  
          Note:
          ----
          this method is often called within the following sequence:
  
          >>> num_assem_vars = exo.get_reduction_variable_number('EX_ASSEMBLY')
          >>> new_assem_var_index = num_assem_vars + 1
          >>> num_assem_vars += 1
          >>> exo.set_reduction_variable_number('EX_ASSEMBLY', num_assem_vars)
          >>> exo.put_reduction_variable_name('EX_ASSEMBLY', "new_assem_var_name", new_assem_var_index)
          """
          varNames = self.get_reduction_variable_names(objType)
          if name in varNames:
              print("WARNING: variable \"{}\" already exists.".format(name))
          if index > len(varNames):
              raise Exception("ERROR: variable index out of range.")
          self.__ex_put_reduction_variable_name(objType, index, name)
          return True
function_tokens: def put_reduction_variable_name ( self , objType , name , index ) : varNames = self . get_reduction_variable_names ( objType ) if name in varNames : print ( "WARNING: variable \"{}\" already exists." . format ( name ) ) if index > len ( varNames ) : raise Exception ( "ERROR: variable index out of range." ) self . __ex_put_reduction_variable_name ( objType , index , name ) return True