Ignore:
Timestamp:
09/01/20 13:22:48 (5 years ago)
Author:
Mathieu Morlighem
Message:

NEW: new way of Marshalling femmodel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Numberedcostfunction.h

    r22441 r25506  
    1515class Numberedcostfunction: public Object, public Definition{
    1616
    17 public:
     17        public:
    1818
    19 int   definitionenum;
    20 char* name;
    21 int   number_cost_functions;
    22 int*  cost_functions_list;
     19                int   definitionenum;
     20                char* name;
     21                int   number_cost_functions;
     22                int*  cost_functions_list;
    2323
    24 /*Numberedcostfunction constructors, destructors :*/
    25 Numberedcostfunction();
    26 Numberedcostfunction(char* in_name, int in_definitionenum,int number_cost_functions_in,int* cost_functions_list_in);
    27 ~Numberedcostfunction();
     24                /*Numberedcostfunction constructors, destructors :*/
     25                Numberedcostfunction();
     26                Numberedcostfunction(char* in_name, int in_definitionenum,int number_cost_functions_in,int* cost_functions_list_in);
     27                ~Numberedcostfunction();
    2828
    29 /*Object virtual function resolutoin: */
    30 Object* copy();
    31 void            DeepEcho(void);
    32 void            Echo(void);
    33 int             Id(void);
    34 void            Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction);
    35 int             ObjectEnum(void);
     29                /*Object virtual function resolutoin: */
     30                Object* copy();
     31                void            DeepEcho(void);
     32                void            Echo(void);
     33                int             Id(void);
     34                void            Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction);
     35                void            Marshall2(MarshallHandle* marshallhandle);
     36                int             ObjectEnum(void);
    3637
    37 /*Definition virtual function resolutoin: */
    38 int             DefinitionEnum();
    39 char*           Name();
    40 IssmDouble Response(FemModel* femmodel);
     38                /*Definition virtual function resolutoin: */
     39                int             DefinitionEnum();
     40                char*           Name();
     41                IssmDouble Response(FemModel* femmodel);
    4142};
    4243
Note: See TracChangeset for help on using the changeset viewer.