QCTools.hpp File Reference

#include <algorithm>
#include <vector>
#include <iostream>
#include "QCCommon.hpp"
#include "QCSymMatrix.hpp"

Include dependency graph for QCTools.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int computeFlag (QCSubDomainZone &zone1, QCSubDomainZone &zone2, QCPartitionType &type)
std::string intToString (int i)
template<typename T>
void print (std::vector< T > &v, char *msg="")
template<typename T>
void print (int &size1, int &size2, T *v, char *msg="")
template<typename T>
void print (int &size, T *v, char *msg="")
void readGlobalDensityFromAsciiFile (const string &fileName, QCSymMatrix &D)
void readGlobalDensityFromAsciiFilePARA (std::ifstream &data, QCSymMatrix &D)
void readGlobalDensityFromAsciiFileSEQ (std::ifstream &data, QCSymMatrix &D)
void readGlobalDensityFromAsciiFileSHARED (std::ifstream &data, QCSymMatrix &D)


Function Documentation

int computeFlag QCSubDomainZone zone1,
QCSubDomainZone zone2,
QCPartitionType type
[inline]
 

Definition at line 70 of file QCTools.hpp.

References QC_DIXON_PART, QC_SHELL1, and QC_SHELL2.

Referenced by QCMDSystem< TPSolver >::writeDensityOnFileAscii(), and QCMDSystem< TPSolver >::writeLocalDensityOnFilesAscii().

std::string intToString int  i  )  [inline]
 

Converts an integer to astring..

Definition at line 32 of file QCTools.hpp.

Referenced by main(), and QCMDSystem< TPSolver >::writeLocalDensityOnFilesAscii().

template<typename T>
void print std::vector< T > &  v,
char *  msg = ""
[inline]
 

Definition at line 61 of file QCTools.hpp.

template<typename T>
void print int &  size1,
int &  size2,
T *  v,
char *  msg = ""
[inline]
 

Definition at line 48 of file QCTools.hpp.

template<typename T>
void print int &  size,
T *  v,
char *  msg = ""
[inline]
 

Definition at line 39 of file QCTools.hpp.

void readGlobalDensityFromAsciiFile const string &  fileName,
QCSymMatrix D
 

Referenced by QCGlobalSystem< TPSolver >::readDensityFromFile().

void readGlobalDensityFromAsciiFilePARA std::ifstream &  data,
QCSymMatrix D
 

Definition at line 99 of file QCTools.cpp.

References QC_TRACE_INIT, and readGlobalDensityFromAsciiFileSHARED().

Referenced by readGlobalDensityFromAsciiFile().

Here is the call graph for this function:

void readGlobalDensityFromAsciiFileSEQ std::ifstream &  data,
QCSymMatrix D
 

Definition at line 52 of file QCTools.cpp.

References QCMatrix::getDim(), and QC_TRACE_INIT.

Referenced by readGlobalDensityFromAsciiFile().

Here is the call graph for this function:

void readGlobalDensityFromAsciiFileSHARED std::ifstream &  data,
QCSymMatrix D
 

Definition at line 74 of file QCTools.cpp.

References QCMatrix::getDim(), and QC_TRACE_INIT.

Referenced by readGlobalDensityFromAsciiFile(), and readGlobalDensityFromAsciiFilePARA().

Here is the call graph for this function:


Generated on Sat Jan 28 21:07:32 2006 for QC++ by  doxygen 1.4.4