parameters: (self, p)
return_statement: return True
docstring: put initialization information into exodus file
  
          >>> e.put_info_ext(self,info_struct)
docstring_summary: put initialization information into exodus file
docstring_tokens: put initialization information into exodus file
function: def put_info_ext(self, p):
          """
          put initialization information into exodus file
  
          >>> e.put_info_ext(self,info_struct)
          """
          if len(p.title) > MAX_LINE_LENGTH:
              print("WARNING: Exodus title \"{}\" exceeds maximum line length ({}). It will be truncated."
                    .format(p.title, MAX_LINE_LENGTH))
              p.title = p.title[-1*MAX_LINE_LENGTH:]
  
          self.Title = ctypes.create_string_buffer(p.title, MAX_LINE_LENGTH + 1)
          self.numDim = ctypes.c_longlong(p.num_dim)
          self.numNodes = ctypes.c_longlong(p.num_nodes)
          self.numElem = ctypes.c_longlong(p.num_elem)
          self.numElemBlk = ctypes.c_longlong(p.num_elem_blk)
          self.numNodeSets = ctypes.c_longlong(p.num_node_sets)
          self.numSideSets = ctypes.c_longlong(p.num_side_sets)
          self.numAssembly = ctypes.c_longlong(p.num_assembly)
  
          EXODUS_LIB.ex_put_init_ext(self.fileId, ctypes.byref(p))
          return True
function_tokens: def put_info_ext ( self , p ) : if len ( p . title ) > MAX_LINE_LENGTH : print ( "WARNING: Exodus title \"{}\" exceeds maximum line length ({}). It will be truncated." . format ( p . title , MAX_LINE_LENGTH ) ) p . title = p . title [ - 1 * MAX_LINE_LENGTH : ] self . Title = ctypes . create_string_buffer ( p . title , MAX_LINE_LENGTH + 1 ) self . numDim = ctypes . c_longlong ( p . num_dim ) self . numNodes = ctypes . c_longlong ( p . num_nodes ) self . numElem = ctypes . c_longlong ( p . num_elem ) self . numElemBlk = ctypes . c_longlong ( p . num_elem_blk ) self . numNodeSets = ctypes . c_longlong ( p . num_node_sets ) self . numSideSets = ctypes . c_longlong ( p . num_side_sets ) self . numAssembly = ctypes . c_longlong ( p . num_assembly ) EXODUS_LIB . ex_put_init_ext ( self . fileId , ctypes . byref ( p ) ) return True