[cig-commits] commit: Make an array big enough to fit all 27 nodes of a Q2 3D element
Mercurial
hg at geodynamics.org
Thu Sep 29 15:09:34 PDT 2011
changeset: 620:23b72f3e8b3a
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Thu Sep 29 15:07:55 2011 -0700
files: Swarm/src/MeshParticleLayout.cxx
description:
Make an array big enough to fit all 27 nodes of a Q2 3D element
diff -r f3bc68ac19f3 -r 23b72f3e8b3a Swarm/src/MeshParticleLayout.cxx
--- a/Swarm/src/MeshParticleLayout.cxx Thu Sep 29 11:23:53 2011 -0700
+++ b/Swarm/src/MeshParticleLayout.cxx Thu Sep 29 15:07:55 2011 -0700
@@ -222,7 +222,7 @@ void _MeshParticleLayout_InitialiseParti
Coord min = {-1.0, -1.0, -1.0};
Coord max = {1.0, 1.0, 1.0};
Coord localCoord;
- double basis[8];
+ double basis[27];
unsigned nDims = Mesh_GetDimSize( self->mesh );
double** nodeCoords = self->mesh->verts;
unsigned nNodes, *incNodes;
More information about the CIG-COMMITS
mailing list