diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-02-25 11:28:26 -0500 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:23:07 +0100 |
commit | 551a257e4b41b197206bf9db8a054831f2286cb4 (patch) | |
tree | e7a357699b691fd63b68fe63bde48a5f208c374a /Carpet/Carpet/src/Recompose.cc | |
parent | ae40ebf9b7a7f732c943c561ea64776a2742c03e (diff) |
Carpet: Change some #warnings into comments
Diffstat (limited to 'Carpet/Carpet/src/Recompose.cc')
-rw-r--r-- | Carpet/Carpet/src/Recompose.cc | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Carpet/Carpet/src/Recompose.cc b/Carpet/Carpet/src/Recompose.cc index 0a78e1f95..7d83ce02f 100644 --- a/Carpet/Carpet/src/Recompose.cc +++ b/Carpet/Carpet/src/Recompose.cc @@ -801,8 +801,8 @@ namespace Carpet { // // This requires that CoordBase is used -#warning "TODO: check this (for Carpet, and maybe also for CartGrid3D)" -#warning "TODO: (the check that these two are consistent should be in Carpet)" + // TODO: check this (for Carpet, and maybe also for CartGrid3D) + // TODO: (the check that these two are consistent should be in Carpet) jjvect nboundaryzones; jjvect is_internal; @@ -849,7 +849,7 @@ namespace Carpet { } // Adapt spacing for convergence level -#warning "TODO: take ml into account" + // TODO: take ml into account spacing *= ipow ((CCTK_REAL) mgfact, basemglevel); check (not ConvertFromPhysicalBoundary @@ -1695,7 +1695,7 @@ namespace Carpet { mynprocs.AT(r) = 1; -- nregs_left; } -#warning "TODO: split regions if necessary" + // TODO: split regions if necessary while (nregs_left > 0) { if (recompose_verbose) cout << "SRMA nregs_left " << nregs_left << endl; int maxr = -1; @@ -1719,9 +1719,9 @@ namespace Carpet { if (recompose_verbose) cout << "SRMA mynprocs " << mynprocs << endl; if (recompose_verbose) cout << "SRMA: splitting work units" << endl; -#warning "TODO: rename newregs to regs" -#warning "TODO: rename nregs to nsuperregs" -#warning "TODO: rename newnregs to nregs" + // TODO: rename newregs to regs + // TODO: rename nregs to nsuperregs + // TODO: rename newnregs to nregs vector<region_t> newregs; newregs.reserve (newnregs); for (int r=0, p=0; r<nregs; p+=mynprocs.AT(r), ++r) { @@ -1788,7 +1788,6 @@ namespace Carpet { } } for (int m=0; m<nmaps; ++m) { -#warning "TODO" if (not (tmpncomps.AT(m) == myncomps.AT(m))) { cout << "Recompose.cc" << endl << "superregss=" << superregss << endl |