Teuchos - Trilinos Tools Package
Version of the Day
Loading...
Searching...
No Matches
numerics
src
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
15
#include "
Teuchos_CompObject.hpp
"
16
17
namespace
Teuchos
18
{
19
20
CompObject::CompObject
() : flopCounter_(0)
21
{
22
}
23
24
// Copy Constructor
25
26
CompObject::CompObject
(
const
CompObject
& source) : flopCounter_(source.flopCounter_)
27
{
28
}
29
30
// Destructor
31
32
CompObject::~CompObject
()
33
{
34
flopCounter_ = 0;
35
}
36
37
}
// namespace Teuchos
Teuchos_CompObject.hpp
Object for storing data and providing functionality that is common to all computational classes.
Teuchos::CompObject
Functionality and data that is common to all computational classes.
Definition
Teuchos_CompObject.hpp:34
Teuchos::CompObject::CompObject
CompObject()
Default constructor.
Definition
Teuchos_CompObject.cpp:20
Teuchos::CompObject::~CompObject
virtual ~CompObject()
Destructor.
Definition
Teuchos_CompObject.cpp:32
Teuchos
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
Generated on Thu Oct 9 2025 20:59:54 for Teuchos - Trilinos Tools Package by
1.9.8