Skip to content
Snippets Groups Projects
Verified Commit bed417bf authored by Lars Bilke's avatar Lars Bilke
Browse files

[docs] Updated some links.

parent c6d6f2aa
No related branches found
No related tags found
No related merge requests found
...@@ -23,15 +23,20 @@ CommandLineArguments parseCommandLineArguments(int argc, char* argv[], ...@@ -23,15 +23,20 @@ CommandLineArguments parseCommandLineArguments(int argc, char* argv[],
{ {
// Parse CLI arguments. // Parse CLI arguments.
TCLAP::CmdLine cmd( TCLAP::CmdLine cmd(
"OpenGeoSys-6 software.\n" "OpenGeoSys-6 software."
"\n"
"Copyright (c) 2012-2024, OpenGeoSys Community " "Copyright (c) 2012-2024, OpenGeoSys Community "
"(http://www.opengeosys.org) " "(https://www.opengeosys.org) "
"\n"
"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\n" "https://www.opengeosys.org/project/license"
"\n"
"version: " + "version: " +
GitInfoLib::GitInfo::ogs_version + "\n" + GitInfoLib::GitInfo::ogs_version +
"CMake arguments: " + CMakeInfoLib::CMakeInfo::cmake_args, "\n"
"CMake arguments: " +
CMakeInfoLib::CMakeInfo::cmake_args,
' ', ' ',
GitInfoLib::GitInfo::ogs_version + "\n\n" + GitInfoLib::GitInfo::ogs_version + "\n\n" +
"CMake arguments: " + CMakeInfoLib::CMakeInfo::cmake_args); "CMake arguments: " + CMakeInfoLib::CMakeInfo::cmake_args);
......
...@@ -34,8 +34,9 @@ int main(int argc, char* argv[]) ...@@ -34,8 +34,9 @@ int main(int argc, char* argv[])
TCLAP::CmdLine cmd( TCLAP::CmdLine cmd(
"Reads a Gocad stratigraphic grid file (file ending sg) and writes the " "Reads a Gocad stratigraphic grid file (file ending sg) and writes the "
"data in the vtk unstructured grid file format. The documentation is " "data in the vtk unstructured grid file format. The documentation is "
"available at " "available at "
"https://www.opengeosys.org/docs/tools/meshing/gocadsgridreader/.\n\n " "https://www.opengeosys.org/docs/tools/meshing/gocadsgridreader/."
"\n"
"OpenGeoSys-6 " "OpenGeoSys-6 "
"software, version " + "software, version " +
GitInfoLib::GitInfo::ogs_version + GitInfoLib::GitInfo::ogs_version +
......
...@@ -29,12 +29,13 @@ int main(int argc, char* argv[]) ...@@ -29,12 +29,13 @@ int main(int argc, char* argv[])
TCLAP::CmdLine cmd( TCLAP::CmdLine cmd(
"Adds a layer to an existing mesh." "Adds a layer to an existing mesh."
"The documentation is available at " "The documentation is available at "
"https://docs.opengeosys.org/docs/tools/meshing/addlayer.\n\n" "https://www.opengeosys.org/docs/tools/meshing/addlayer."
"\n"
"OpenGeoSys-6 software, version " + "OpenGeoSys-6 software, version " +
GitInfoLib::GitInfo::ogs_version + GitInfoLib::GitInfo::ogs_version +
".\n" ".\n"
"Copyright (c) 2012-2024, OpenGeoSys Community " "Copyright (c) 2012-2024, OpenGeoSys Community "
"(http://www.opengeosys.org)", "(https://www.opengeosys.org)",
' ', GitInfoLib::GitInfo::ogs_version); ' ', GitInfoLib::GitInfo::ogs_version);
TCLAP::ValueArg<std::string> mesh_arg( TCLAP::ValueArg<std::string> mesh_arg(
"i", "input-mesh-file", "the name of the file containing the mesh", "i", "input-mesh-file", "the name of the file containing the mesh",
......
...@@ -398,7 +398,7 @@ NonlinearSolverStatus NonlinearSolver<NonlinearSolverTag::Newton>::solve( ...@@ -398,7 +398,7 @@ NonlinearSolverStatus NonlinearSolver<NonlinearSolverTag::Newton>::solve(
{ {
// TODO could be solved in a better way // TODO could be solved in a better way
// cf. // cf.
// https://www.petsc.org/release/docs/manualpages/Vec/VecWAXPY.html // https://petsc.org/release/manualpages/Vec/VecWAXPY
// Copy pointers, replace the one for the given process id. // Copy pointers, replace the one for the given process id.
std::vector<GlobalVector*> x_new{x}; std::vector<GlobalVector*> x_new{x};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment