IPCC  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
KNTBMS_Solver.h
Go to the documentation of this file.
1 
7 #pragma once
8 #include "KNCommandFileParser.h"
9 #include "KNMatrixOperation.h"
10 #include "CKNAtomMapInfo.h"
11 #include "KNGeometricShape.h"
12 #include "KNLanczosMethod.h"
13 
21 {
22 public:
25 
26  static unsigned int Launching_TBMS_Solver(char *pszInputCommnadFileName, bool bMPI, bool bShowMsg, bool bRemovePrevResult = true);
27 
28 private:
29  static void getCurrentTime(char *pszBuffer);
30  static bool InitMPIEnv(bool &bMPI, CKNCommandFileParser::LPINPUT_CMD_PARAM lpParam);
31  static void FinalEvn(CKNMatrixOperation::CKNCSR *lpResult, CKNCommandFileParser::LPINPUT_CMD_PARAM lpParam, double *pKValue[3], NEIGHBOR_MAP_INFO *lpMapInfo, CKNGeometricShape *pGeometricShape, bool bMPI);
32  static void GetKValues(CKNCommandFileParser::LPINPUT_CMD_PARAM lpParam, double *pKValue[3]);
33  static CKNMatrixOperation::CKNCSR* AllocateCSR(unsigned int &nRtn, NEIGHBOR_MAP_INFO *lpMapInfo, CKNCommandFileParser::LPINPUT_CMD_PARAM lpParam, CKNGeometricShape *pGeometricShape, bool bMPI);
34  static void ApplyPhPotential(double *impurity_position, CKNMatrixOperation::CKNCSR *matrix, NEIGHBOR_MAP_INFO mapInfo, bool bUseSplitVector);
35 
36 };
Show message and debugging variable.
Data and operation representation of CSR(Compressed Sparse Row)
This class for parsing input command file.
This class for launching calculation module.
Definition: KNTBMS_Solver.h:20
Class for Geometric shape.
Structure for save input command file parsing result.
Collection of vector and matrix operation.
static CKNMatrixOperation::CKNCSR * AllocateCSR(unsigned int &nRtn, NEIGHBOR_MAP_INFO *lpMapInfo, CKNCommandFileParser::LPINPUT_CMD_PARAM lpParam, CKNGeometricShape *pGeometricShape, bool bMPI)
Allocating CSR memory sapce.
Class for Geometric shape.
Structure for neighbor information.
static void getCurrentTime(char *pszBuffer)
Get Current time from system.
static void GetKValues(CKNCommandFileParser::LPINPUT_CMD_PARAM lpParam, double *pKValue[3])
Calculate K value with K points.
static unsigned int Launching_TBMS_Solver(char *pszInputCommnadFileName, bool bMPI, bool bShowMsg, bool bRemovePrevResult=true)
Launching Geomentric construction and Lancsoz method.
static void ApplyPhPotential(double *impurity_position, CKNMatrixOperation::CKNCSR *matrix, NEIGHBOR_MAP_INFO mapInfo, bool bUseSplitVector)
Applying impurity potential.
static bool InitMPIEnv(bool &bMPI, CKNCommandFileParser::LPINPUT_CMD_PARAM lpParam)
Initialization of MPI environment.
static void FinalEvn(CKNMatrixOperation::CKNCSR *lpResult, CKNCommandFileParser::LPINPUT_CMD_PARAM lpParam, double *pKValue[3], NEIGHBOR_MAP_INFO *lpMapInfo, CKNGeometricShape *pGeometricShape, bool bMPI)
Finalization of enviroment and variables.
Structure for neighbor information.