[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:08:54 PDT 2011
changeset: 429:3e2a821deb08
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Thu Sep 29 15:07:20 2011 -0700
files: MaterialPoints/src/ParticleFeVariable.cxx
description:
Make an array big enough to fit all 27 nodes of a Q2 3D element
diff -r 2572a4216b5d -r 3e2a821deb08 MaterialPoints/src/ParticleFeVariable.cxx
--- a/MaterialPoints/src/ParticleFeVariable.cxx Thu Sep 29 01:06:32 2011 -0700
+++ b/MaterialPoints/src/ParticleFeVariable.cxx Thu Sep 29 15:07:20 2011 -0700
@@ -256,7 +256,7 @@ void ParticleFeVariable_AssembleElement(
Dof_Index dofCount = self->fieldComponentCount;
Dof_Index dof_I;
Dof_Index dim = self->dim;
- double shapeFunc[8], detJac;
+ double shapeFunc[27], detJac;
double particleValue[9];
cellParticleCount = swarm->cellParticleCountTbl[ cell_I ];
@@ -293,7 +293,7 @@ void ParticleFeVariable_AssembleElementS
Particle_InCellIndex cParticle_I;
IntegrationPoint* particle;
double detJac;
- double shapeFunc[8];
+ double shapeFunc[27];
Node_Index node_I;
Dof_Index dofCount = self->fieldComponentCount;
Dof_Index dof_I;
More information about the CIG-COMMITS
mailing list