VIKTOR's D-Geo Stability integration requires a specific D-Geo Stability worker which can be downloaded here.
Analyzing a D-Geo Stability model in VIKTOR can be done using the
DGeoStabilityAnalysis class (worker required).
No binding is provided by VIKTOR for this module, which means that the input file has to be generated manually:
from viktor.external.dgeostability import DGeoStabilityAnalysis# Generate the input STI file.input_file = ...# Run the analysis and obtain the output file.analysis = DGeoStabilityAnalysis(input_file)analysis.execute(timeout=10)output_file = analysis.get_output_file()
DGeoStabilityAnalysis.execute needs to be mocked
within the context of (automated) testing.