Skip to content

Commit

Permalink
Refactoring of the code (mainly in relaxation.cpp)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttadano committed Feb 23, 2016
1 parent 57913a4 commit e0cac06
Show file tree
Hide file tree
Showing 3 changed files with 335 additions and 284 deletions.
4 changes: 3 additions & 1 deletion anphon/phonons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ void PHON::setup_base()
fcs_phonon->setup(mode);
dynamical->setup_dynamical(mode);
dos->setup();
std::cout << " Now, move on to phonon calculations." << std::endl;
if (mympi->my_rank == 0) {
std::cout << " Now, move on to phonon calculations." << std::endl;
}
}

void PHON::execute_phonons()
Expand Down

0 comments on commit e0cac06

Please sign in to comment.