Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Teuchos_CompObject.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// Kris
11// 07.08.03 -- Move into Teuchos package/namespace
12
13// Constructor
14
16
17namespace Teuchos
18{
19
20CompObject::CompObject() : flopCounter_(0)
21{
22}
23
24// Copy Constructor
25
26CompObject::CompObject(const CompObject& source) : flopCounter_(source.flopCounter_)
27{
28}
29
30// Destructor
31
33{
34 flopCounter_ = 0;
35}
36
37} // namespace Teuchos
Object for storing data and providing functionality that is common to all computational classes.
Functionality and data that is common to all computational classes.
CompObject()
Default constructor.
virtual ~CompObject()
Destructor.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...