From 02f6a33282bfd844a7a2c334b31a2ceb3dc25188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Wed, 4 Aug 2010 20:33:57 +0000 Subject: [PATCH] Assign cell volumes to '.cells' sub-structure. Having volumes in the '.faces' sub-structure is slightly counter intuitive. --- mcomputeGeometry.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcomputeGeometry.m b/mcomputeGeometry.m index 5f6aeb23..59e1caa0 100644 --- a/mcomputeGeometry.m +++ b/mcomputeGeometry.m @@ -4,5 +4,5 @@ function G = mcomputeGeometry(G) G.faces.centroids = fc'; G.faces.normals = fn'; G.cells.centroids = cc'; - G.faces.volumes = cv; + G.cells.volumes = cv; end