parameters: (self, name, step, value)
return_statement: return True
docstring: status = exo.put_global_variable_value(gvar_name, \\
            time_step, \\
            gvar_val)
  
            -> store a global variable value for a specified global variable
              name and time step
  
            input value(s):
              <string>  gvar_name  name of global variable
              <int>     time_step  1-based index of time step
              <float>   gvar_val
  
            return value(s):
              <bool>  status  True = successful execution
docstring_summary: status = exo.put_global_variable_value(gvar_name, \\
            time_step, \\
            gvar_val)
docstring_tokens: status = exo . put_global_variable_value ( gvar_name \\ time_step \\ gvar_val )
function: def put_global_variable_value(self, name, step, value):
          """
          status = exo.put_global_variable_value(gvar_name, \\
            time_step, \\
            gvar_val)
  
            -> store a global variable value for a specified global variable
              name and time step
  
            input value(s):
              <string>  gvar_name  name of global variable
              <int>     time_step  1-based index of time step
              <float>   gvar_val
  
            return value(s):
              <bool>  status  True = successful execution
          """
          # we must write all values at once, not individually
          names = self.get_global_variable_names()
          # get all values
          numVals = self.get_global_variable_number()
          values = (c_double * numVals)()
          for i in xrange(numVals):
              values[i] = c_double(
                  self.get_global_variable_value(
                      names[i], step))
          # adjust one of them
          values[names.index(name)] = c_double(value)
          # write them all
          EXODUS_LIB.ex_put_glob_vars(self.fileId,
                                      c_int(step),
                                      c_int(numVals),
                                      values)
          return True
function_tokens: def put_global_variable_value ( self , name , step , value ) : # we must write all values at once, not individually names = self . get_global_variable_names ( ) # get all values numVals = self . get_global_variable_number ( ) values = ( c_double * numVals ) ( ) for i in xrange ( numVals ) : values [ i ] = c_double ( self . get_global_variable_value ( names [ i ] , step ) ) # adjust one of them values [ names . index ( name ) ] = c_double ( value ) # write them all EXODUS_LIB . ex_put_glob_vars ( self . fileId , c_int ( step ) , c_int ( numVals ) , values ) return True