Cantera  2.1.2
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 
13 using namespace std;
14 
15 namespace Cantera
16 {
17 
18 GeneralMatrix::GeneralMatrix(int matType) :
19  matrixType_(matType)
20 {
21 }
22 
24  matrixType_(y.matrixType_)
25 {
26 }
27 
29 {
30  if (&y == this) {
31  return *this;
32  }
34  return *this;
35 }
36 
38 {
39 }
40 
41 }
int matrixType_
Matrix type.
GeneralMatrix(int matType)
Base Constructor.
Generic matrix.
Definition: GeneralMatrix.h:23
virtual ~GeneralMatrix()
Destructor. Does nothing.
Declarations for the class GeneralMatrix which is a virtual base class for matrices handled by solver...
GeneralMatrix & operator=(const GeneralMatrix &right)
Assignment operator.