[cig-commits] r5772 - in long/3D/Gale/trunk/src/StgFEM: . Discretisation/src

walter at geodynamics.org walter at geodynamics.org
Thu Jan 11 21:04:24 PST 2007


Author: walter
Date: 2007-01-11 21:04:22 -0800 (Thu, 11 Jan 2007)
New Revision: 5772

Modified:
   long/3D/Gale/trunk/src/StgFEM/
   long/3D/Gale/trunk/src/StgFEM/Discretisation/src/C0Generator.c
Log:
 r954 at earth (orig r713):  LukeHodkinson | 2007-01-10 15:15:03 -0800
 Setting mesh on the element types.
 



Property changes on: long/3D/Gale/trunk/src/StgFEM
___________________________________________________________________
Name: svk:merge
   - 38867592-cf10-0410-9e16-a142ea72ac34:/cig:880
db209038-57f2-0310-97fa-b160e0ae9d04:/branches/decomp3d:712
db209038-57f2-0310-97fa-b160e0ae9d04:/trunk:669
   + 38867592-cf10-0410-9e16-a142ea72ac34:/cig:880
db209038-57f2-0310-97fa-b160e0ae9d04:/branches/decomp3d:713
db209038-57f2-0310-97fa-b160e0ae9d04:/trunk:669

Modified: long/3D/Gale/trunk/src/StgFEM/Discretisation/src/C0Generator.c
===================================================================
--- long/3D/Gale/trunk/src/StgFEM/Discretisation/src/C0Generator.c	2007-01-12 05:04:19 UTC (rev 5771)
+++ long/3D/Gale/trunk/src/StgFEM/Discretisation/src/C0Generator.c	2007-01-12 05:04:22 UTC (rev 5772)
@@ -239,6 +239,7 @@
 	mesh->nElTypes = 1;
 	mesh->elTypes = AllocNamedArray( Mesh_ElementType*, mesh->nElTypes, "Mesh::elTypes" );
 	mesh->elTypes[0] = (Mesh_ElementType*)Mesh_CentroidType_New();
+	Mesh_ElementType_SetMesh( mesh->elTypes[0], mesh );
 	Mesh_CentroidType_SetElementMesh( mesh->elTypes[0], self->elMesh );
 	nDomainEls = Mesh_GetDomainSize( mesh, Mesh_GetDimSize( mesh ) );
 	mesh->elTypeMap = AllocNamedArray( unsigned, nDomainEls, "Mesh::elTypeMap" );



More information about the cig-commits mailing list