Source code for viiapackage.results.results_a6a

### ===================================================================================================================
###   A6a Nonlinear static analysis result handling
### ===================================================================================================================
# Copyright ©VIIA 2024

### ===================================================================================================================
###   1. Import modules
### ===================================================================================================================

# General imports
from __future__ import annotations
from typing import TYPE_CHECKING, Optional
from pathlib import Path

# References for functions and classes in the viiaPackage
if TYPE_CHECKING:
    from viiapackage.viiaStatus import ViiaProject


### ===================================================================================================================
###   2. Function to handle results for A6a analysis
### ===================================================================================================================

[docs]def viia_results_a6a(project: ViiaProject, out_file: Path, runtime: Optional[float] = None): """ Combination of functions to be performed on output of A6 Non-linear static calculation. Includes: Determination of center of mass and runtime of the analysis. Input: - project (obj): Project object containing collections and of fem objects and project variables. - analysis_nr (str): Number of the VIIA analysis. For example 'A1'. - out_file (path): The DIANA out-file location and filename of the analysis requested as path. Alternative (str): The DIANA out-file location and filename of the analysis requested as string. - runtime (float): The time that the analysis ran, in [s]. This value is optional and only used to log and stored in database. Default value is None. Output: - Result items of A6a calculation are saved in project. """ raise NotImplementedError( "ERROR: The result function for A6 analysis is not implemented yet, if you require this functionality, " "please contact the auotmation team.")
### =================================================================================================================== ### 3. End of script ### ===================================================================================================================