Ignore:
Timestamp:
06/27/16 09:22:48 (9 years ago)
Author:
agscott1
Message:

Started alphabetizing function names under src/classes

File:
1 edited

Legend:

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

    r19198 r20810  
    2525
    2626                int         definitionenum;
     27                bool        local;     
     28                int         model_enum;
    2729                char*       name;
    28                 int         model_enum;
    2930                int         observation_enum;
     31                char*       timeinterpolation;
    3032                int         weights_enum;
    31                 char*       timeinterpolation;
    32                 bool        local;     
    3333               
     34                int         lock; // if lock is on, we just return the value stored in "misfit".  this is used so we don't compute misfit past the final_time
    3435                IssmDouble  misfit; //value carried over in time.
    35                 int         lock; // if lock is on, we just return the value stored in "misfit".  this is used so we don't compute misfit past the final_time
    3636               
    3737                /*Misfit constructors, destructors :*/
     
    7676                /*}}}*/
    7777                /*Object virtual function resolutoin: */
     78                Object* copy() {/*{{{*/
     79                        Misfit* mf = new Misfit(this->name,this->definitionenum, this->model_enum,this->observation_enum,this->timeinterpolation,this->local,this->weights_enum);
     80                        mf->misfit=this->misfit;
     81                        mf->lock=this->lock;
     82                        return (Object*) mf;
     83                }
     84                /*}}}*/
     85                void DeepEcho(void){/*{{{*/
     86                        this->Echo();
     87                }
     88                /*}}}*/
    7889                void Echo(void){/*{{{*/
    7990                        _printf_(" Misfit: " << name << " " << this->definitionenum << "\n");
     
    8596                }
    8697                /*}}}*/
    87                 void DeepEcho(void){/*{{{*/
    88                         this->Echo();
    89                 }
    90                 /*}}}*/
    9198                int Id(void){/*{{{*/
    9299                        return -1;
    93                 }
    94                 /*}}}*/
    95                 int ObjectEnum(void){/*{{{*/
    96                         return MisfitEnum;
    97                 }
    98                 /*}}}*/
    99                 Object* copy() {/*{{{*/
    100                         Misfit* mf = new Misfit(this->name,this->definitionenum, this->model_enum,this->observation_enum,this->timeinterpolation,this->local,this->weights_enum);
    101                         mf->misfit=this->misfit;
    102                         mf->lock=this->lock;
    103                         return (Object*) mf;
    104100                }
    105101                /*}}}*/
     
    108104                }
    109105                /*}}}*/
     106                int ObjectEnum(void){/*{{{*/
     107                        return MisfitEnum;
     108                }
     109                /*}}}*/
    110110                /*Definition virtual function resolutoin: */
     111                int DefinitionEnum(){/*{{{*/
     112
     113                        return this->definitionenum;
     114                }
     115                /*}}}*/
    111116                char* Name(){/*{{{*/
    112117
     
    115120
    116121                        return name2;
    117                 }
    118                 /*}}}*/
    119                 int DefinitionEnum(){/*{{{*/
    120 
    121                         return this->definitionenum;
    122122                }
    123123                /*}}}*/
Note: See TracChangeset for help on using the changeset viewer.