From f776edf297de7d84107db4f3226d941eaced54de Mon Sep 17 00:00:00 2001 From: Oliver Gloth Date: Thu, 22 Nov 2012 17:31:24 +0100 Subject: [PATCH] added check routines --- src/libengrid/meshpartition.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libengrid/meshpartition.cpp b/src/libengrid/meshpartition.cpp index aafb997..5ccd3d5 100644 --- a/src/libengrid/meshpartition.cpp +++ b/src/libengrid/meshpartition.cpp @@ -338,6 +338,9 @@ bool MeshPartition::hasBC(vtkIdType id_node, int bc) vtkIdType MeshPartition::getVolumeCell(vtkIdType id_face) { + checkLNodes(); + checkLCells(); + checkN2C(); return findVolumeCell(m_Grid, id_face, m_LNodes, m_Cells, m_LCells, m_N2C); } -- 2.11.4.GIT