Config: Add default mage solver for new configuration.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-08-02 11:02:32 +02:00
1 parent e5f93e1c85
commit 4f0f2514de
1 file changed
+7
+7
View File
@@ -250,6 +250,13 @@ class Config(SQL):
# Solvers
self._solvers = []
posix = os.name == 'posix'
ctor = solver_type_list["mage8"]
new = ctor("default-mage")
new._description = "Default PAMHYR mage 8 version"
new._cmd_solver = f"""@install_dir/mage/mage{"" if posix else ".exe"} -fp=1 @input"""
self._solvers.append(new)
# Meshing tool
self.meshing_tool = ""