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
core
test
MemoryManagement
Array_UnitTest_helpers.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 "
Array_UnitTest_helpers.hpp
"
11
12
13
int
ArrayUnitTestHelpers::n
= 4;
14
15
16
TEUCHOS_STATIC_SETUP
()
17
{
18
Teuchos::UnitTestRepository::getCLP
().
setOption
(
19
"n"
, &
ArrayUnitTestHelpers::n
,
"Number of elements in the array"
);
20
}
Teuchos::UnitTestRepository::getCLP
static CommandLineProcessor & getCLP()
Return the CLP to add options to.
Definition:
Teuchos_UnitTestRepository.cpp:176
Teuchos::CommandLineProcessor::setOption
void setOption(const char option_true[], const char option_false[], bool *option_val, const char documentation[]=NULL)
Set a boolean option.
Definition:
Teuchos_CommandLineProcessor.cpp:102
Array_UnitTest_helpers.hpp
ArrayUnitTestHelpers::n
int n
Definition:
Array_UnitTest_helpers.cpp:13
TEUCHOS_STATIC_SETUP
TEUCHOS_STATIC_SETUP()
Definition:
Array_UnitTest_helpers.cpp:16
Generated on Wed Jun 4 2025 09:20:58 for Teuchos Package Browser (Single Doxygen Collection) by
1.8.5