[cig-commits] r20543 - long/3D/SNAC/trunk/Snac/plugins/remesher_BI

echoi at geodynamics.org echoi at geodynamics.org
Wed Jul 25 08:48:49 PDT 2012


Author: echoi
Date: 2012-07-25 08:48:49 -0700 (Wed, 25 Jul 2012)
New Revision: 20543

Added:
   long/3D/SNAC/trunk/Snac/plugins/remesher_BI/RemesherElement.h
Log:
A new element type: plastic strain is a default data member.



Added: long/3D/SNAC/trunk/Snac/plugins/remesher_BI/RemesherElement.h
===================================================================
--- long/3D/SNAC/trunk/Snac/plugins/remesher_BI/RemesherElement.h	                        (rev 0)
+++ long/3D/SNAC/trunk/Snac/plugins/remesher_BI/RemesherElement.h	2012-07-25 15:48:49 UTC (rev 20543)
@@ -0,0 +1,58 @@
+/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+**
+** Copyright (C), 2003,
+**	Steve Quenette, 110 Victoria Street, Melbourne, Victoria, 3053, Australia.
+**	Californian Institute of Technology, 1200 East California Boulevard, Pasadena, California, 91125, USA.
+**	University of Texas, 1 University Station, Austin, Texas, 78712, USA.
+**
+** Authors:
+**	Stevan M. Quenette, Senior Software Engineer, VPAC. (steve at vpac.org)
+**	Stevan M. Quenette, Visitor in Geophysics, Caltech.
+**	Luc Lavier, Research Scientist, The University of Texas. (luc at utig.ug.utexas.edu)
+**	Luc Lavier, Research Scientist, Caltech.
+**
+** This program is free software; you can redistribute it and/or modify it
+** under the terms of the GNU General Public License as published by the
+** Free Software Foundation; either version 2, or (at your option) any
+** later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+**
+*/
+/** \file
+** Role:
+**	Snac Element.
+**
+** Assumptions:
+**
+** Comments:
+**
+** $Id: RemesherElement.h 3275 2007-03-28 20:07:08Z EunseoChoi $
+**
+**~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
+
+#ifndef __SnacRemesher_Element_h__
+#define __SnacRemesher_Element_h__
+
+	/* Element_Tetrahedra */
+	#define __SnacRemesher_Element_Tetrahedra \
+		StrainTensor		strain;  \
+		StressTensor		stress;  \
+		Density				density; \
+		Material_Index		material_I;
+	struct _SnacRemesher_Element_Tetrahedra { __SnacRemesher_Element_Tetrahedra };
+
+	/* Element Information */
+	#define __SnacRemesher_Element \
+		Strain 								plasticStrain[Tetrahedra_Count]; \
+		SnacRemesher_Element_Tetrahedra		tetra[Tetrahedra_Count]; 
+	struct _SnacRemesher_Element { __SnacRemesher_Element };
+
+#endif /* __SnacRemesher_Element_h__ */



More information about the CIG-COMMITS mailing list