Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitri Naumov
ogs
Commits
b1bda1df
Commit
b1bda1df
authored
7 years ago
by
Karsten Rink
Committed by
Lars Bilke
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cli
parent
87d7312e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Applications/Utils/FileConverter/CMakeLists.txt
+38
-2
38 additions, 2 deletions
Applications/Utils/FileConverter/CMakeLists.txt
Applications/Utils/FileConverter/NetCdfConverter.cpp
+209
-159
209 additions, 159 deletions
Applications/Utils/FileConverter/NetCdfConverter.cpp
with
247 additions
and
161 deletions
Applications/Utils/FileConverter/CMakeLists.txt
+
38
−
2
View file @
b1bda1df
...
...
@@ -33,7 +33,43 @@ if(TARGET ConvertSHPToGLI)
target_link_libraries
(
ConvertSHPToGLI GeoLib Qt5::Xml
${
Shapelib_LIBRARIES
}
)
endif
()
if
(
TARGET Mesh2Shape
)
target_link_libraries
(
Mesh2Shape
${
Shapelib_LIBRARIES
}
)
add_executable
(
OGS2VTK OGS2VTK.cpp
)
set_target_properties
(
OGS2VTK PROPERTIES FOLDER Utilities
)
target_link_libraries
(
OGS2VTK MeshLib
)
ADD_VTK_DEPENDENCY
(
OGS2VTK
)
add_executable
(
VTK2OGS VTK2OGS.cpp
)
set_target_properties
(
VTK2OGS PROPERTIES FOLDER Utilities
)
target_link_libraries
(
VTK2OGS MeshLib
)
ADD_VTK_DEPENDENCY
(
VTK2OGS
)
add_executable
(
VTK2TIN VTK2TIN.cpp
)
set_target_properties
(
VTK2TIN PROPERTIES FOLDER Utilities
)
target_link_libraries
(
VTK2TIN MeshLib
)
ADD_VTK_DEPENDENCY
(
VTK2TIN
)
add_executable
(
TIN2VTK TIN2VTK.cpp
)
set_target_properties
(
TIN2VTK PROPERTIES FOLDER Utilities
)
target_link_libraries
(
TIN2VTK MeshLib
)
ADD_VTK_DEPENDENCY
(
TIN2VTK
)
add_executable
(
NetCdfConverter NetCdfConverter.cpp
)
set_target_properties
(
NetCdfConverter PROPERTIES FOLDER Utilities
)
target_link_libraries
(
NetCdfConverter MeshLib
)
ADD_VTK_DEPENDENCY
(
NetCdfConverter
)
####################
### Installation ###
####################
install
(
TARGETS generateMatPropsFromMatID GMSH2OGS OGS2VTK VTK2OGS VTK2TIN
RUNTIME DESTINATION bin COMPONENT ogs_converter
)
if
(
Qt5XmlPatterns_FOUND
)
if
(
Shapelib_FOUND
)
install
(
TARGETS ConvertSHPToGLI
RUNTIME DESTINATION bin COMPONENT ogs_converter
)
endif
()
install
(
TARGETS FEFLOW2OGS convertGEO
RUNTIME DESTINATION bin COMPONENT ogs_converter
)
endif
()
This diff is collapsed.
Click to expand it.
Applications/Utils/FileConverter/NetCdfConverter.cpp
+
209
−
159
View file @
b1bda1df
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment