Skip to content

Commit 405ac9b

Browse files
committed
change ucell in kernels/*.h
1 parent 48fb734 commit 405ac9b

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

source/module_hamilt_pw/hamilt_pwdft/kernels/ekinetic_op.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct ekinetic_pw_op {
1414
/// \param nband : nbands
1515
/// \param npw : number of planewaves of current k point
1616
/// \param max_npw : max number of planewaves of all k points
17-
/// \param tpiba2 : GlobalC::ucell.tpiba2
17+
/// \param tpiba2 : ucell.tpiba2
1818
/// \param spin : current spin
1919
/// \param gk2_ik : GlobalC::wfcpw->gk2
2020
/// \param tmpsi_in : intermediate array

source/module_hamilt_pw/hamilt_pwdft/kernels/force_op.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ struct cal_force_nl_op
5656
/// @param forcenl_nc - the second dimension of matrix forcenl
5757
/// @param nbands - NBANDS
5858
/// @param nkb - number of k point
59-
/// @param atom_nh - GlobalC::ucell.atoms[ii].ncpp.nh
60-
/// @param atom_na - GlobalC::ucell.atoms[ii].na
61-
/// @param tpiba - GlobalC::ucell.tpiba
59+
/// @param atom_nh - ucell.atoms[ii].ncpp.nh
60+
/// @param atom_na - ucell.atoms[ii].na
61+
/// @param tpiba - ucell.tpiba
6262
/// @param d_wg - input parameter wg
6363
/// @param occ - if use the occupation of the bands
6464
/// @param d_ekb - input parameter ekb

source/module_hamilt_pw/hamilt_pwdft/kernels/meta_op.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace hamilt {
1616
/// \param pol : loop of [0, 1, 2]
1717
/// \param npw : number of planewaves of current k point
1818
/// \param npwx : number of planewaves of all k points
19-
/// \param tpiba : GlobalC::ucell.tpiba
19+
/// \param tpiba : ucell.tpiba
2020
/// \param gcar : wfcpw->gcar
2121
/// \param kvec_c : wfcpw->kvec_c
2222
/// \param in : input hpsi

source/module_hamilt_pw/hamilt_pwdft/kernels/stress_op.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ struct cal_dbecp_noevc_nl_op
2323
/// @param npw - number of planewaves
2424
/// @param npwx - max number of planewaves
2525
/// @param ik - the current k point
26-
/// @param tpiba - GlobalC::ucell.tpiba
26+
/// @param tpiba - ucell.tpiba
2727
/// @param gcar - GlobalC::wfcpw->gcar
2828
/// @param kvec_c - GlobalC::wfcpw->kvec_c
2929
/// @param vkbi - _vkb0[ipol]
@@ -69,8 +69,8 @@ struct cal_stress_nl_op
6969
/// @param deeq_2 - the second dimension of deeq
7070
/// @param deeq_3 - the third dimension of deeq
7171
/// @param deeq_4 - the forth dimension of deeq
72-
/// @param atom_nh - GlobalC::ucell.atoms[ii].ncpp.nh
73-
/// @param atom_na - GlobalC::ucell.atoms[ii].na
72+
/// @param atom_nh - ucell.atoms[ii].ncpp.nh
73+
/// @param atom_na - ucell.atoms[ii].na
7474
/// @param d_wg - input parameter wg
7575
/// @param occ - if use the occupation of the bands
7676
/// @param d_ekb - input parameter ekb

source/module_hamilt_pw/hamilt_pwdft/kernels/vnl_op.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ struct cal_vnl_op
2020
/// @param npwx - number of planewaves of all k points
2121
/// @param tab_2 - the second dimension of the input table
2222
/// @param tab_3 - the third dimension of the input table
23-
/// @param atom_nh - GlobalC::ucell.atoms[ii].ncpp.nh
24-
/// @param atom_nb - GlobalC::ucell.atoms[it].ncpp.nbeta
25-
/// @param atom_na - GlobalC::ucell.atoms[ii].na
23+
/// @param atom_nh - ucell.atoms[ii].ncpp.nh
24+
/// @param atom_nb - ucell.atoms[it].ncpp.nbeta
25+
/// @param atom_na - ucell.atoms[ii].na
2626
/// @param DQ - PARAM.globalv.dq
27-
/// @param tpiba - GlobalC::ucell.tpiba
27+
/// @param tpiba - ucell.tpiba
2828
/// @param NEG_IMAG_UNIT - ModuleBase::NEG_IMAG_UNIT
2929
/// @param gk - GlobalC::wf.get_1qvec_cartesian
3030
/// @param ylm - the result of ModuleBase::YlmReal::Ylm_Real

source/module_hamilt_pw/hamilt_pwdft/kernels/wf_op.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ struct cal_sk_op {
2626
/// @param eigts1_nc - GlobalC::sf.eigts1.nc
2727
/// @param eigts2_nc - GlobalC::sf.eigts2.nc
2828
/// @param eigts3_nc - GlobalC::sf.eigts3.nc
29-
/// @param atom_na - GlobalC::ucell.atoms[ii].na
29+
/// @param atom_na - ucell.atoms[ii].na
3030
/// @param igl2isz - wfc_basis->igl2isz_k
3131
/// @param is2fftixy - wfc_basis->is2fftixy
3232
/// @param TWO_PI - ModuleBase::TWO_PI
3333
/// @param kvec_c - GlobalC::kv.kvec_c
34-
/// @param atom_tau - GlobalC::ucell.atoms[it].tau
34+
/// @param atom_tau - ucell.atoms[it].tau
3535
/// @param eigts1 - GlobalC::sf.eigts1
3636
/// @param eigts2 - GlobalC::sf.eigts2
3737
/// @param eigts3 - GlobalC::sf.eigts3
3838
///
3939
/// Output Parameters
40-
/// @param sk - output results matrix with size GlobalC::ucell.nat * npw
40+
/// @param sk - output results matrix with size ucell.nat * npw
4141
void operator()(const Device* ctx,
4242
const int& ik,
4343
const int& ntype,

0 commit comments

Comments
 (0)