source: issm/oecreview/Archive/19101-20495/ISSM-20025-20026.diff@ 20498

Last change on this file since 20498 was 20498, checked in by Mathieu Morlighem, 9 years ago

CHG: done with Archive/19101-20495

File size: 1.3 KB
  • TabularUnified ../trunk-jpl/src/c/classes/Params/DoubleMatParam.h

     
    7171                void  SetValue(FILE* fid){_error_("Param "<< EnumToStringx(enum_type) << " cannot hold a FILE");}
    7272                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error_("Param "<< EnumToStringx(enum_type) << " cannot hold an array of matrices");}
    7373                /*}}}*/
     74                /*DoubleMatParam specific routines:{{{*/
     75                void  GetParameterValueByPointer(IssmDouble** pIssmDoublearray,int* pM,int* pN);
     76                /*}}}*/
    7477};
    7578#endif  /* _DOUBLEMATPARAM_H */
  • TabularUnified ../trunk-jpl/src/c/classes/Params/DoubleMatParam.cpp

     
    112112        this->N=in_N;
    113113}
    114114/*}}}*/
     115
     116/*DoubleMatParam specific routines:*/
     117void  DoubleMatParam::GetParameterValueByPointer(IssmDouble** pIssmDoublearray,int* pM,int* pN){/*{{{*/
     118       
     119        /*Assign output pointers:*/
     120        if(pM) *pM=M;
     121        if(pN) *pN=N;
     122        *pIssmDoublearray=value;
     123}
     124/*}}}*/
Note: See TracBrowser for help on using the repository browser.