Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fbischoff committed Jul 20, 2023
1 parent 2a14224 commit 403c2a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions src/madness/chem/CC2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,8 @@ double CC2::solve_mp2_coupled(Pairs<CCPair>& doubles) {

// if (world.rank()==0) std::cout << std::fixed << std::setprecision(1) << "\nStarting coupling at time " << wall_time() << std::endl;
// compute the coupling between the pair functions
CCProgress coupling_progess("add coupling");
Pairs<real_function_6d> coupling=compute_local_coupling(updated_pairs);
auto coupling_vec=Pairs<real_function_6d>::pairs2vector(coupling,triangular_map);
coupling_progess.end();

// if (world.rank()==0) std::cout << std::fixed << std::setprecision(1) << "\nFinished coupling at time " << wall_time() << std::endl;

Expand Down
17 changes: 0 additions & 17 deletions src/madness/chem/CCStructures.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,23 +136,6 @@ struct CCMessenger {
};


/// print the progress of an operation
struct CCProgress {
double start=0.0;
CCProgress(const std::string msg) : start(wall_time()) {
std::string blanks(" ",45-msg.size());
std::string tmp=" "+msg+blanks+"...";
printf("%s",tmp.c_str());
std::cout << std::flush;
}

void end() {
printf(" done after %8.4fs\n",wall_time()-start);
std::cout << std::flush;
}

};

/// Timer Structure
struct CCTimer {
/// TDA_TIMER contructor
Expand Down

0 comments on commit 403c2a4

Please sign in to comment.