parameters: (self, parameter_name, initialization_order)
return_statement: return list_of_processes
docstring: Create a list of Processes
          This method is TEMPORARY to not break existing code
          It will be removed in the future
docstring_summary: Create a list of Processes
          This method is TEMPORARY to not break existing code
          It will be removed in the future
docstring_tokens: Create a list of Processes This method is TEMPORARY to not break existing code It will be removed in the future
function: def _CreateProcesses(self, parameter_name, initialization_order):
          """Create a list of Processes
          This method is TEMPORARY to not break existing code
          It will be removed in the future
          """
          list_of_processes = super(AdjointFluidAnalysis, self)._CreateProcesses(parameter_name, initialization_order)
  
          # The list of processes will contain a list with each individual process already constructed (boundary conditions, initial conditions and gravity)
          # Note 1: gravity is constructed first. Outlet process might need its information.
          # Note 2: initial conditions are constructed before BCs. Otherwise, they may overwrite the BCs information.
          if parameter_name == "processes":
              processes_block_names = ["gravity", "initial_conditions_process_list", "boundary_conditions_process_list", "auxiliar_process_list"]
              if len(list_of_processes) == 0: # Processes are given in the old format
                  Kratos.Logger.PrintWarning(self.__class__.__name__, "Using the old way to create the processes, this will be removed!")
                  factory = KratosProcessFactory(self.model)
                  for process_name in processes_block_names:
                      if (self.project_parameters.Has(process_name) is True):
                          list_of_processes += factory.ConstructListOfProcesses(self.project_parameters[process_name])
              else: # Processes are given in the new format
                  for process_name in processes_block_names:
                      if (self.project_parameters.Has(process_name) is True):
                          raise Exception("Mixing of process initialization is not alowed!")
          elif parameter_name == "output_processes":
              if self.project_parameters.Has("output_configuration"):
                  Kratos.Logger.PrintWarning(self.__class__.__name__, "Using the old way to create the gid-output, this will be removed!")
                  gid_output= self._SetUpGiDOutput()
                  list_of_processes += [gid_output,]
          else:
              raise NameError("wrong parameter name")
  
          return list_of_processes
function_tokens: def _CreateProcesses ( self , parameter_name , initialization_order ) : list_of_processes = super ( AdjointFluidAnalysis , self ) . _CreateProcesses ( parameter_name , initialization_order ) # The list of processes will contain a list with each individual process already constructed (boundary conditions, initial conditions and gravity) # Note 1: gravity is constructed first. Outlet process might need its information. # Note 2: initial conditions are constructed before BCs. Otherwise, they may overwrite the BCs information. if parameter_name == "processes" : processes_block_names = [ "gravity" , "initial_conditions_process_list" , "boundary_conditions_process_list" , "auxiliar_process_list" ] if len ( list_of_processes ) == 0 : # Processes are given in the old format Kratos . Logger . PrintWarning ( self . __class__ . __name__ , "Using the old way to create the processes, this will be removed!" ) factory = KratosProcessFactory ( self . model ) for process_name in processes_block_names : if ( self . project_parameters . Has ( process_name ) is True ) : list_of_processes += factory . ConstructListOfProcesses ( self . project_parameters [ process_name ] ) else : # Processes are given in the new format for process_name in processes_block_names : if ( self . project_parameters . Has ( process_name ) is True ) : raise Exception ( "Mixing of process initialization is not alowed!" ) elif parameter_name == "output_processes" : if self . project_parameters . Has ( "output_configuration" ) : Kratos . Logger . PrintWarning ( self . __class__ . __name__ , "Using the old way to create the gid-output, this will be removed!" ) gid_output = self . _SetUpGiDOutput ( ) list_of_processes += [ gid_output , ] else : raise NameError ( "wrong parameter name" ) return list_of_processes