]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Check that we can actually write
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 31 Aug 2006 19:27:41 +0000 (19:27 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 31 Aug 2006 19:27:41 +0000 (19:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@13784 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/data_out_base.cc

index 265f02374dbaf650c976e0617038ce3127218858..95c44c8862c98c3a1acf9b334e03db951719b38c 100644 (file)
@@ -3412,6 +3412,8 @@ write_deal_II_intermediate (const std::vector<Patch<dim,spacedim> > &patches,
                            const Deal_II_IntermediateFlags         &/*flags*/,
                            std::ostream                            &out) 
 {
+  AssertThrow (out, ExcIO());
+
                                    // first write tokens indicating the
                                    // template parameters. we need this in
                                    // here because we may want to read in data

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.