From 265490283ff7ba9d43ba9b23688a3c354055e16b Mon Sep 17 00:00:00 2001 From: guido Date: Mon, 10 Dec 2001 14:29:48 +0000 Subject: [PATCH] Patches prepared for neighbor information git-svn-id: https://svn.dealii.org/trunk@5329 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/data_out_base.h | 25 ++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/deal.II/base/include/base/data_out_base.h b/deal.II/base/include/base/data_out_base.h index 0dffae2d8c..6dd7367714 100644 --- a/deal.II/base/include/base/data_out_base.h +++ b/deal.II/base/include/base/data_out_base.h @@ -348,6 +348,29 @@ class DataOutBase * in the triangulation. */ Point vertices[GeometryInfo::vertices_per_cell]; + + /** + * Numbers of neighbors of a patch. + * OpenDX format requires + * neighbor information for + * advanced output. Here the + * neighborship relationship + * of patches is + * stored. During output, + * this must be transformed + * into neighborship of + * sub-grid cells. + */ + unsigned int neighbors[GeometryInfo::faces_per_cell]; + + /** + * Number of this + * patch. Since we are not + * sure patches are handled + * in the same order, always, + * we better store this. + */ + unsigned int me; /** * Number of subdivisions with @@ -430,7 +453,7 @@ class DataOutBase * should yield the same value for all * patches provided. */ - vector2d data; + vector2d data; /** * Default constructor. Sets -- 2.39.5