Skip to content

Commit 3b80fab

Browse files
committed
add bcast atom pseudo
1 parent 6866397 commit 3b80fab

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

source/module_cell/bcast_cell.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace unitcell
1818
#endif
1919
}
2020

21-
void bcast_atoms_ncpp_pesudo(Atom* atoms,
21+
void bcast_atoms_pseudo(Atom* atoms,
2222
const int ntype)
2323
{
2424
#ifndef __MPI
@@ -97,7 +97,7 @@ namespace unitcell
9797
#ifdef __MPI
9898
const int ntype = ucell.ntype;
9999
Parallel_Common::bcast_int(ucell.nat);
100-
100+
101101
bcast_Lattice(ucell.lat);
102102
bcast_magnetism(ucell.magnet,ntype);
103103
bcast_atoms_tau(ucell.atoms,ntype);

source/module_cell/bcast_cell.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace unitcell
1818
* @param atoms: the atoms to be broadcasted [in/out]
1919
* @param ntype: the number of types of the atoms [in]
2020
*/
21-
void bcast_atoms_pseduo(Atom* atoms,
21+
void bcast_atoms_pseudo(Atom* atoms,
2222
const int ntype);
2323
/**
2424
* @brief broadcast the lattice

source/module_elecstate/read_pseudo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ void read_pseudo(std::ofstream& ofs, UnitCell& ucell) {
136136
}
137137

138138
#ifdef __MPI
139-
unitcell::bcast_atoms_tau(ucell.atoms,ucell.ntype);
139+
unitcell::bcast_atoms_pseduo(ucell.atoms,ucell.ntype);
140140
#endif
141141

142142
for (int it = 0; it < ucell.ntype; it++) {

0 commit comments

Comments
 (0)