Teuchos - Trilinos Tools Package
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
src
Teuchos_Range1D.cpp
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_Range1D.hpp
"
11
12
namespace
Teuchos {
13
14
const
Range1D
Range1D::Invalid
(Range1D::INVALID);
15
16
}
// end namespace Teuchos
17
18
std::ostream& Teuchos::operator<<(std::ostream &out,
const
Range1D& rng)
19
{
20
out <<
"Range1D{"
;
21
if
(rng == Range1D::Invalid) {
22
out <<
"Invalid"
;
23
}
24
else
{
25
out << rng.lbound() <<
","
<< rng.ubound();
26
}
27
out <<
"}"
;
28
return
out;
29
}
Teuchos_Range1D.hpp
Teuchos::Range1D::Invalid
static const Range1D Invalid
Used for Range1D(INVALID)
Definition:
Teuchos_Range1D.hpp:69
Generated on Fri Nov 22 2024 09:19:55 for Teuchos - Trilinos Tools Package by
1.8.5