Changeset 3833 for issm/trunk/src/c/objects/Loads/Friction.h
- Timestamp:
- 05/18/10 21:22:39 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk/src/c/objects/Loads/Friction.h ΒΆ
r3683 r3833 1 /*! 2 * \brief Friction object, interface, declaration1 /*!\file Friction.h 2 * \brief: header file for friction object 3 3 */ 4 4 5 #ifndef _FRICTION_H 6 #define _FRICTION_H 5 #ifndef _FRICTION_H_ 6 #define _FRICTION_H_ 7 7 8 /*!Friction declaration: */ 9 struct Friction { 8 /*Headers:*/ 9 /*{{{1*/ 10 class Inputs; 11 class Matpar; 12 /*}}}*/ 10 13 11 char* element_type; 12 double gravity; 13 double rho_ice; 14 double rho_water; 15 double* K; 16 double* bed; 17 double* thickness; 18 double* vx; 19 double* vy; 20 double* vz; 21 double p; 22 double q; 23 int analysis_type; 14 class Friction{ 15 16 public: 17 18 char* element_type; 19 Inputs* inputs; 20 Matpar* matpar; 21 22 /*methods: */ 23 Friction(); 24 Friction(char* element_type, Inputs* inputs,Matpar* matpar); 25 ~Friction(); 26 27 void Echo(void); 28 void GetAlpha2(double* palpha2, double* gauss,int vxenum,int vyenum,int vzenum); 29 void GetAlphaComplement(double* alpha_complement, double* gauss,int vxenum,int vyenum); 24 30 25 31 }; 26 32 27 28 /* creation, initialisation: */ 29 30 Friction* NewFriction(void); 31 int FrictionInit(Friction* friction); 32 void DeleteFriction(Friction** pfriction); 33 void FrictionGetAlpha2(double* alpha2, Friction* friction); 34 void FrictionGetAlphaComplement(double* alpha_complement, Friction* friction); 35 void FrictionEcho(Friction* friction); 36 37 #endif /* _FRICTION_H */ 38 33 #endif /* _FRICTION_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.