parameters: (self)
docstring: Initialize output meshes.
docstring_summary: Initialize output meshes.
docstring_tokens: Initialize output meshes .
function: def ExecuteBeforeSolutionLoop(self):
          '''Initialize output meshes.'''
  
          if self.multifile_flag == MultiFileFlag.SingleFile:
              mesh_name = 0.0
              self.__write_mesh(mesh_name)
              self.__initialize_results(mesh_name)
  
              if self.post_mode == GiDPostMode.GiD_PostBinary:
                  self.__write_step_to_list()
              else:
                  self.__write_step_to_list(0)
  
          if self.multifile_flag == MultiFileFlag.MultipleFiles:
              label = 0.0
              self.__write_mesh(label)
              self.__initialize_results(label)
              self.__write_nodal_results(label)
              self.__write_nonhistorical_nodal_results(label)
              self.__write_nodal_flags(label)
              self.__write_elemental_conditional_flags(label)
              self.__finalize_results()
  
          if self.point_output_process is not None:
              self.point_output_process.ExecuteBeforeSolutionLoop()
function_tokens: def ExecuteBeforeSolutionLoop ( self ) : if self . multifile_flag == MultiFileFlag . SingleFile : mesh_name = 0.0 self . __write_mesh ( mesh_name ) self . __initialize_results ( mesh_name ) if self . post_mode == GiDPostMode . GiD_PostBinary : self . __write_step_to_list ( ) else : self . __write_step_to_list ( 0 ) if self . multifile_flag == MultiFileFlag . MultipleFiles : label = 0.0 self . __write_mesh ( label ) self . __initialize_results ( label ) self . __write_nodal_results ( label ) self . __write_nonhistorical_nodal_results ( label ) self . __write_nodal_flags ( label ) self . __write_elemental_conditional_flags ( label ) self . __finalize_results ( ) if self . point_output_process is not None : self . point_output_process . ExecuteBeforeSolutionLoop ( )