FEM: elmer solver prefs, use elmer path for elmer grid prefs

This commit is contained in:
Bernd Hahnebach
2019-03-06 08:11:31 +01:00
committed by wmayer
parent b8cc6ec14b
commit 1a99804521
2 changed files with 4 additions and 5 deletions

View File

@@ -78,7 +78,7 @@
<cstring>gridBinaryPath</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Fem/Grid</cstring>
<cstring>Mod/Fem/Elmer</cstring>
</property>
</widget>
</item>
@@ -133,7 +133,7 @@
<cstring>UseStandardGridLocation</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Fem/Grid</cstring>
<cstring>Mod/Fem/Elmer</cstring>
</property>
</widget>
</item>

View File

@@ -37,9 +37,8 @@ CUSTOM = "custom"
_PARAM_PATH = "User parameter:BaseApp/Preferences/Mod/Fem/"
_GENERAL_PARAM = _PARAM_PATH + "General"
_ELMER_PARAM = _PARAM_PATH + "Elmer"
_GRID_PARAM = _PARAM_PATH + "Grid"
_CCX_PARAM = _PARAM_PATH + "Ccx"
_ELMER_PARAM = _PARAM_PATH + "Elmer"
_Z88_PARAM = _PARAM_PATH + "Z88"
@@ -72,7 +71,7 @@ _BINARIES = {
customPath="elmerBinaryPath"),
"ElmerGrid": _BinaryDlg(
default="ElmerGrid",
param=_GRID_PARAM,
param=_ELMER_PARAM,
useDefault="UseStandardGridLocation",
customPath="gridBinaryPath"),
"Z88": _BinaryDlg(