Ignore:
Timestamp:
05/18/10 21:22:39 (15 years ago)
Author:
Eric.Larour
Message:

Moved Friction2, now that it compiles, to Friction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/src/c/objects/Loads/Friction.h ΒΆ

    r3683 r3833  
    1 /*! \file Friction.h
    2  *  \brief Friction object, interface, declaration
     1/*!\file Friction.h
     2 * \brief: header file for friction object
    33 */
    44
    5 #ifndef _FRICTION_H
    6 #define _FRICTION_H
     5#ifndef _FRICTION_H_
     6#define _FRICTION_H_
    77
    8 /*!Friction declaration: */
    9 struct Friction {
     8/*Headers:*/
     9/*{{{1*/
     10class Inputs;
     11class Matpar;
     12/*}}}*/
    1013
    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;
     14class 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);
    2430
    2531};
    2632
    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.