parameters: (self, idx)
return_statement: return array
docstring: Given a name, returns a VTKCompositeArray.
docstring_summary: Given a name, returns a VTKCompositeArray.
docstring_tokens: Given a name returns a VTKCompositeArray .
function: def GetArray(self, idx):
          """Given a name, returns a VTKCompositeArray."""
          arrayname = idx
          if arrayname not in self.ArrayNames:
              return NoneArray
          if arrayname not in self.Arrays or self.Arrays[arrayname]() is None:
              array = VTKCompositeDataArray(
                  dataset = self.DataSet, name = arrayname, association = self.Association)
              self.Arrays[arrayname] = weakref.ref(array)
          else:
              array = self.Arrays[arrayname]()
          return array
function_tokens: def GetArray ( self , idx ) : arrayname = idx if arrayname not in self . ArrayNames : return NoneArray if arrayname not in self . Arrays or self . Arrays [ arrayname ] ( ) is None : array = VTKCompositeDataArray ( dataset = self . DataSet , name = arrayname , association = self . Association ) self . Arrays [ arrayname ] = weakref . ref ( array ) else : array = self . Arrays [ arrayname ] ( ) return array