From: Daniel Arndt Date: Fri, 27 Apr 2018 13:44:57 +0000 (+0200) Subject: Fix up remainign uses of 'output'in GridIn::read_netcdf X-Git-Tag: v9.0.0-rc1~95^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e178da6d425c872f3d6d9a3c5975d0136ff6403a;p=dealii.git Fix up remainign uses of 'output'in GridIn::read_netcdf --- diff --git a/source/grid/grid_in.cc b/source/grid/grid_in.cc index 8db5169fbb..f7ad20c141 100644 --- a/source/grid/grid_in.cc +++ b/source/grid/grid_in.cc @@ -1704,15 +1704,6 @@ void GridIn<2>::read_netcdf (const std::string &filename) // vector::iterator to int * marker_var->get(&*marker.begin(), n_markers); - if (output) - { - std::cout << "n_cell=" << n_cells << std::endl; - std::cout << "marker: "; - for (unsigned int i=0; i::read_netcdf (const std::string &filename) // for marker0 only. For marker1 we // then had point[coord]=constant // with e.g. constant=1 or -1 - if (output) - { - std::cout << "n_bquads_per_bmarker: " << std::endl; - std::map::const_iterator - iter=n_bquads_per_bmarker.begin(); - for (; iter!=n_bquads_per_bmarker.end(); ++iter) - std::cout << " n_bquads_per_bmarker[" << iter->first - << "]=" << iter->second << std::endl; - } // next we read // int points_of_surfacequadrilaterals( @@ -1788,17 +1770,6 @@ void GridIn<2>::read_netcdf (const std::string &filename) for (unsigned int i=0; i=0, ExcIO()); - if (output) - { - std::cout << "vertex_indices:" << std::endl; - for (unsigned int i=0, v=0; i::read_netcdf (const std::string &filename) NcDim *vertices_dim=nc.get_dim("no_of_points"); AssertThrow(vertices_dim->is_valid(), ExcIO()); const unsigned int n_vertices=vertices_dim->size(); - if (output) - std::cout << "n_vertices=" << n_vertices << std::endl; NcVar *points_xc=nc.get_var("points_xc"); NcVar *points_yc=nc.get_var("points_yc"); @@ -1858,11 +1827,7 @@ void GridIn<2>::read_netcdf (const std::string &filename) unsigned int sum_of_zero_plane_cells=0; for (std::map::const_iterator iter=zero_plane_markers.begin(); iter != zero_plane_markers.end(); ++iter) - { - sum_of_zero_plane_cells+=n_bquads_per_bmarker[iter->first]; - if (output) - std::cout << "bmarker=" << iter->first << std::endl; - } + sum_of_zero_plane_cells+=n_bquads_per_bmarker[iter->first]; AssertThrow(sum_of_zero_plane_cells==n_cells, ExcIO()); // fill cells with all quads