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
Chaofan Chen
ogs
Commits
233846b5
Commit
233846b5
authored
3 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[T] XdmfDiff; Correct copyright/version message.
parent
5d0c291d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Tests/xdmfdiff/CMakeLists.txt
+1
-1
1 addition, 1 deletion
Tests/xdmfdiff/CMakeLists.txt
Tests/xdmfdiff/xdmfdiff.cpp
+11
-11
11 additions, 11 deletions
Tests/xdmfdiff/xdmfdiff.cpp
with
12 additions
and
12 deletions
Tests/xdmfdiff/CMakeLists.txt
+
1
−
1
View file @
233846b5
add_executable
(
xdmfdiff xdmfdiff.cpp
)
add_executable
(
xdmfdiff xdmfdiff.cpp
)
target_link_libraries
(
xdmfdiff OgsXdmf std::filesystem tclap
)
target_link_libraries
(
xdmfdiff OgsXdmf
GitInfoLib
std::filesystem tclap
)
install
(
PROGRAMS $<TARGET_FILE:xdmfdiff> DESTINATION bin
)
install
(
PROGRAMS $<TARGET_FILE:xdmfdiff> DESTINATION bin
)
This diff is collapsed.
Click to expand it.
Tests/xdmfdiff/xdmfdiff.cpp
+
11
−
11
View file @
233846b5
/**
/**
* \file
* \file
* \copyright
* \copyright
* Copyright (c) 201
5
-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 201
2
-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
* http://www.opengeosys.org/project/license
*/
*/
#include
<tclap/CmdLine.h>
#include
<tclap/CmdLine.h>
#include
<Xdmf.hpp>
#include
<Xdmf.hpp>
...
@@ -24,6 +23,8 @@
...
@@ -24,6 +23,8 @@
#include
<memory>
#include
<memory>
#include
<sstream>
#include
<sstream>
#include
<tuple>
#include
<tuple>
#include
"InfoLib/GitInfo.h"
// See https://stackoverflow.com/a/8513803/2706707
// See https://stackoverflow.com/a/8513803/2706707
template
<
typename
...
Containers
>
template
<
typename
...
Containers
>
auto
zip
(
Containers
&&
...
containers
)
->
boost
::
iterator_range
<
auto
zip
(
Containers
&&
...
containers
)
->
boost
::
iterator_range
<
...
@@ -54,14 +55,13 @@ struct Args
...
@@ -54,14 +55,13 @@ struct Args
auto
parseCommandLine
(
int
argc
,
char
*
argv
[])
->
Args
auto
parseCommandLine
(
int
argc
,
char
*
argv
[])
->
Args
{
{
TCLAP
::
CmdLine
cmd
(
TCLAP
::
CmdLine
cmd
(
"XdmfDiff software.
\n
"
"XdmfDiff software.
\n\n
"
"Copyright (c) 2015-2020, OpenGeoSys Community "
"OpenGeoSys-6 software, version "
+
"(http://www.opengeosys.org) "
GitInfoLib
::
GitInfo
::
ogs_version
+
"Distributed under a Modified BSD License. "
".
\n
"
"See accompanying file LICENSE.txt or "
"Copyright (c) 2012-2021, OpenGeoSys Community "
"http://www.opengeosys.org/project/license"
,
"(http://www.opengeosys.org)"
,
' '
,
' '
,
GitInfoLib
::
GitInfo
::
ogs_version
);
"0.1"
);
TCLAP
::
UnlabeledValueArg
<
std
::
string
>
xdmf_input_a_arg
(
TCLAP
::
UnlabeledValueArg
<
std
::
string
>
xdmf_input_a_arg
(
"input-file-a"
,
"Path to the Xdmf input file."
,
true
,
""
,
"XDMF FILE"
);
"input-file-a"
,
"Path to the Xdmf input file."
,
true
,
""
,
"XDMF FILE"
);
...
@@ -299,4 +299,4 @@ int main(int argc, char* argv[])
...
@@ -299,4 +299,4 @@ int main(int argc, char* argv[])
}
}
return
EXIT_SUCCESS
;
return
EXIT_SUCCESS
;
}
}
\ No newline at end of file
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