My Project
_dssmatrix-misc.hpp
1 //=============================================================================
3 inline void _dssmatrix::destroy() const
4 {
5 #ifdef CPPL_VERBOSE
6  std::cerr << "# [MARK] _dssmatrix::destroy() const"
7  << std::endl;
8 #endif//CPPL_VERBOSE
9 
10 #ifdef CPPL_DEBUG
11  std::cerr << "# [NOTE] _dssmatrix::destroy() "
12  << " An array at " << Array
13  << " is going to be destroyed." << std::endl;
14 #endif//CPPL_DEBUG
15 
16  delete [] Array;
17  delete [] Indx;
18  delete [] Jndx;
19 }
double * Array
1D array to store non-zero matrix data
Definition: _dssmatrix.hpp:11
long * Jndx
1D array to store the j-index of non-zero matrix components
Definition: _dssmatrix.hpp:13
long * Indx
1D array to store the i-index of non-zero matrix components
Definition: _dssmatrix.hpp:12
void destroy() const
Definition: _dssmatrix-misc.hpp:3