Skip to content

Commit 674cd11

Browse files
authored
Merge pull request #666 from maki49/develop
fix: compile error with deepks caused by unincluded `timer.h`
2 parents 5569996 + b444979 commit 674cd11

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

source/module_deepks/LCAO_deepks_fdelta.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
#include "LCAO_deepks.h"
1212
#include "../module_base/vector3.h"
13+
#include "../module_base/timer.h"
1314

1415
//force for gamma only calculations
1516
//Pulay and HF terms are calculated together

source/module_deepks/LCAO_deepks_pdm.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
#include "LCAO_deepks.h"
1616
#include "../module_base/vector3.h"
17+
#include "../module_base/timer.h"
1718

1819
//this subroutine performs the calculation of projected density matrices
1920
//pdm_m,m'=\sum_{mu,nu} rho_{mu,nu} <chi_mu|alpha_m><alpha_m'|chi_nu>

source/module_deepks/LCAO_deepks_psialpha.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include "LCAO_deepks.h"
99
#include "../module_base/vector3.h"
10+
#include "../module_base/timer.h"
1011

1112
void LCAO_Deepks::build_psialpha(const bool& calc_deri,
1213
const UnitCell_pseudo &ucell,

source/module_deepks/LCAO_deepks_vdelta.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "LCAO_deepks.h"
1515
#include "../module_base/vector3.h"
1616
#include "../src_parallel/parallel_reduce.h"
17+
#include "../module_base/timer.h"
1718

1819
//this subroutine adds dV to the Kohn-Sham Hamiltonian
1920
//for gamma_only calculations

0 commit comments

Comments
 (0)