mirror of
https://github.com/OPM/opm-upscaling.git
synced 2025-02-25 18:45:23 -06:00
fix usage information for cp* binaries
This commit is contained in:
committed by
Havard Berland
parent
1436a6f50d
commit
d5c4087c18
@@ -43,6 +43,7 @@ int main(int argc, char** argv)
|
||||
std::cout << "Usage: cpchop gridfilename=filename.grdecl [subsamples=10] [ilen=5] [jlen=5] " << std::endl;
|
||||
std::cout << " [zlen=5] [imin=] [imax=] [jmin=] [jmax=] [upscale=true] [resettoorigin=true]" << std::endl;
|
||||
std::cout << " [seed=111] [z_tolerance=0.0] [minperm=1e-9] " << std::endl;
|
||||
std::cout << " [filebase=] [resultfile=]" << std::endl;
|
||||
exit(1);
|
||||
}
|
||||
Dune::parameter::ParameterGroup param(argc, argv);
|
||||
|
||||
@@ -51,6 +51,13 @@
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
if (argc == 1) {
|
||||
std::cout << "Usage: cpchop_depthtrend gridfilename=filename.grdecl [zresolution=1] [zlen=1] [ilen=5] [jlen=5] " << std::endl;
|
||||
std::cout << " [zlen=5] [imin=] [imax=] [jmin=] [jmax=] [upscale=true] [resettoorigin=true]" << std::endl;
|
||||
std::cout << " [seed=111] [z_tolerance=0.0] [minperm=1e-9] " << std::endl;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Dune::parameter::ParameterGroup param(argc, argv);
|
||||
std::string gridfilename = param.get<std::string>("gridfilename");
|
||||
Dune::CornerPointChopper ch(gridfilename);
|
||||
|
||||
@@ -51,6 +51,14 @@
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
if (argc == 1) {
|
||||
std::cout << "Usage: cpregularize gridfilename=filename.grdecl [ires=5] [jres=5] [zres=5] " << std::endl;
|
||||
std::cout << " [imin=] [imax=] [jmin=] [jmax=] [zmin=] [zmax=] " << std::endl;
|
||||
std::cout << " [z_tolerance=0.0] [minperm=1e-9] " << std::endl;
|
||||
std::cout << " [resultgrid=regularizedgrid.grdecl]" << std::endl;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Dune::parameter::ParameterGroup param(argc, argv);
|
||||
std::string gridfilename = param.get<std::string>("gridfilename");
|
||||
Dune::CornerPointChopper ch(gridfilename);
|
||||
|
||||
Reference in New Issue
Block a user