Releases: MPh-py/MPh
Releases · MPh-py/MPh
1.3.1
1.3.0
- Published on October 30, 2025.
- Adds support for ARM versions of Comsol on macOS. (#80)
On newer Macs with Apple Silicon CPUs, we now look for the ARM versions of Comsol, unless Python is running through the Rosetta emulation layer. - Drops support for Python 3.6, 3.7, 3.8, 3.9. (#234)
These older Python versions have reached end of life and are poorly supported by modern development tools. - Adds type annotations to code base for an improved development experience. (#230)
Type annotations improve autocompletion results and enhance context-based suggestions in code editors and IDEs. - Makes client–server mode the default also on Windows. (#236)
This has always been the default on Linux and macOS. We now use client–server mode on Windows in order to connect to the Comsol compute back-end, instead of the stand-alone client we used to prefer for better start-up performance. This might solve some non-reproducible problems Windows users have reported. It is not expected to have detrimental effects on the overall user experience. - Prioritizes Comsol installation found on search path. (#232)
The Comsol installation associated with the Comsol executable found on the search path (thePATHenvironment variable) is now preferred over other Comsol installations of the same version. This is useful for the rare scenario when different single-user licenses are to be used on the same machine. - Replaces Comsol's deprecated
clearSolution()withclearSolutionData(). (#193)
For reasons unexplained, Comsol has introduced a new method to purge solution data from models. What it does differently is unclear. Therefore, this change may not be 100% backward-compatible, but it is not expected to be noticeable.
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
- Published on August 31, 2022.
- Includes Comsol installation found on
PATHin discovery. (#89)
So if thecomsolcommand works in the console, the corresponding installation will now be found automatically, even if not in a default location. - Adds support for material property groups, which now show up in model tree. (#78)
Material properties can be read and altered by callingproperty()on the node referring to its property group. - Adds method
problems()to theModelclass.
It does the same as callingNode.problems()on the model's root node, but provides for an easy way to check if there are currently errors or warnings reported anywhere in the model. - Adds "Uncertainty Quantification" to list of recognized
modules. - External links to Comsol documentation now refer to Comsol 6.0.