[cig-commits] commit: increased allocation of statis shape functions array to allow for quadratic elements

Mercurial hg at geodynamics.org
Mon Nov 24 11:30:21 PST 2008


changeset:   17:77e0afbfff10
user:        DavidLee
date:        Wed Jun 27 00:31:44 2007 +0000
files:       Utils/src/BuoyancyForceTerm.c
description:
increased allocation of statis shape functions array to allow for quadratic elements


diff -r aa4578f77826 -r 77e0afbfff10 Utils/src/BuoyancyForceTerm.c
--- a/Utils/src/BuoyancyForceTerm.c	Wed Jun 27 00:30:24 2007 +0000
+++ b/Utils/src/BuoyancyForceTerm.c	Wed Jun 27 00:31:44 2007 +0000
@@ -38,7 +38,7 @@
 **  License along with this library; if not, write to the Free Software
 **  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 **
-** $Id: BuoyancyForceTerm.c 456 2007-04-27 06:21:01Z LukeHodkinson $
+** $Id: BuoyancyForceTerm.c 475 2007-06-27 00:31:44Z DavidLee $
 **
 **~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
 
@@ -348,7 +348,7 @@ void _BuoyancyForceTerm_AssembleElement(
 	double                           gravity;
 	double                           detJac             = 0.0;
 	double                           factor;
-	double                           Ni[8];
+	double                           Ni[27];
 	double                           force;
 	double*                          xi;
 	Material*                        material;



More information about the CIG-COMMITS mailing list