Skip to content

Commit

Permalink
Fix Launchers
Browse files Browse the repository at this point in the history
  • Loading branch information
jginternational committed Mar 21, 2023
1 parent 4720771 commit 09535e0
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 9 deletions.
2 changes: 1 addition & 1 deletion kratos.gid/apps/DEMLauncher/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],
"start_script":"::DemLauncher::Init",
"requeriments":{
"display_apps":["DEM", "DEMPFEM", "FluidDEM", "CDEM"],
"display_apps":["DEM", "CDEM"],
"minimum_gid_version":"15.1.3d"
},
"permissions": {
Expand Down
2 changes: 1 addition & 1 deletion kratos.gid/apps/FluidLauncher/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],
"start_script":"::FluidLauncher::Init",
"requeriments":{
"display_apps":["Fluid","EmbeddedFluid", "PotentialFluid", "Buoyancy", "ConjugateHeatTransfer", "FluidDEM"],
"display_apps":["Fluid","EmbeddedFluid", "PotentialFluid", "Buoyancy", "ConjugateHeatTransfer"],
"minimum_gid_version":"15.1.3d"
},
"permissions": {
Expand Down
7 changes: 0 additions & 7 deletions kratos.gid/kratos_default.spd
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,18 @@
<appLink n="Structural" public="1" pn="Structural" active="0" appid="Structural" prefix="ST"/>
<appLink n="FluidLauncher" public="1" pn="Fluid" active="0" appid="FluidLauncher" prefix="FLL"/>
<appLink n="Fluid" public="0" pn="Fluid" active="0" appid="Fluid" prefix="FL"/>
<appLink n="FreeSurface" public="0" pn="FreeSurface" active="0" appid="FreeSurface" prefix="FS"/>
<appLink n="EmbeddedFluid" public="0" pn="Embedded fluid" active="0" appid="EmbeddedFluid" prefix="EMBFL"/>
<appLink n="PotentialFluid" public="0" pn="Potential fluid" active="0" appid="PotentialFluid" prefix="PTFL"/>
<appLink n="Buoyancy" public="0" pn="Buoyancy" active="0" appid="Buoyancy" prefix="Buoyancy_"/>
<appLink n="ConjugateHeatTransfer" public="0" pn="Conjugate heat transfer" active="0" appid="ConjugateHeatTransfer" prefix="CHT"/>
<appLink n="FSI" public="1" pn="FSI" active="0" appid="FSI" prefix="FSI"/>
<appLink n="Dam" public="1" pn="Dam" active="0" appid="Dam" prefix="Dam"/>
<appLink n="PfemLauncher" public="1" pn="Pfem" active="0" appid="PfemLauncher" prefix="PFEMLauncher_"/>
<appLink n="PfemFluid" public="0" pn="Pfem Fluid" active="0" appid="PfemFluid" prefix="PFEMFLUID_"/>
<appLink n="PfemThermic" public="0" pn="Pfem Thermic" active="0" appid="PfemThermic" prefix="PFEMTHERMIC_"/>
<appLink n="StenosisWizard" public="1" pn="Stenosis Wizard" active="0" appid="StenosisWizard" prefix="StenosisWizard" is_tool="1"/>
<appLink n="Stent" public="1" pn="Stent" active="0" appid="Stent" prefix="Stent" is_tool="1"/>
<appLink n="DEMLauncher" public="1" pn="DEM" active="0" appid="DEMLauncher" prefix="DEMLauncher"/>
<appLink n="DEM" public="0" pn="DEM" active="0" appid="DEM" prefix="DEM"/>
<appLink n="FluidDEM" public="0" pn="Fluid-DEM" active="0" appid="FluidDEM" prefix="FluidDEM"/>
<appLink n="MPM" public="1" pn="MPM" active="0" appid="MPM" prefix="MPM"/>
<appLink n="DEMPFEM" public="0" pn="DEM+PFEM" active="0" appid="DEMPFEM" prefix="DEMPFEM"/>
<appLink n="CDEM" public="0" pn="Cohesive DEM" active="0" appid="CDEM" prefix="CDEM"/>
<appLink n="ShallowWater" public="1" pn="Shallow water" active="0" appid="ShallowWater" prefix="SW"/>
<appLink n="MdpaGenerator" public="1" pn="Mdpa Generator" active="0" appid="MdpaGenerator" prefix="MDPAGen_" is_tool="1"/>
<appLink n="Examples" public="1" pn="Examples" active="0" appid="Examples" prefix="EXA_" is_tool="1"/>
<blockdata n="units" pn="Units" icon="units" open_window="0">
Expand Down
28 changes: 28 additions & 0 deletions kratos.gid/scripts/Controllers/Preferences.macos.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<group name='kratos_preferences' label='Kratos'>
<labelframe name='main_options' label='General options'>
<combobox name='DevMode' variable='DevMode' variablemanager='Kratos::ManagePreferences' label='Mode' help='Show/Hide some experimental features'>
<option value='dev' label='Developer'/>
<option value='release' label='Release'/>
</combobox>
<combobox name='mdpa_format' variable='mdpa_format' variablemanager='Kratos::ManagePreferences' label='MDPA Optimization' help=''>
<option value='0' label='Optimized'/>
<option value='1' label='Readable'/>
</combobox>
<combobox name='allow_logs' variable='allow_logs' variablemanager='Kratos::ManagePreferences' label='Store logs' help=''>
<option value='0' label='No'/>
<option value='1' label='Only local, so I will get better support from the developers.'/>
<option value='2' label='Share anonymous usage data. (See kratos > View current log) Coming soon :)'/>
</combobox>
<combobox name='echo_level' variable='echo_level' variablemanager='Kratos::ManagePreferences' label='Echo level' help='Show more/less message'>
<option value='0' label='0'/>
<option value='1' label='1'/>
<option value='2' label='2'/>
</combobox>
<entrywithbutton name="debug_folder" label="Debug path" variable="debug_folder" buttonimage="folder.png" variablemanager='Kratos::ManagePreferences' buttonfunction="OpenBrowserForDirectoryDebug" help='Path to the kratos debug folder. This is placed in the launch.json file for debugging' />
<comboboxframe name="launch_configuration" label="Launch configuration" variable="launch_configuration" variablemanager='Kratos::ManagePreferences' help='' >
<option value='Docker' label='Docker' setactivate="docker_image" />
<entry name="docker_image" variable="docker_image" label="Docker image" variablemanager='Kratos::ManagePreferences' help='Name of the Kratos Docker image'/>
</comboboxframe>
</labelframe>
</group>

0 comments on commit 09535e0

Please sign in to comment.