parameters: (self)
return_statement: return output
docstring: Get a list of active blocks/boundary/nodesets. (private)
  
          Returns an empty list if all should be enabled.
docstring_summary: Get a list of active blocks/boundary/nodesets. (private)
docstring_tokens: Get a list of active blocks / boundary / nodesets . ( private )
function: def __getActiveBlocks(self):
          """
          Get a list of active blocks/boundary/nodesets. (private)
  
          Returns an empty list if all should be enabled.
          """
          blockinfo = self.getBlockInformation()
          output = []
          for param, object_type in zip(['block', 'boundary', 'nodeset'],
                                        [self.BLOCK, self.SIDESET, self.NODESET]):
              if self.isOptionValid(param):
                  blocks = self.getOption(param)
                  for data in blockinfo[object_type].values():
                      if data.name in blocks:
                          output.append(data)
          return output
function_tokens: def __getActiveBlocks ( self ) : blockinfo = self . getBlockInformation ( ) output = [ ] for param , object_type in zip ( [ 'block' , 'boundary' , 'nodeset' ] , [ self . BLOCK , self . SIDESET , self . NODESET ] ) : if self . isOptionValid ( param ) : blocks = self . getOption ( param ) for data in blockinfo [ object_type ] . values ( ) : if data . name in blocks : output . append ( data ) return output