diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-02-25 11:28:26 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2012-02-25 11:28:26 -0500 |
commit | 40e28d26fa1ab595bdba315a8c846cc2f64c9f9b (patch) | |
tree | 344a1175e681a239b65f4f1c2321d782df6fd4b3 /Carpet/Carpet/src/Recompose.cc | |
parent | db8698948f32dc764528027fc9f0335bb77c5ca7 (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 |