vtf-logo

shells/fem/smaterial.h

Go to the documentation of this file.
00001 /* -*- C -*- */
00002 /*
00003  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00004  *
00005  *                                   Fehmi Cirak
00006  *                        California Institute of Technology
00007  *                           (C) 2004 All Rights Reserved
00008  *
00009  * <LicenseText>
00010  *
00011  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00012 */
00013 #ifndef SMATERIAL_H
00014 #define SMATERIAL_H
00015 
00016 #include "definitions.h"
00017 
00018 #ifdef __cplusplus
00019 namespace shells {
00020 #define DECLARE_EXTERN extern "C"
00021 #else
00022 #define DECLARE_EXTERN extern
00023 #endif
00024 
00025     typedef struct SMaterialS {
00026         int nq;                 /* number of stored internal variables */
00027         int nprop;              /* number of properties                */
00028         double *properties;     /* array of properties                 */
00029     } SMaterial;
00030     
00031     extern SMaterial *SMaterialCont[10]; /* only 10 different materials */
00032     
00033     DECLARE_EXTERN void addKirchhoffMaterial(int matType, 
00034                                              double density, 
00035                                              double young, 
00036                                              double poisson);
00037 
00038 #ifdef __cplusplus
00039 }
00040 #endif
00041 #undef DECLARE_EXTERN
00042 
00043 #endif 
00044 
00045 /* End of file */

Generated on Fri Aug 24 13:00:24 2007 for SFC Thin-Shell Finite Element Solver by  doxygen 1.4.7