Teuchos - Trilinos Tools Package
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
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
Subregion Index Range Class.
Definition
Teuchos_Range1D.hpp:56
Teuchos::Range1D::Invalid
static const Range1D Invalid
Used for Range1D(INVALID).
Definition
Teuchos_Range1D.hpp:69
Teuchos
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
Generated by
1.17.0