From: wolf Date: Thu, 27 Jul 2000 08:38:07 +0000 (+0000) Subject: Only minor changes. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5800263a7faf1a278d03c82af42cde8a97a3ec6;p=dealii-svn.git Only minor changes. git-svn-id: https://svn.dealii.org/trunk@3216 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/grid/grid_out.cc b/deal.II/deal.II/source/grid/grid_out.cc index 08c46ef80f..88669bf907 100644 --- a/deal.II/deal.II/source/grid/grid_out.cc +++ b/deal.II/deal.II/source/grid/grid_out.cc @@ -54,7 +54,7 @@ void GridOut::write_ucd (const Triangulation &tria, }; -// write preamble + // write preamble if (ucd_flags.write_preamble) { // block this to have local @@ -147,6 +147,7 @@ void GridOut::write_ucd (const Triangulation &tria, }; + #if deal_II_dimension == 1 template <> @@ -158,6 +159,7 @@ unsigned int GridOut::n_boundary_faces (const Triangulation<1> &) const #endif + template unsigned int GridOut::n_boundary_faces (const Triangulation &tria) const { @@ -174,6 +176,7 @@ unsigned int GridOut::n_boundary_faces (const Triangulation &tria) const }; + #if deal_II_dimension == 1 template <> @@ -187,6 +190,7 @@ void GridOut::write_ucd_faces (const Triangulation<1> &, #endif + template void GridOut::write_ucd_faces (const Triangulation &tria, const unsigned int starting_index, @@ -219,6 +223,7 @@ void GridOut::write_ucd_faces (const Triangulation &tria, }; + template void GridOut::write_gnuplot (const Triangulation &tria, ostream &out) @@ -336,6 +341,8 @@ void GridOut::write_gnuplot (const Triangulation &tria, AssertThrow (out, ExcIO()); }; + + struct LineEntry { Point<2> first; @@ -347,6 +354,8 @@ struct LineEntry {} }; + + template void GridOut::write_eps (const Triangulation &tria, ostream &out) @@ -479,7 +488,7 @@ void GridOut::write_eps (const Triangulation &tria, }; -// find out minimum and maximum x and + // find out minimum and maximum x and // y coordinates to compute offsets // and scaling factors double x_min = tria.begin_active_line()->vertex(0)(0); @@ -514,7 +523,7 @@ void GridOut::write_eps (const Triangulation &tria, y_min - y_max)); -// now write preamble + // now write preamble if (true) { // block this to have local @@ -574,6 +583,7 @@ void GridOut::write_eps (const Triangulation &tria, }; + template void GridOut::write (const Triangulation &tria, ostream &out, @@ -598,6 +608,9 @@ void GridOut::write (const Triangulation &tria, }; + // explicit instantiations. note that write instantiates all the other // functions as needed -template void GridOut::write (const Triangulation &, ostream &, OutputFormat); +template void GridOut::write (const Triangulation &, + ostream &, + OutputFormat);