ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
utils.cpp File Reference
#include "utils.h"
#include "source_base/module_external/blacs_connector.h"
#include "source_base/tool_quit.h"
#include "source_base/module_external/scalapack_connector.h"
#include <complex>
#include <cstring>
#include <fstream>
#include <iostream>
#include <mpi.h>
#include <sstream>
#include <string>
Include dependency graph for utils.cpp:

Functions

void loadMatrix (const char FileName[], int nFull, double *a, int *desca, int blacs_ctxt)
void saveLocalMatrix (const char filePrefix[], int narows, int nacols, double *a)
void saveMatrix (const char FileName[], int nFull, double *a, int *desca, int blacs_ctxt)
void loadMatrix (const char FileName[], int nFull, std::complex< double > *a, int *desca, int blacs_ctxt)
void saveLocalMatrix (const char filePrefix[], int narows, int nacols, std::complex< double > *a)
void saveMatrix (const char FileName[], int nFull, std::complex< double > *a, int *desca, int blacs_ctxt)

Function Documentation

◆ loadMatrix() [1/2]

void loadMatrix ( const char FileName[],
int nFull,
double * a,
int * desca,
int blacs_ctxt )
Here is the call graph for this function:

◆ loadMatrix() [2/2]

void loadMatrix ( const char FileName[],
int nFull,
std::complex< double > * a,
int * desca,
int blacs_ctxt )
Here is the call graph for this function:

◆ saveLocalMatrix() [1/2]

void saveLocalMatrix ( const char filePrefix[],
int narows,
int nacols,
double * a )
Here is the call graph for this function:

◆ saveLocalMatrix() [2/2]

void saveLocalMatrix ( const char filePrefix[],
int narows,
int nacols,
std::complex< double > * a )
Here is the call graph for this function:

◆ saveMatrix() [1/2]

void saveMatrix ( const char FileName[],
int nFull,
double * a,
int * desca,
int blacs_ctxt )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveMatrix() [2/2]

void saveMatrix ( const char FileName[],
int nFull,
std::complex< double > * a,
int * desca,
int blacs_ctxt )
Here is the call graph for this function: