Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
parameterlist
test
FunctionObjects
parameterlist/test/FunctionObjects/cxx_main.cpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Teuchos: Common Tools Package
4
//
5
// Copyright 2004 NTESS and the Teuchos contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#include "
Teuchos_UnitTestRepository.hpp
"
11
#include "
Teuchos_GlobalMPISession.hpp
"
12
13
int
main
(
int
argc,
char
* argv[] ) {
14
Teuchos::GlobalMPISession
mpiSession(&argc, &argv);
15
return
Teuchos::UnitTestRepository::runUnitTestsFromMain
(argc, argv);
16
}
Teuchos::GlobalMPISession
Initialize, finalize, and query the global MPI session.
Definition:
Teuchos_GlobalMPISession.hpp:81
Teuchos_UnitTestRepository.hpp
Unit testing support.
Teuchos::UnitTestRepository::runUnitTestsFromMain
static int runUnitTestsFromMain(int argc, char *argv[])
Run the unit tests from main() passing in (argc, argv).
Definition:
Teuchos_UnitTestRepository.cpp:376
main
int main(int argc, char *argv[])
Definition:
core/example/CommandLineProcessor/cxx_main.cpp:21
Teuchos_GlobalMPISession.hpp
A MPI utilities class, providing methods for initializing, finalizing, and querying the global MPI se...
Generated on Tue Oct 8 2024 09:21:28 for Teuchos Package Browser (Single Doxygen Collection) by
1.8.5