Coverage for steam_pysigma\data\DataSettings.py: 100%
5 statements
« prev ^ index » next coverage.py v7.4.3, created at 2024-12-16 17:09 +0100
« prev ^ index » next coverage.py v7.4.3, created at 2024-12-16 17:09 +0100
1# STEAM PySigma is a python wrapper of STEAM-SIGMA written in Java.
2# Copyright (C) 2023, CERN, Switzerland. All rights reserved.
3#
4# This program is free software: you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation, version 3 of the License.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <https://www.gnu.org/licenses/>.
16from pydantic import BaseModel
18class DataSettings(BaseModel):
19 """
20 Dataclass of settings for STEAM analyses
21 This will be populated either form a local settings file (if flag_permanent_settings=False)
22 or from the keys in the input analysis file (if flag_permanent_settings=True)
23 """
24 comsolexe_path: str = None # full path to comsol.exe, only COMSOL53a is supported
25 JAVA_jdk_path: str = None # full path to folder with java jdk
26 CFunLibPath: str = None # full path to dll files with material properties