Cantera
2.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
numerics
GeneralMatrix.cpp
Go to the documentation of this file.
1
/**
2
* @file GeneralMatrix.cpp
3
*/
4
5
/*
6
* Copyright 2004 Sandia Corporation. Under the terms of Contract
7
* DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government
8
* retains certain rights in this software.
9
* See file License.txt for licensing information.
10
*/
11
12
#include "
cantera/numerics/GeneralMatrix.h
"
13
using namespace
std;
14
15
namespace
Cantera
16
{
17
//====================================================================================================================
18
GeneralMatrix::GeneralMatrix(
int
matType) :
19
matrixType_(matType)
20
{
21
}
22
//====================================================================================================================
23
GeneralMatrix::GeneralMatrix
(
const
GeneralMatrix
& y) :
24
matrixType_(y.matrixType_)
25
{
26
}
27
//====================================================================================================================
28
GeneralMatrix
&
GeneralMatrix::operator=
(
const
GeneralMatrix
& y)
29
{
30
if
(&y ==
this
) {
31
return
*
this
;
32
}
33
matrixType_
= y.
matrixType_
;
34
return
*
this
;
35
}
36
//====================================================================================================================
37
GeneralMatrix::~GeneralMatrix
()
38
{
39
}
40
//====================================================================================================================
41
}
Generated by
1.8.2