From: Wolfgang Bangerth Date: Wed, 10 Feb 2010 15:53:40 +0000 (+0000) Subject: Make sure we can compile with tecplot. X-Git-Tag: v8.0.0~6510 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=556c74e56690905b8d28e97a66dafa1d65480818;p=dealii.git Make sure we can compile with tecplot. git-svn-id: https://svn.dealii.org/trunk@20542 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/data_out_base.cc b/deal.II/base/source/data_out_base.cc index 9608672a0a..6f188bf722 100644 --- a/deal.II/base/source/data_out_base.cc +++ b/deal.II/base/source/data_out_base.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by the deal.II authors +// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -989,7 +989,7 @@ template bool DataOutBase::Patch::operator == (const Patch &patch) const { -//TODO: make tolerance relative +//TODO: make tolerance relative const double epsilon=3e-16; for (unsigned int i=0; i::vertices_per_cell; ++i) if (vertices[i].distance(patch.vertices[i]) > epsilon) @@ -3474,14 +3474,14 @@ void DataOutBase::write_tecplot_binary (const std::vector > // first patch. checks against all // other patches are made in // write_gmv_reorder_data_vectors - Assert ((patch->data.n_rows() == n_data_sets && !patches[0].points_are_available) || - (patch->data.n_rows() == n_data_sets+spacedim && patches[0].points_are_available), + Assert ((patches[0].data.n_rows() == n_data_sets && !patches[0].points_are_available) || + (patches[0].data.n_rows() == n_data_sets+spacedim && patches[0].points_are_available), ExcDimensionMismatch (patches[0].points_are_available ? (n_data_sets + spacedim) : n_data_sets, - patch->data.n_rows())); + patches[0].data.n_rows())); // first count the number of cells // and cells for later use