Skip to content

Commit

Permalink
rename socket_static_print
Browse files Browse the repository at this point in the history
  • Loading branch information
alchem0x2A committed Jan 20, 2024
1 parent 2f95853 commit 5f29e02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/initialization.c
Original file line number Diff line number Diff line change
Expand Up @@ -3972,7 +3972,7 @@ void write_output_init(SPARC_OBJ *pSPARC) {
}
#else
// Use the print method in socket driver to print the static file
static_print_atom_pos(pSPARC);
socket_static_print_atom_pos(pSPARC);
#endif
}

Expand Down
4 changes: 2 additions & 2 deletions src/socket/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ int write_message_to_socket(SPARC_OBJ *pSPARC, char *message)
* this is an updated version from write_output_init.
* we skip the first step since it's already initialized
*/
void static_print_atom_pos(SPARC_OBJ *pSPARC)
void socket_static_print_atom_pos(SPARC_OBJ *pSPARC)
{
int rank;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down Expand Up @@ -871,7 +871,7 @@ void main_Socket(SPARC_OBJ *pSPARC)
print_socket_err = 1;
break;
}
static_print_atom_pos(pSPARC);
socket_static_print_atom_pos(pSPARC);
if (init == 1)
{
init = 0;
Expand Down

0 comments on commit 5f29e02

Please sign in to comment.