
# This code creates the ICEM CFD Manager.
#
# Copyright (c) 1993 - 1996 Pacific Marketing and Consulting, Inc,
#       and ICEM Systems, GmbH.  All rights reserved.
# Author:  Wayne A. Christopher, wayne@icemcfd.com

proc help_info_define {} {
  global help_info env

#help for the manager

#configuration 	in FLUENT & POWERMESH
#file		in HIGH
if {[info exists env(ICEM_FLUENT)] || [info exists env(ICEM_POWERMESH)]} {
  set help_info(.menu.file) "manager/Manager_Configuration_Menu"
  set help_info(.select_one) "manager/Manager_Open_Configuration"
  set help_info(.select_one.message) "manager/Manager_Open_Configuration"
  set help_info(.select_one.entry) "manager/Manager_Open_Configuration"
  set help_info(.select_one.list) "manager/Manager_Open_Configuration"
  set help_info(.select_one.scroll) "manager/Manager_Open_Configuration"
  set help_info(.select_one.buttons) "manager/Manager_Open_Configuration"
  set help_info(.select_one.buttons.help) "manager/Manager_Open_Configuration"
  set help_info(.select_one.buttons.ok) "manager/Manager_Open_Configuration"
  set help_info(.select_one.buttons.cancel) "manager/Manager_Open_Configuration"
  set help_info(OpenConfiguration) "manager/Manager_Open_Configuration"
  set help_info(NewConfiguration) "manager/Manager_New_Configuration"
  set help_info(CopyConfiguration) "manager/Manager_Copy_Configuration"
  set help_info(RenameConfiguration) "manager/Manager_Rename_Configuration"
  set help_info(DeleteConfiguration) "manager/Manager_Delete_Configuration"
  set help_info(ChangeDirectory) "manager/Manager_Change_Directory"
  set help_info(CopyDirectory) "manager/Manager_Copy_Directory"
  set help_info(.menu.file.m.10) "manager/Manager_Quit"
} else {
  set help_info(.menu.file) "manager/Manager_File_Menu"
  set help_info(.select_one) "manager/Manager_Open_Project"
  set help_info(.select_one.message) "manager/Manager_Open_Project"
  set help_info(.select_one.entry) "manager/Manager_Open_Project"
  set help_info(.select_one.list) "manager/Manager_Open_Project"
  set help_info(.select_one.scroll) "manager/Manager_Open_Project"
  set help_info(.select_one.buttons) "manager/Manager_Open_Project"
  set help_info(.select_one.buttons.help) "manager/Manager_Open_Project"
  set help_info(.select_one.buttons.ok) "manager/Manager_Open_Project"
  set help_info(.select_one.buttons.cancel) "manager/Manager_Open_Project"
  set help_info(OpenProject) "manager/Manager_Open_Project"
  set help_info(NewProject) "manager/Manager_New_Project"
  set help_info(CopyProject) "manager/Manager_Copy_Project"
  set help_info(RenameProject) "manager/Manager_Rename_Project"
  set help_info(DeleteProject) "manager/Manager_Delete_Project"
  set help_info(OpenSubproject) "manager/Manager_Open_Subproject"
  set help_info(CopySubproject) "manager/Manager_Copy_Subproject"
  set help_info(RenameSubproject) "manager/Manager_Rename_Subproject"
  set help_info(DeleteSubproject) "manager/Manager_Delete_Subproject"
  set help_info(CopyObjectGeometry) "manager/Manager_Copy_Object_Geometry"
  set help_info(ArchiveProject) "manager/Manager_Archive_Project"
  set help_info(Un-archiveProject) "manager/Manager_Un-archive_Project"
  set help_info(ChangeDirectory) "manager/Manager_Change_Directory"
  set help_info(CopyDirectory) "manager/Manager_Copy_Directory"
  set help_info(.menu.file.m.10) "manager/Manager_Quit"
}
#only FLUENT
if {[info exists env(ICEM_FLUENT)]} {
  set help_info(Archive...) "manager/Manager_Archive.."
  set help_info(ArchiveMultiple...) "manager/Manager_Archive_Multiple.."
  set help_info(Unarchive...) "manager/Manager_Unarchive.."
  set help_info(RefreshPartsLists) "manager/Manager_Refresh_Parts_Lists"
}
#end configuration/file

#utility
  set help_info(.menu.util) "manager/Manager_Utility_Menu"
  set help_info(GeoMeshModals) "manager/Manager_Modals"
  set help_info(ICEMCFD/CAEModals) "manager/Manager_Modals"
  set help_info(ICEMCFDPowermeshModals) "manager/Manager_Modals"
  set help_info(ChangeProgramPathnames) "manager/Manager_Change_Program_Pathnames"
  set help_info(ChangeICEM_ACN) "manager/Manager_Change_ICEM_ACN"
  set help_info(UNIXShell) "manager/Manager_UNIX_Shell"
  set help_info(TransferShell) "manager/Manager_Transfer_Shell"
  set help_info(MeshDirShell) "manager/Manager_Mesh_Dir_Shell"
  set help_info(DeleteDomains) "manager/Manager_Delete_Domains"
  set help_info(TextEditor) "manager/Manager_Text_Editor"
  set help_info(CleanupPadammScratchFiles) "manager/Manager_Cleanup_Padamm_Scratch_Files"
  set help_info(GplotPostScriptOutput) "manager/Manager_Gplot_PostScript_Output"
  set help_info(ExecuteTclCommand) "manager/Manager_Execute_Tcl_Command"
  set help_info(CheckLicenseFile) "manager/Manager_Check_License_File"
  set help_info(CheckSystemInfo) "manager/Manager_Check_System_Info"
  set help_info(StartLicenseServer) "manager/Manager_Start_License_Server"
  set help_info(ClearFileLocking) "manager/Manager_Clear_File_Locking"
  set help_info(PlayGame) "manager/Manager_Play_Game"
  set help_info(SetP-CubeTolerance) "manager/Manager_Set_P-Cube_Tolerance"
  set help_info(ToggleDebugMode) "manager/Manager_Toggle_Debug_Mode"
  set help_info(DeleteP-CubeUndoFiles) "manager/Manager_Delete_P-Cube_Undo_Files"
  set help_info(DeleteUndoFiles) "manager/Manager_Delete_Undo_Files"
#end utility

#application
  set help_info(.menu.app) "manager/Manager_Applications_Menu"
  set help_info(Unput) "manager/Manager_Unput"
  set help_info(ICEMInput) "manager/Manager_ICEM_Input"
  set help_info(DDN) "manager/Manager_DDN"
  set help_info(AutoHex) "manager/Manager_AutoHex"
  set help_info(P-Cube) "manager/Manager_P-Cube"
  set help_info(MULCAD) "manager/Manager_MULCAD"
  set help_info(PADAMM) "manager/Manager_PADAMM"
  set help_info(DDNMesherInterface) "manager/Manager_DDN_Mesher_Interface"
  set help_info(HexMesher) "manager/Manager_Hex_Mesher"
  set help_info(TetraMesher(GUI)) "manager/Manager_Tetra_Mesher_(GUI)"
  set help_info(GlobalMesher) "manager/Manager_Global_Mesher"
  set help_info(QuadMesher) "manager/Manager_Quad_Mesher"
  set help_info(TriangletoQuadMesher) "manager/Manager_Triangle_to_Quad_Mesher"
  set help_info(PrismMesher) "manager/Manager_Prism_Mesher" 
  set help_info(Leo) "manager/Manager_Leo"
  set help_info(ICEMVisual3) "manager/Manager_ICEM_Visual3"
  set help_info(ICEMFrontal) "manager/Manager_Frontal"
  set help_info(DDN(ICEM)) "manager/Manager_DDN"
  set help_info(Fluent/V4) "manager/Manager_Fluent_solvers"
  set help_info(Fluent/UNS) "manager/Manager_Fluent_solvers"
  set help_info(Rampant) "manager/Manager_Fluent_solvers"
  set help_info(TGrid) "manager/Manager_Fluent_solvers"
  set help_info(Nekton) "manager/Manager_Fluent_solvers"
#end application

#translation
  set help_info(.menu.trans) "manager/Manager_Translation_Menu"
  set help_info(DDN->IGES) "manager/Manager_DDN_-_gt__IGES"
  set help_info(IGES->DDN) "manager/Manager_IGES_-_gt__DDN"
  set help_info(DDN->TVDA) "manager/Manager_DDN_-_gt__TVDA"
  set help_info(TVDA->DDN) "manager/Manager_TVDA_-_gt__DDN"
  set help_info(DDN->SET) "manager/Manager_DDN_-_gt__SET"
  set help_info(SET->DDN) "manager/Manager_SET_-_gt__DDN"
  set help_info(DDN->DXF) "manager/Manager_DDN_-_gt__DXF"
  set help_info(DXF->DDN) "manager/Manager_DXF_-_gt__DDN"
  set help_info(Plot3d->Domain) "manager/Manager_Plot3d_-_gt__Domain"
  set help_info(Patran->Domain) "manager/Manager_Patran_-_gt__Domain"
  set help_info(STL->Domain) "manager/Manager_STL_-_gt__Domain"
  set help_info(Nastran->Domain) "manager/Manager_Nastran_-_gt__Domain"
  set help_info(Rampant->Domain) "manager/Manager_Rampant_-_gt__Domain"
  set help_info(PreBFC->DDN) "manager/Manager_PreBFC_-_gt__DDN"
#end translation

#transfer in FLUENT & POWERMESH
#output   in HIGH
if {[info exists env(ICEM_FLUENT)] || [info exists env(ICEM_POWERMESH)]} {
  set help_info(.menu.output) "manager/Manager_Transfer_Menu"
} else {
  set help_info(.menu.output) "manager/Manager_Output_Menu"
}
  set help_info(SelectTranslator) "manager/Manager_Select_Translator"
  set help_info(SelectSolver) "manager/Manager_Select_Solver"
  set help_info(WriteInput) "manager/Manager_Write_Input"
  set help_info(RunSmoother) "manager/Manager_Run_Smoother"
  set help_info(Global->Unstructured) "manager/Manager_Global_-_gt__Unstructured"
  set help_info(Fluent/V4Input) "manager/Manager_Fluent_V4_Input"
  set help_info(Fluent/UNSInput) "manager/Manager_Fluent_UNS_Input"
  set help_info(RampantInput) "manager/Manager_Rampant_Input"
  set help_info(TGridInput) "manager/Manager_TGrid_Input"
  set help_info(NektonInput) "manager/Manager_Nekton_Input"
  set help_info(PolyflowInput) "manager/Manager_Polyflow_Input"
  set help_info(Structured->Unstructured) "manager/Manager_Structured_-_gt__Unstructured"
  set help_info(Structured->Super) "manager/Manager_Structured_-_gt__Super"
  set help_info(MergeUnstructDomains) "manager/Manager_Merge_Unstruct_Domains"
  set help_info(Linear->Quadratic) "manager/Manager_Linear_-_gt__Quadratic"
#end transfer

#help
  set help_info(HelpBrowser) "manager/Manager_Help_Menu"
if {[info exists env(ICEM_FLUENT)] || [info exists env(ICEM_POWERMESH)]} {
  set help_info(DynatextHelp) "manager/Manager_Help_Menu"
}
#end help

#various
  set help_info(.) "manager/Manager_The_Session_Manager"
  set help_info(.diag.text) "manager/Manager_The_Session_Manager"
  set help_info(.parts.g.list) "manager/Manager_Parts_Selection_Windows"
  set help_info(.parts.l.list) "manager/Manager_Parts_Selection_Windows"
  set help_info(.parts.b.copy) "manager/Manager_Copy_Part"
  set help_info(.parts.b.move) "manager/Manager_Move_Part"
  set help_info(.parts.b.rm) "manager/Manager_Delete_Part"
  set help_info(.parts.b.new) "manager/Manager_Unselect_Current_Part"
  set help_info(.parts.b.plot) "manager/Manager_Plot_Part"
  set help_info(.query.query) "manager/Manager_The_Session_Manager"
  set help_info(.labels.l.vals.part) "manager/Manager_Part"
  set help_info(.labels.l.names.part) "manager/Manager_Part"
  set help_info(.labels.l.names.sheet) "manager/Manager_Part"
  set help_info(.labels.l.vals.sheet) "manager/Manager_Part"

  set help_info(.menu.cdlogo) "base"
  set help_info(.menu.help) "helpsystem/helpsystem" 

if {[info exists env(ICEM_FLUENT)] || [info exists env(ICEM_POWERMESH)]} { 
  set help_info(.labels.l.vals.geo) "manager/Manager_Geometry"
  set help_info(.labels.l.names.geo) "manager/Manager_Geometry"
  set help_info(.labels.l.vals.conf) "manager/Manager_Configuration"
  set help_info(.labels.l.names.conf) "manager/Manager_Configuration"
  set help_info(.labels.r.vals) "manager/Manager_Configuration"
} else {
  set help_info(.labels.l.vals.geo) "manager/Manager_Subproject"
  set help_info(.labels.l.names.geo) "manager/Manager_Subproject"
  set help_info(.labels.l.vals.conf) "manager/Manager_File"
  set help_info(.labels.l.names.conf) "manager/Manager_File"
  set help_info(.labels.r.vals) "manager/Manager_File" 
}
#end various

#end help for manager

#others
  if {![info exists env(ICEM_FLUENT)] && ![info exists env(ICEM_POWERMESH)]} {
  set help_info(.v.menu.custom) " leo/Leo_Customization"
}
  set help_info(.v.panel) " leo/Leo_Information_Panel"
  set help_info(.v) "leo/Leo"
  set help_info(.v.menu.cdlogo) "base"
  set help_info(.v.menu.help) "helpsystem/helpsystem"   


  set help_info(.menu.file.m.10) "manager/Manager_Quit"
}
