Searched refs:grid_e_ref (Results 1 – 2 of 2) sorted by relevance
/dports/science/openmx/openmx3.8/source/ |
H A D | TRAN_Add_Density_Lead.c | 36 #define grid_e_ref(i,j,k) ( ((i)-l1[0])*Ngrid2*Ngrid3+(j)*Ngrid3+(k) ) in TRAN_Add_Density_Lead() macro 82 Density_Grid_B[spin][BN_AB] += ElectrodeDensity_Grid[side][spin][ grid_e_ref(i,j,k) ]; in TRAN_Add_Density_Lead() 85 Density_Grid_B[1][BN_AB] += ElectrodeDensity_Grid[side][0][ grid_e_ref(i,j,k) ]; in TRAN_Add_Density_Lead()
|
H A D | TRAN_Add_ADensity_Lead.c | 34 #define grid_e_ref(i,j,k) ( ((i)-l1[0]) *Ngrid2*Ngrid3+(j)*Ngrid3+(k) ) in TRAN_Add_ADensity_Lead() macro 80 ADensity_Grid_B[BN_AB] += ElectrodeADensity_Grid[side][ grid_e_ref(i,j,k) ]; in TRAN_Add_ADensity_Lead()
|