GEOS
initialization.hpp
1 /*
2  * ------------------------------------------------------------------------------------------------------------
3  * SPDX-License-Identifier: LGPL-2.1-only
4  *
5  * Copyright (c) 2016-2024 Lawrence Livermore National Security LLC
6  * Copyright (c) 2018-2024 TotalEnergies
7  * Copyright (c) 2018-2024 The Board of Trustees of the Leland Stanford Junior University
8  * Copyright (c) 2023-2024 Chevron
9  * Copyright (c) 2019- GEOS/GEOSX Contributors
10  * All rights reserved
11  *
12  * See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
13  * ------------------------------------------------------------------------------------------------------------
14  */
15 
16 #ifndef GEOS_MAININTERFACE_INITIALIZATION_HPP_
17 #define GEOS_MAININTERFACE_INITIALIZATION_HPP_
18 
19 // Source includes
20 #include "common/initializeEnvironment.hpp"
21 
22 namespace geos
23 {
24 
31 std::unique_ptr< CommandLineOptions > parseCommandLineOptions( int argc, char * * argv );
32 
41 std::unique_ptr< CommandLineOptions > basicSetup( int argc, char * argv[], bool const parseCommandLine=false );
42 
46 void basicCleanup();
47 
48 
49 
50 } // namespace geos
51 
52 #endif // GEOS_MAININTERFACE_INITIALIZATION_HPP_
std::unique_ptr< CommandLineOptions > parseCommandLineOptions(int argc, char **argv)
Parse the command line options and populate commandLineOptions with the results.
std::unique_ptr< CommandLineOptions > basicSetup(int argc, char *argv[], bool const parseCommandLine=false)
Perform the basic GEOSX initialization and optionally parse the command line input.
void basicCleanup()
Perform the basic GEOSX cleanup.