File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ proc Kratos::InitGlobalVariables {dir} {
183183 # Is using files modules
184184 set kratos_private(UseFiles) 0
185185 # Variables from the problemtype definition (kratos.xml)
186- array set kratos_private [ReadProblemtypeXml [file join $kratos_private(Path) kratos.xml] Infoproblemtype {Name Version CheckMinimumGiDVersion }]
186+ array set kratos_private [ReadProblemtypeXml [file join $kratos_private(Path) kratos.xml] Infoproblemtype {Name Version MinimumGiDVersion MaximumGiDVersion }]
187187
188188 variable namespaces
189189 set namespaces [list ]
Original file line number Diff line number Diff line change 55 <Name >Kratos</Name >
66 <Version >9.4.3</Version >
77 <ExecutableVersion ></ExecutableVersion >
8- <CheckMinimumGiDVersion >16.1.4d</CheckMinimumGiDVersion >
8+ <MinimumGiDVersion >16.1.4d</MinimumGiDVersion >
9+ <MaximumGiDVersion >16.1.10d</MaximumGiDVersion >
910 <CustomLibAutomatic >0</CustomLibAutomatic >
1011 <CustomLibNativeGroups >1</CustomLibNativeGroups >
1112 <ImageFileBrowser >images/ImageFileBrowser.gif</ImageFileBrowser >
Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ proc Kratos::CheckProjectIsNew {filespd} {
8585proc Kratos::WarnAboutMinimumRecommendedGiDVersion { } {
8686 variable kratos_private
8787
88- if { [GidUtils::VersionCmp $kratos_private(CheckMinimumGiDVersion ) ] < 0 } {
89- W " Warning: kratos interface requires GiD $kratos_private(CheckMinimumGiDVersion ) or later."
88+ if { [GidUtils::VersionCmp $kratos_private(MinimumGiDVersion ) ] < 0 } {
89+ W " Warning: kratos interface requires GiD $kratos_private(MinimumGiDVersion ) or later."
9090 if { [GidUtils::VersionCmp 14.0.0] < 0 } {
9191 W " If you are still using a GiD version 13.1.7d or later, you can still use most of the features, but think about upgrading to GiD 14."
9292 } {
You can’t perform that action at this time.
0 commit comments