00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 #ifndef SELEMENTMASS_H
00014 #define SELEMENTMASS_H
00015 
00016 #include "definitions.h"
00017 
00018 
00019 #ifdef __cplusplus
00020 namespace shells {
00021 #define DECLARE_EXTERN extern "C"
00022 #else
00023 #define DECLARE_EXTERN extern
00024 #endif
00025     
00026     struct SElementS;
00027     struct InterpolationS;
00028 
00029     DECLARE_EXTERN void selementMass (double masselem[MAXVAL], 
00030                                       double xref[3][MAXVAL], 
00031                                       struct SElementS *element, 
00032                                       double thick);
00033     DECLARE_EXTERN void addLocalMass (double masselem[MAXVAL], 
00034                                       struct InterpolationS *interpol); 
00035     
00036 #ifdef __cplusplus
00037 }
00038 #endif
00039 #undef DECLARE_EXTERN
00040 
00041 #endif