Permalink
Browse files

Lowercase tags for timers

  • Loading branch information...
robertodr committed Sep 28, 2018
1 parent 90d5a30 commit b8d5ce8421b620bf43ce666ab265f85cb0a42dff
@@ -584,7 +584,7 @@ void init_io() {
}
*/
timer_on("CCDensity");
timer_on("ccdensity");
for (i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, PSIO_OPEN_OLD);
// erase old files
@@ -628,7 +628,7 @@ void exit_io() {
/* Close all dpd data files here */
for (i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_close(i, 1);
timer_off("CCDensity");
timer_off("ccdensity");
}
} // namespace ccdensity
@@ -321,7 +321,7 @@ double CCEnergyWavefunction::compute_energy() {
if (params_.aobasis != "NONE") dpd_close(1);
dpd_close(0);
cleanup();
timer_off("CCEnergy");
timer_off("ccenergy");
free(ioff_);
exit_io();
return Failure;
@@ -504,7 +504,7 @@ double CCEnergyWavefunction::compute_energy() {
void CCEnergyWavefunction::init_io() {
params_.just_energy = 0;
params_.just_residuals = 0;
timer_on("CCEnergy");
timer_on("ccenergy");
for (int i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, 1);
}
@@ -521,7 +521,7 @@ void CCEnergyWavefunction::exit_io() {
for (i = PSIF_CC_MIN; i < PSIF_CC_TMP; i++) psio_close(i, 1);
for (i = PSIF_CC_TMP; i <= PSIF_CC_TMP11; i++) psio_close(i, 0); /* delete CC_TMP files */
for (i = PSIF_CC_TMP11 + 1; i <= PSIF_CC_MAX; i++) psio_close(i, 1);
timer_off("CCEnergy");
timer_off("ccenergy");
}
void CCEnergyWavefunction::init_ioff() {
@@ -130,7 +130,7 @@ PsiReturnType cceom(std::shared_ptr<Wavefunction> ref_wfn, Options &options) {
}
void init_io() {
timer_on("CCEOM");
timer_on("cceom");
for (int i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, 1);
}
@@ -139,7 +139,7 @@ void exit_io() {
for (i = PSIF_CC_MIN; i <= PSIF_CC_DIIS_AMP; i++) psio_close(i, 1);
for (i = PSIF_CC_TMP; i <= PSIF_CC_TMP11; i++) psio_close(i, 0);
for (i = PSIF_CC_TMP11 + 1; i <= PSIF_CC_MAX; i++) psio_close(i, 1);
timer_off("CCEOM");
timer_off("cceom");
}
void form_dpd_dp() {
@@ -188,7 +188,7 @@ PsiReturnType cchbar(std::shared_ptr<Wavefunction> ref_wfn, Options &options) {
}
void init_io() {
timer_on("CCHBAR");
timer_on("cchbar");
/* Open all dpd data files */
for (int i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, 1);
@@ -210,7 +210,7 @@ void exit_io() {
for (int i = PSIF_CC_TMP; i <= PSIF_CC_TMP11; ++i) psio_close(i, 0); /* get rid of TMP files */
for (int i = PSIF_CC_TMP11 + 1; i <= PSIF_CC_MAX; ++i) psio_close(i, 1);
timer_off("CCHBAR");
timer_off("cchbar");
}
} // namespace cchbar
@@ -350,7 +350,7 @@ void CCLambdaWavefunction::init_io() {
}
}
*/
timer_on("CCLambda");
timer_on("cclambda");
for (i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, 1);
}
@@ -378,7 +378,7 @@ void CCLambdaWavefunction::exit_io() {
for (i = PSIF_CC_TMP; i <= PSIF_CC_TMP11; i++) psio_close(i, 0); /* delete CC_TMP files */
for (i = PSIF_CC_TMP11 + 1; i <= PSIF_CC_MAX; i++) psio_close(i, 1);
timer_off("CCLambda");
timer_off("cclambda");
}
/* put copies of L for excited states in LAMPS with irrep and index label */
@@ -155,7 +155,7 @@ PsiReturnType ccresponse(std::shared_ptr<Wavefunction> ref_wfn, Options &options
void init_io() {
int i;
timer_on("CCResponse");
timer_on("ccresponse");
for (i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, 1);
@@ -183,7 +183,7 @@ void exit_io() {
for (i = PSIF_CC_TMP; i <= PSIF_CC_TMP11; i++) psio_close(i, 0); /* get rid of TMP files */
for (i = PSIF_CC_TMP11 + 1; i <= PSIF_CC_MAX; i++) psio_close(i, 1);
timer_off("CCResponse");
timer_off("ccresponse");
}
void init_ioff() {
@@ -257,7 +257,7 @@ PsiReturnType cctriples(std::shared_ptr<Wavefunction> reference_wavefunction, Op
}
void init_io() {
timer_on("CCTriples");
timer_on("cctriples");
for (int i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, 1);
}
@@ -273,7 +273,7 @@ void title() {
void exit_io() {
int i;
for (i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_close(i, 1);
timer_off("CCTriples");
timer_off("cctriples");
}
} // namespace cctriples

0 comments on commit b8d5ce8

Please sign in to comment.