00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 #ifndef PLANESTRESS_H
00014 #define PLANESTRESS_H
00015 
00016 #ifdef __cplusplus
00017 namespace shells {
00018 #define DECLARE_EXTERN extern "C"
00019 #else
00020 #define DECLARE_EXTERN extern
00021 #endif
00022     
00023     struct SurfacePropS;
00024 
00025 #if defined(ADLIB_MATERIAL_LIBRARY)
00026     struct material;
00027     
00028     DECLARE_EXTERN void planeStress (double Pnew[3][3], 
00029                                      double PK1PreviousStep[3][3], 
00030                                      struct SurfacePropS *gr, 
00031                                      struct SurfacePropS *gc, 
00032                                      double *stretch, 
00033                                      double *qnew, 
00034                                      double *PreviousStep, 
00035                                      struct material *mat, 
00036                                      struct SurfacePropS *ac, 
00037                                      double e3, 
00038                                      double *Du, 
00039                                      double Dunew[3][3], 
00040                                      double dtime);
00041     
00042     DECLARE_EXTERN double estimateAdlibYoungsModulus(struct material *mat);
00043 #elif defined(SHELL_NEWMAT_LIBRARY)
00044     struct MaterialBase;
00045     
00046      DECLARE_EXTERN void planeStress (double Pnew[3][3], 
00047                                      double PK1PreviousStep[3][3], 
00048                                      struct SurfacePropS *gr, 
00049                                      struct SurfacePropS *gc, 
00050                                      double *stretch, 
00051                                      double *qnew, 
00052                                      double *PreviousStep, 
00053                                      struct MaterialBase *mat, 
00054                                      struct SurfacePropS *ac, 
00055                                      double e3, 
00056                                      double *Du, 
00057                                      double Dunew[3][3], 
00058                                      double dtime);
00059     
00060 #endif
00061 
00062 #ifdef __cplusplus
00063 }
00064 #endif
00065 #undef DECLARE_EXTERN
00066 
00067 #endif