My Project
_zssmatrix-misc.hpp
1 //=============================================================================
3 inline void _zssmatrix::destroy() const
4 {
5 #ifdef CPPL_VERBOSE
6  std::cerr << "# [MARK] _zssmatrix::destroy() const"
7  << std::endl;
8 #endif//CPPL_VERBOSE
9 
10 #ifdef CPPL_DEBUG
11  std::cerr << "# [NOTE] _zssmatrix::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 }
20 
std::complex< double > * Array
1D array to store non-zero matrix data
Definition: _zssmatrix.hpp:11
void destroy() const
Definition: _zssmatrix-misc.hpp:3
long * Jndx
1D array to store the j-index of non-zero matrix components
Definition: _zssmatrix.hpp:13
long * Indx
1D array to store the i-index of non-zero matrix components
Definition: _zssmatrix.hpp:12