Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_Flops.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 // Kris
11 // 07.08.03 -- Move into Teuchos package/namespace
12 
13 #include "Teuchos_Flops.hpp"
14 
15 namespace Teuchos
16 {
17 
18 Flops::Flops(void) : flops_(0.0)
19 {
20 }
21 
22 // 2007/11/26: rabartl: Below, is it correct that flops_in does not have its
23 // flops copied into the data member flops_?
24 Flops::Flops(const Flops& /* flops_in */) : flops_(0.0)
25 {
26 }
27 
29 {
30  flops_ = 0.0;
31 }
32 
33 } // namespace Teuchos
Flops()
Default Constructor.
virtual ~Flops()
Destructor.
Object for providing basic support and consistent interfaces for counting/reporting floating-point op...
The Teuchos Floating Point Operations Class.