Assign cell volumes to '.cells' sub-structure. Having volumes in the

'.faces' sub-structure is slightly counter intuitive.
This commit is contained in:
Bård Skaflestad
2010-08-04 20:33:57 +00:00
parent 2b943b8f3a
commit 02f6a33282

View File

@@ -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