Changeset 12494 for issm/trunk-jpl/src


Ignore:
Timestamp:
06/21/12 10:10:34 (13 years ago)
Author:
Mathieu Morlighem
Message:

replaced all _error_ to _error2_

Location:
issm/trunk-jpl/src/c
Files:
101 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/io/Disk/pfclose.cpp

    r12493 r12494  
    1818        extern int my_rank;
    1919        _assert_(fid);
    20         if(fclose(fid)!=0)_error2_("" << "could not close file " << filename);
     20        if(fclose(fid)!=0)_error2_("could not close file " << filename);
    2121}
  • issm/trunk-jpl/src/c/io/Disk/pfopen.cpp

    r12493 r12494  
    2020        /*Open handle to data on disk: */
    2121        fid=fopen(filename,format);
    22         if(fid==NULL) _error2_("" << "could not open file " << filename << " for binary reading or writing");
     22        if(fid==NULL) _error2_("could not open file " << filename << " for binary reading or writing");
    2323
    2424        return fid;
  • issm/trunk-jpl/src/c/modules/DakotaResponsesx/DakotaResponsesx.cpp

    r12493 r12494  
    104104                        }
    105105                }
    106                 else _error2_("" << " flag type " << flag << " not supported yet for response analysis");
     106                else _error2_(" flag type " << flag << " not supported yet for response analysis");
    107107        }
    108108
  • issm/trunk-jpl/src/c/modules/Dakotax/DescriptorIndex.cpp

    r12493 r12494  
    2323        /*retrieve first token, separated by underscore: */
    2424        pch = strtok (descriptor,"_");
    25         if(!pch)_error2_("" << " descriptor " << descriptor << " is not correctly formatted!");
     25        if(!pch)_error2_(" descriptor " << descriptor << " is not correctly formatted!");
    2626
    2727        if (strncmp(pch,"scaled",6)==0){
    2828                /*we have a scaled variable. recover the root: */
    2929                pch = strtok (NULL, "_");
    30                 if(!pch)_error2_("" << " scaled descriptor " << descriptor << " is not correctly formatted!");
     30                if(!pch)_error2_(" scaled descriptor " << descriptor << " is not correctly formatted!");
    3131                memcpy(root,pch,(strlen(pch)+1)*sizeof(char));
    3232
     
    4444                /*we have an indexed variable. recover the root: */
    4545                pch = strtok (NULL, "_");
    46                 if(!pch)_error2_("" << " indexed descriptor " << descriptor << " is not correctly formatted!");
     46                if(!pch)_error2_(" indexed descriptor " << descriptor << " is not correctly formatted!");
    4747                memcpy(root,pch,(strlen(pch)+1)*sizeof(char));
    4848                /*now recover  the index: */
    4949                pch = strtok (NULL, "_");
    50                 if(!pch)_error2_("" << " indexed descriptor " << descriptor << " is not correctly formatted!");
     50                if(!pch)_error2_(" indexed descriptor " << descriptor << " is not correctly formatted!");
    5151                sscanf(pch,"%i",pindex);
    5252                return IndexedEnum;
     
    5555                /*we have an indexed variable. recover the root: */
    5656                pch = strtok (NULL, "_");
    57                 if(!pch)_error2_("" << " nodal descriptor " << descriptor << " is not correctly formatted!");
     57                if(!pch)_error2_(" nodal descriptor " << descriptor << " is not correctly formatted!");
    5858                memcpy(root,pch,(strlen(pch)+1)*sizeof(char));
    5959                /*now recover  the index: */
    6060                pch = strtok (NULL, "_");
    61                 if(!pch)_error2_("" << " nodal descriptor " << descriptor << " is not correctly formatted!");
     61                if(!pch)_error2_(" nodal descriptor " << descriptor << " is not correctly formatted!");
    6262                sscanf(pch,"%i",pindex);
    6363                return NodalEnum;
  • issm/trunk-jpl/src/c/modules/ElementResponsex/ElementResponsex.cpp

    r12493 r12494  
    3939        #ifdef _HAVE_MPI_
    4040        MPI_Allreduce ( &found,&sumfound,1,MPI_INT,MPI_SUM,MPI_COMM_WORLD);
    41         if(!sumfound)_error2_("" << "could not find material with id" << index << " to compute ElementResponse");
     41        if(!sumfound)_error2_("could not find material with id" << index << " to compute ElementResponse");
    4242        #endif
    4343
  • issm/trunk-jpl/src/c/modules/GetVectorFromInputsx/GetVectorFromInputsx.cpp

    r12493 r12494  
    3232        }
    3333        else{
    34                 _error2_("" << " vector type: " << EnumToStringx(type) << " not supported yet!");
     34                _error2_(" vector type: " << EnumToStringx(type) << " not supported yet!");
    3535        }
    3636
  • issm/trunk-jpl/src/c/modules/GroundinglineMigrationx/GroundinglineMigrationx.cpp

    r12493 r12494  
    2727
    2828        if(migration_style==NoneEnum) return;
    29         if(migration_style!=AgressiveMigrationEnum && migration_style!=SoftMigrationEnum) _error2_("" << EnumToStringx(migration_style) << " not supported yet!");
     29        if(migration_style!=AgressiveMigrationEnum && migration_style!=SoftMigrationEnum) _error2_(EnumToStringx(migration_style) << " not supported yet!");
    3030
    3131        if(migration_style==SoftMigrationEnum){
  • issm/trunk-jpl/src/c/modules/IoModelToConstraintsx/IoModelToConstraintsx.cpp

    r12493 r12494  
    3838        fid=iomodel->SetFilePointerToData(&code, &vector_layout,vector_enum);
    3939
    40         if(code!=7)_error2_("" << " expecting a IssmDouble vector for constraints with enum " << EnumToStringx(vector_enum));
    41         if(vector_layout!=1)_error2_("" << " expecting a nodal vector for constraints with enum " << EnumToStringx(vector_enum));
     40        if(code!=7)_error2_(" expecting a IssmDouble vector for constraints with enum " << EnumToStringx(vector_enum));
     41        if(vector_layout!=1)_error2_(" expecting a nodal vector for constraints with enum " << EnumToStringx(vector_enum));
    4242
    4343        /*Fetch vector:*/
  • issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateDataSets.cpp

    r12493 r12494  
    124124
    125125                default:
    126                         _error2_("" << " analysis_type: " << EnumToStringx(analysis_type) << " not supported yet!");
     126                        _error2_(" analysis_type: " << EnumToStringx(analysis_type) << " not supported yet!");
    127127        }
    128128
  • issm/trunk-jpl/src/c/modules/NodalValuex/NodalValuex.cpp

    r12493 r12494  
    3838        #ifdef _HAVE_MPI_
    3939        MPI_Allreduce ( &found,&sumfound,1,MPI_INT,MPI_SUM,MPI_COMM_WORLD);
    40         if(!sumfound)_error2_("" << "could not find element with vertex with id" << index << " to compute nodal value " << EnumToStringx(natureofdataenum));
     40        if(!sumfound)_error2_("could not find element with vertex with id" << index << " to compute nodal value " << EnumToStringx(natureofdataenum));
    4141        #endif
    4242
  • issm/trunk-jpl/src/c/modules/NodeConnectivityx/NodeConnectivityx.cpp

    r12493 r12494  
    7171         * warn the user to increase the connectivity width: */
    7272        for(i=0;i<nods;i++){
    73                 if (*(connectivity+width*i+maxels)>maxels)_error2_("" << " max connectivity width reached (" << *(connectivity+width*i+maxels) << ")! increase width of connectivity table");
     73                if (*(connectivity+width*i+maxels)>maxels)_error2_(" max connectivity width reached (" << *(connectivity+width*i+maxels) << ")! increase width of connectivity table");
    7474        }
    7575
  • issm/trunk-jpl/src/c/modules/Solverx/SolverxPetsc.cpp

    r12493 r12494  
    136136        /*Check convergence*/
    137137        KSPGetIterationNumber(ksp,&iteration_number);
    138         if (iteration_number<0) _error2_("" << " Solver diverged at iteration number: " << -iteration_number);
     138        if (iteration_number<0) _error2_(" Solver diverged at iteration number: " << -iteration_number);
    139139
    140140        /*Free resources:*/
  • issm/trunk-jpl/src/c/objects/Bamg/BamgQuadtree.h

    r12229 r12494  
    2929                                        };
    3030                                        /*Object functions*/
    31                                         void    Echo()       {_error_("not implemented yet"); };
    32                                         void    DeepEcho()   {_error_("not implemented yet"); };
    33                                         int     Id()         {_error_("not implemented yet"); };
    34                                         int     MyRank()     {_error_("not implemented yet"); };
    35                                         int     ObjectEnum() {_error_("not implemented yet"); };
    36                                         Object *copy()       {_error_("not implemented yet"); };
     31                                        void    Echo()       {_error2_("not implemented yet"); };
     32                                        void    DeepEcho()   {_error2_("not implemented yet"); };
     33                                        int     Id()         {_error2_("not implemented yet"); };
     34                                        int     MyRank()     {_error2_("not implemented yet"); };
     35                                        int     ObjectEnum() {_error2_("not implemented yet"); };
     36                                        Object *copy()       {_error2_("not implemented yet"); };
    3737                        };
    3838
  • issm/trunk-jpl/src/c/objects/Bamg/ListofIntersectionTriangles.h

    r6412 r12494  
    3434                                        double c01=lEnd-lBegin, c0=(lEnd-s)/c01, c1=(s-lBegin)/c01;
    3535                                        if (lBegin>s || s>lEnd){
    36                                                 _error_("lBegin>s || s>lEnd");
     36                                                _error2_("lBegin>s || s>lEnd");
    3737                                        }
    3838                                        return e->F(sBegin*c0+sEnd*c1);
  • issm/trunk-jpl/src/c/objects/Bamg/Mesh.cpp

    r12493 r12494  
    35633563        }
    35643564        if(k) {
    3565                 _error2_("" << k << " boundary edges (from the geometry) are not defined as mesh edges");
     3565                _error2_(k << " boundary edges (from the geometry) are not defined as mesh edges");
    35663566        }
    35673567
  • issm/trunk-jpl/src/c/objects/DofIndexing.cpp

    r12493 r12494  
    143143                else this->sdoflist=NULL;
    144144        }
    145         else _error2_("" << " set of enum type " << EnumToStringx(setenum) << " not supported yet!");
     145        else _error2_(" set of enum type " << EnumToStringx(setenum) << " not supported yet!");
    146146}
    147147/*}}}*/
  • issm/trunk-jpl/src/c/objects/ElementResults/DoubleElementResult.h

    r12463 r12494  
    4848                /*DoubleElementResult management: {{{*/
    4949                int   InstanceEnum();
    50                 void GetVectorFromResults(Vector* vector,int* doflist,int* connectivitylist,int numdofs){_error_("not implemented");};
    51                 void GetElementVectorFromResults(Vector* vector,int dof){_error_("not implemented");};
     50                void GetVectorFromResults(Vector* vector,int* doflist,int* connectivitylist,int numdofs){_error2_("not implemented");};
     51                void GetElementVectorFromResults(Vector* vector,int dof){_error2_("not implemented");};
    5252                /*}}}*/
    5353};
  • issm/trunk-jpl/src/c/objects/Elements/Penta.cpp

    r12493 r12494  
    11531153                new_inputs[i]=(Input*)this->inputs->GetInput(enums[2*i+0]);
    11541154                old_inputs[i]=(Input*)this->inputs->GetInput(enums[2*i+1]);
    1155                 if(!new_inputs[i])_error2_("" << " could not find input with enum " << EnumToStringx(enums[2*i+0]));
    1156                 if(!old_inputs[i])_error2_("" << " could not find input with enum " << EnumToStringx(enums[2*i+0]));
     1155                if(!new_inputs[i])_error2_(" could not find input with enum " << EnumToStringx(enums[2*i+0]));
     1156                if(!old_inputs[i])_error2_(" could not find input with enum " << EnumToStringx(enums[2*i+0]));
    11571157        }
    11581158
     
    11861186                this->inputs->AddInput(new DoubleInput(name,(IssmDouble)scalar));
    11871187        }
    1188         else _error2_("" << " could not recognize nature of vector from code " << code);
     1188        else _error2_(" could not recognize nature of vector from code " << code);
    11891189
    11901190}
     
    12681268                                this->inputs->AddInput(new DoubleInput(vector_enum,(IssmDouble)vector[index]));
    12691269                        }
    1270                         else _error2_("" << " could not recognize nature of vector from code " << code);
     1270                        else _error2_(" could not recognize nature of vector from code " << code);
    12711271                }
    12721272                else {
  • issm/trunk-jpl/src/c/objects/Elements/PentaRef.h

    r12471 r12494  
    5656                void GetLprimeStokesMacAyeal(IssmDouble* LprimeStokesMacAyeal, IssmDouble* xyz_list, GaussPenta* gauss);
    5757                void GetInputValue(IssmDouble* pvalue,IssmDouble* plist, GaussPenta* gauss);
    58                 void GetInputValue(IssmDouble* pvalue,IssmDouble* plist,GaussTria* gauss){_error_("only PentaGauss are supported");};
     58                void GetInputValue(IssmDouble* pvalue,IssmDouble* plist,GaussTria* gauss){_error2_("only PentaGauss are supported");};
    5959                void GetInputDerivativeValue(IssmDouble* pvalues, IssmDouble* plist,IssmDouble* xyz_list, GaussPenta* gauss);
    60                 void GetInputDerivativeValue(IssmDouble* pvalues, IssmDouble* plist,IssmDouble* xyz_list, GaussTria* gauss){_error_("only PentaGauss are supported");};
     60                void GetInputDerivativeValue(IssmDouble* pvalues, IssmDouble* plist,IssmDouble* xyz_list, GaussTria* gauss){_error2_("only PentaGauss are supported");};
    6161
    6262};
  • issm/trunk-jpl/src/c/objects/Elements/Tria.cpp

    r12493 r12494  
    12521252                new_inputs[i]=(Input*)this->inputs->GetInput(enums[2*i+0]);
    12531253                old_inputs[i]=(Input*)this->inputs->GetInput(enums[2*i+1]);
    1254                 if(!new_inputs[i])_error2_("" << " could not find input with enum " << EnumToStringx(enums[2*i+0]));
    1255                 if(!old_inputs[i])_error2_("" << " could not find input with enum " << EnumToStringx(enums[2*i+0]));
     1254                if(!new_inputs[i])_error2_(" could not find input with enum " << EnumToStringx(enums[2*i+0]));
     1255                if(!old_inputs[i])_error2_(" could not find input with enum " << EnumToStringx(enums[2*i+0]));
    12561256        }
    12571257
     
    12821282        else
    12831283         _error2_("object " << EnumToStringx(object_enum) << " not supported yet");
    1284         if(!oldinput)_error2_("" << " could not find old input with enum: " << EnumToStringx(enum_type));
     1284        if(!oldinput)_error2_(" could not find old input with enum: " << EnumToStringx(enum_type));
    12851285        newinput=(Input*)oldinput->copy();
    12861286
     
    16571657                this->inputs->AddInput(new DoubleInput(name,(int)scalar));
    16581658        }
    1659         else _error2_("" << " could not recognize nature of vector from code " << code);
     1659        else _error2_(" could not recognize nature of vector from code " << code);
    16601660
    16611661}
     
    17391739                                this->inputs->AddInput(new DoubleInput(vector_enum,(IssmDouble)vector[index]));
    17401740                        }
    1741                         else _error2_("" << " could not recognize nature of vector from code " << code);
     1741                        else _error2_(" could not recognize nature of vector from code " << code);
    17421742                }
    17431743                else {
     
    26512651
    26522652        /*First off, check that this segment belongs to this element: */
    2653         if ((int)*(segment+4)!=this->id)_error2_("" << "error message: segment with id " << (int)*(segment+4) << " does not belong to element with id:" << this->id);
     2653        if ((int)*(segment+4)!=this->id)_error2_("error message: segment with id " << (int)*(segment+4) << " does not belong to element with id:" << this->id);
    26542654
    26552655        /*Recover segment node locations: */
     
    35383538                        break;
    35393539                default:
    3540                         _error2_("" << "control type not supported yet: " << control_type);
     3540                        _error2_("control type not supported yet: " << control_type);
    35413541        }
    35423542
  • issm/trunk-jpl/src/c/objects/Elements/Tria.h

    r12471 r12494  
    9999                void   InputToResult(int enum_type,int step,IssmDouble time);
    100100                void   DeleteResults(void);
    101                 void   MaterialUpdateFromTemperature(void){_error_("not implemented yet");};
     101                void   MaterialUpdateFromTemperature(void){_error2_("not implemented yet");};
    102102                void   MigrateGroundingLine(IssmDouble* oldfloating,IssmDouble* sheet_ungrounding);
    103103                int    NodalValue(IssmDouble* pvalue, int index, int natureofdataenum,bool process_units);
     
    109109                void   PatchSize(int* pnumrows, int* pnumvertices,int* pnumnodes);
    110110                void   ProcessResultsUnits(void);
    111                 void   ResetCoordinateSystem(void){_error_("not implemented yet");};
     111                void   ResetCoordinateSystem(void){_error2_("not implemented yet");};
    112112                IssmDouble SurfaceArea(void);
    113113                void   Update(int index, IoModel* iomodel,int analysis_counter,int analysis_type);
  • issm/trunk-jpl/src/c/objects/Hook.cpp

    r12493 r12494  
    185185                        this->objects[i]=(Object*)dataset->GetObjectById(this->offsets+i,this->ids[i]); //remember the offset for later on.
    186186                        /*check the id is correct!: */
    187                         if (this->objects[i]->Id()!=this->ids[i]) _error2_("" << " wrong id: " << this->objects[i]->Id() << " vs " << this->ids[i] << "  in resolved pointer!");
     187                        if (this->objects[i]->Id()!=this->ids[i]) _error2_(" wrong id: " << this->objects[i]->Id() << " vs " << this->ids[i] << "  in resolved pointer!");
    188188                }
    189189        }
     
    194194       
    195195        /*first, check that we only have one T object in our object list: */
    196         if (this->num!=1) _error2_("" << " trying to delivery a single hook object when hook holds " << this->num << " objects" << "\n");
     196        if (this->num!=1) _error2_(" trying to delivery a single hook object when hook holds " << this->num << " objects" << "\n");
    197197
    198198        /*check NULL: */
  • issm/trunk-jpl/src/c/objects/Inputs/BoolInput.h

    r12426 r12494  
    3737                int   InstanceEnum();
    3838                Input* SpawnTriaInput(int* indices);
    39                 Input* PointwiseDivide(Input* inputB){_error_("not implemented yet");};
    40                 Input* PointwiseMin(Input* inputB){_error_("not implemented yet");};
    41                 Input* PointwiseMax(Input* inputB){_error_("not implemented yet");};
     39                Input* PointwiseDivide(Input* inputB){_error2_("not implemented yet");};
     40                Input* PointwiseMin(Input* inputB){_error2_("not implemented yet");};
     41                Input* PointwiseMax(Input* inputB){_error2_("not implemented yet");};
    4242                ElementResult* SpawnResult(int step, IssmPDouble time);
    4343                void Configure(Parameters* parameters);
    44                 void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error_("not supported yet");};
     44                void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error2_("not supported yet");};
    4545                /*}}}*/
    4646                /*numerics: {{{*/
     
    4949                void GetInputValue(IssmPDouble* pvalue);
    5050                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss);
    51                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error_("not implemented yet");};
     51                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error2_("not implemented yet");};
    5252                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss);
    53                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");};
    54                 void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");};
     53                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error2_("not implemented yet");};
     54                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error2_("not implemented yet");};
    5555                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussTria* gauss);
    5656                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussPenta* gauss);
    57                 void GetInputAverage(IssmPDouble* pvalue){_error_("not implemented yet");};
    58                 void GetVxStrainRate2d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
    59                 void GetVyStrainRate2d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
    60                 void GetVxStrainRate3d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    61                 void GetVyStrainRate3d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    62                 void GetVzStrainRate3d(IssmPDouble* epsilonvz,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    63                 void GetVxStrainRate3dPattyn(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    64                 void GetVyStrainRate3dPattyn(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
     57                void GetInputAverage(IssmPDouble* pvalue){_error2_("not implemented yet");};
     58                void GetVxStrainRate2d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
     59                void GetVyStrainRate2d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
     60                void GetVxStrainRate3d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     61                void GetVyStrainRate3d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     62                void GetVzStrainRate3d(IssmPDouble* epsilonvz,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     63                void GetVxStrainRate3dPattyn(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     64                void GetVyStrainRate3dPattyn(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
    6565                void ChangeEnum(int newenumtype);
    6666                void SquareMin(IssmPDouble* psquaremin, bool process_units,Parameters* parameters);
    67                 void ConstrainMin(IssmPDouble minimum){_error_("not implemented yet");};
    68                 IssmPDouble InfinityNorm(void){_error_("InfinityNorm not implemented for booleans");};
    69                 IssmPDouble Max(void){_error_("Max not implemented for booleans");};
    70                 IssmPDouble MaxAbs(void){_error_("Max not implemented for booleans");};
    71                 IssmPDouble Min(void){_error_("Min not implemented for booleans");};
    72                 IssmPDouble MinAbs(void){_error_("Min not implemented for booleans");};
     67                void ConstrainMin(IssmPDouble minimum){_error2_("not implemented yet");};
     68                IssmPDouble InfinityNorm(void){_error2_("InfinityNorm not implemented for booleans");};
     69                IssmPDouble Max(void){_error2_("Max not implemented for booleans");};
     70                IssmPDouble MaxAbs(void){_error2_("Max not implemented for booleans");};
     71                IssmPDouble Min(void){_error2_("Min not implemented for booleans");};
     72                IssmPDouble MinAbs(void){_error2_("Min not implemented for booleans");};
    7373                void Scale(IssmPDouble scale_factor);
    74                 void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error_("not implemented yet");};
     74                void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error2_("not implemented yet");};
    7575                void AXPY(Input* xinput,IssmPDouble scalar);
    7676                void Constrain(IssmPDouble cm_min, IssmPDouble cm_max);
    7777                void Extrude(void);
    78                 void VerticallyIntegrate(Input* thickness_input){_error_("not supported yet");};
     78                void VerticallyIntegrate(Input* thickness_input){_error2_("not supported yet");};
    7979                void GetVectorFromInputs(Vector* vector,int* doflist);
    8080                void GetValuesPtr(IssmPDouble** pvalues,int* pnum_values);
  • issm/trunk-jpl/src/c/objects/Inputs/ControlInput.h

    r12426 r12494  
    4141                int    InstanceEnum();
    4242                Input* SpawnTriaInput(int* indices);
    43                 Input* PointwiseDivide(Input* inputB){_error_("not implemented yet");};
    44                 Input* PointwiseMin(Input* inputB){_error_("not implemented yet");};
    45                 Input* PointwiseMax(Input* inputB){_error_("not implemented yet");};
     43                Input* PointwiseDivide(Input* inputB){_error2_("not implemented yet");};
     44                Input* PointwiseMin(Input* inputB){_error2_("not implemented yet");};
     45                Input* PointwiseMax(Input* inputB){_error2_("not implemented yet");};
    4646                ElementResult* SpawnResult(int step, IssmPDouble time);
    47                 void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error_("not supported yet");};
     47                void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error2_("not supported yet");};
    4848                void Configure(Parameters* parameters);
    4949                /*}}}*/
     
    5454                void GetInputValue(IssmPDouble* pvalue);
    5555                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss);
    56                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error_("not implemented yet");};
     56                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error2_("not implemented yet");};
    5757                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss);
    58                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");};
    59                 void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");};
     58                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error2_("not implemented yet");};
     59                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error2_("not implemented yet");};
    6060                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussTria* gauss);
    6161                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussPenta* gauss);
    6262                void GetInputAverage(IssmPDouble* pvalue);
    63                 void GetVxStrainRate2d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
    64                 void GetVyStrainRate2d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
    65                 void GetVxStrainRate3d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    66                 void GetVyStrainRate3d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    67                 void GetVzStrainRate3d(IssmPDouble* epsilonvz,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    68                 void GetVxStrainRate3dPattyn(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    69                 void GetVyStrainRate3dPattyn(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    70                 void ChangeEnum(int newenumtype){_error_("not implemented yet");};
    71                 void SquareMin(IssmPDouble* psquaremin, bool process_units,Parameters* parameters){_error_("not implemented yet");};
    72                 void ConstrainMin(IssmPDouble minimum){_error_("not implemented yet");};
    73                 void Scale(IssmPDouble scale_factor){_error_("not implemented yet");};
    74                 void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error_("not implemented yet");};
    75                 void AXPY(Input* xinput,IssmPDouble scalar){_error_("not implemented yet");};
     63                void GetVxStrainRate2d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
     64                void GetVyStrainRate2d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
     65                void GetVxStrainRate3d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     66                void GetVyStrainRate3d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     67                void GetVzStrainRate3d(IssmPDouble* epsilonvz,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     68                void GetVxStrainRate3dPattyn(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     69                void GetVyStrainRate3dPattyn(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     70                void ChangeEnum(int newenumtype){_error2_("not implemented yet");};
     71                void SquareMin(IssmPDouble* psquaremin, bool process_units,Parameters* parameters){_error2_("not implemented yet");};
     72                void ConstrainMin(IssmPDouble minimum){_error2_("not implemented yet");};
     73                void Scale(IssmPDouble scale_factor){_error2_("not implemented yet");};
     74                void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error2_("not implemented yet");};
     75                void AXPY(Input* xinput,IssmPDouble scalar){_error2_("not implemented yet");};
    7676                void Constrain(void);
    7777                void Constrain(IssmPDouble min,IssmPDouble max);
    78                 IssmPDouble InfinityNorm(void){_error_("not implemented yet");};
    79                 IssmPDouble Max(void){_error_("not implemented yet");};
    80                 IssmPDouble MaxAbs(void){_error_("not implemented yet");};
    81                 IssmPDouble Min(void){_error_("not implemented yet");};
    82                 IssmPDouble MinAbs(void){_error_("not implemented yet");};
     78                IssmPDouble InfinityNorm(void){_error2_("not implemented yet");};
     79                IssmPDouble Max(void){_error2_("not implemented yet");};
     80                IssmPDouble MaxAbs(void){_error2_("not implemented yet");};
     81                IssmPDouble Min(void){_error2_("not implemented yet");};
     82                IssmPDouble MinAbs(void){_error2_("not implemented yet");};
    8383                void Extrude(void);
    8484                void VerticallyIntegrate(Input* thickness_input);
    8585                void GetVectorFromInputs(Vector* vector,int* doflist,const char* data);
    8686                void GetVectorFromInputs(Vector* vector,int* doflist);
    87                 void GetValuesPtr(IssmPDouble** pvalues,int* pnum_values){_error_("not implemented yet");};
     87                void GetValuesPtr(IssmPDouble** pvalues,int* pnum_values){_error2_("not implemented yet");};
    8888                ElementResult* SpawnGradient(int step, IssmPDouble time);
    8989                void GetGradient(Vector* gradient_vec,int* doflist);
  • issm/trunk-jpl/src/c/objects/Inputs/DatasetInput.h

    r12426 r12494  
    3737                int    InstanceEnum();
    3838                Input* SpawnTriaInput(int* indices);
    39                 Input* PointwiseDivide(Input* inputB){_error_("not implemented yet");};
    40                 Input* PointwiseMin(Input* inputB){_error_("not implemented yet");};
    41                 Input* PointwiseMax(Input* inputB){_error_("not implemented yet");};
    42                 ElementResult* SpawnResult(int step, IssmPDouble time){_error_("not implemented yet");};
    43                 void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error_("not supported yet");};
     39                Input* PointwiseDivide(Input* inputB){_error2_("not implemented yet");};
     40                Input* PointwiseMin(Input* inputB){_error2_("not implemented yet");};
     41                Input* PointwiseMax(Input* inputB){_error2_("not implemented yet");};
     42                ElementResult* SpawnResult(int step, IssmPDouble time){_error2_("not implemented yet");};
     43                void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error2_("not supported yet");};
    4444                void Configure(Parameters* parameters);
    4545                /*}}}*/
    4646                /*numeriics: {{{*/
    47                 void GetInputValue(bool* pvalue){_error_("not implemented yet");};
    48                 void GetInputValue(int* pvalue){_error_("not implemented yet");};
    49                 void GetInputValue(IssmPDouble* pvalue){_error_("not implemented yet");};
    50                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss){_error_("not implemented yet");};
    51                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error_("not implemented yet");};
    52                 void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss){_error_("not implemented yet");};
     47                void GetInputValue(bool* pvalue){_error2_("not implemented yet");};
     48                void GetInputValue(int* pvalue){_error2_("not implemented yet");};
     49                void GetInputValue(IssmPDouble* pvalue){_error2_("not implemented yet");};
     50                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss){_error2_("not implemented yet");};
     51                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error2_("not implemented yet");};
     52                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss){_error2_("not implemented yet");};
    5353                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index);
    54                 void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");};
    55                 void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
    56                 void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    57                 void GetInputAverage(IssmPDouble* pvalue){_error_("not implemented yet");};
    58                 void GetVxStrainRate2d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
    59                 void GetVyStrainRate2d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
    60                 void GetVxStrainRate3d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    61                 void GetVyStrainRate3d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    62                 void GetVzStrainRate3d(IssmPDouble* epsilonvz,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    63                 void GetVxStrainRate3dPattyn(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    64                 void GetVyStrainRate3dPattyn(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    65                 void ChangeEnum(int newenumtype){_error_("not implemented yet");};
    66                 void SquareMin(IssmPDouble* psquaremin, bool process_units,Parameters* parameters){_error_("not implemented yet");};
    67                 void ConstrainMin(IssmPDouble minimum){_error_("not implemented yet");};
    68                 void Scale(IssmPDouble scale_factor){_error_("not implemented yet");};
    69                 void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error_("not implemented yet");};
    70                 void AXPY(Input* xinput,IssmPDouble scalar){_error_("not implemented yet");};
    71                 void Constrain(void){_error_("not implemented yet");};
    72                 void Constrain(IssmPDouble min,IssmPDouble max){_error_("not implemented yet");};
    73                 IssmPDouble InfinityNorm(void){_error_("not implemented yet");};
    74                 IssmPDouble Max(void){_error_("not implemented yet");};
    75                 IssmPDouble MaxAbs(void){_error_("not implemented yet");};
    76                 IssmPDouble Min(void){_error_("not implemented yet");};
    77                 IssmPDouble MinAbs(void){_error_("not implemented yet");};
    78                 void Extrude(void){_error_("not implemented yet");};
    79                 void VerticallyIntegrate(Input* thickness_input){_error_("not implemented yet");};
    80                 void GetVectorFromInputs(Vector* vector,int* doflist){_error_("not implemented yet");};
    81                 void GetValuesPtr(IssmPDouble** pvalues,int* pnum_values){_error_("not implemented yet");};
    82                 ElementResult* SpawnGradient(int step, IssmPDouble time){_error_("not implemented yet");};
    83                 void GetGradient(Vector* gradient_vec,int* doflist){_error_("not implemented yet");};
    84                 void ScaleGradient(IssmPDouble scale){_error_("not implemented yet");};
    85                 void SetGradient(Input* gradient_in){_error_("not implemented yet");};
    86                 void UpdateValue(IssmPDouble scalar){_error_("not implemented yet");};
    87                 void SaveValue(void){_error_("not implemented yet");};
     54                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error2_("not implemented yet");};
     55                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
     56                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     57                void GetInputAverage(IssmPDouble* pvalue){_error2_("not implemented yet");};
     58                void GetVxStrainRate2d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
     59                void GetVyStrainRate2d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
     60                void GetVxStrainRate3d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     61                void GetVyStrainRate3d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     62                void GetVzStrainRate3d(IssmPDouble* epsilonvz,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     63                void GetVxStrainRate3dPattyn(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     64                void GetVyStrainRate3dPattyn(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     65                void ChangeEnum(int newenumtype){_error2_("not implemented yet");};
     66                void SquareMin(IssmPDouble* psquaremin, bool process_units,Parameters* parameters){_error2_("not implemented yet");};
     67                void ConstrainMin(IssmPDouble minimum){_error2_("not implemented yet");};
     68                void Scale(IssmPDouble scale_factor){_error2_("not implemented yet");};
     69                void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error2_("not implemented yet");};
     70                void AXPY(Input* xinput,IssmPDouble scalar){_error2_("not implemented yet");};
     71                void Constrain(void){_error2_("not implemented yet");};
     72                void Constrain(IssmPDouble min,IssmPDouble max){_error2_("not implemented yet");};
     73                IssmPDouble InfinityNorm(void){_error2_("not implemented yet");};
     74                IssmPDouble Max(void){_error2_("not implemented yet");};
     75                IssmPDouble MaxAbs(void){_error2_("not implemented yet");};
     76                IssmPDouble Min(void){_error2_("not implemented yet");};
     77                IssmPDouble MinAbs(void){_error2_("not implemented yet");};
     78                void Extrude(void){_error2_("not implemented yet");};
     79                void VerticallyIntegrate(Input* thickness_input){_error2_("not implemented yet");};
     80                void GetVectorFromInputs(Vector* vector,int* doflist){_error2_("not implemented yet");};
     81                void GetValuesPtr(IssmPDouble** pvalues,int* pnum_values){_error2_("not implemented yet");};
     82                ElementResult* SpawnGradient(int step, IssmPDouble time){_error2_("not implemented yet");};
     83                void GetGradient(Vector* gradient_vec,int* doflist){_error2_("not implemented yet");};
     84                void ScaleGradient(IssmPDouble scale){_error2_("not implemented yet");};
     85                void SetGradient(Input* gradient_in){_error2_("not implemented yet");};
     86                void UpdateValue(IssmPDouble scalar){_error2_("not implemented yet");};
     87                void SaveValue(void){_error2_("not implemented yet");};
    8888                /*}}}*/
    8989
  • issm/trunk-jpl/src/c/objects/Inputs/DoubleInput.h

    r12426 r12494  
    4040                Input* PointwiseMax(Input* inputB);
    4141                ElementResult* SpawnResult(int step, IssmPDouble time);
    42                 void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error_("not supported yet");};
     42                void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error2_("not supported yet");};
    4343                void Configure(Parameters* parameters);
    4444                /*}}}*/
     
    4848                void GetInputValue(IssmPDouble* pvalue);
    4949                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss);
    50                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error_("not implemented yet");};
     50                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error2_("not implemented yet");};
    5151                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss);
    52                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");};
    53                 void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");};
     52                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error2_("not implemented yet");};
     53                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error2_("not implemented yet");};
    5454                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussTria* gauss);
    5555                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussPenta* gauss);
     
    6666                void ConstrainMin(IssmPDouble minimum);
    6767                void Scale(IssmPDouble scale_factor);
    68                 void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error_("not implemented yet");};
     68                void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error2_("not implemented yet");};
    6969                void AXPY(Input* xinput,IssmPDouble scalar);
    7070                void Constrain(IssmPDouble cm_min, IssmPDouble cm_max);
    71                 IssmPDouble InfinityNorm(void){_error_("not implemented yet");};
     71                IssmPDouble InfinityNorm(void){_error2_("not implemented yet");};
    7272                IssmPDouble Max(void);
    7373                IssmPDouble MaxAbs(void);
    7474                IssmPDouble Min(void);
    7575                IssmPDouble MinAbs(void);
    76                 void Extrude(void){_error_("not supported yet");};
     76                void Extrude(void){_error2_("not supported yet");};
    7777                void VerticallyIntegrate(Input* thickness_input);
    7878                void GetVectorFromInputs(Vector* vector,int* doflist);
  • issm/trunk-jpl/src/c/objects/Inputs/IntInput.h

    r12426 r12494  
    3737                int   InstanceEnum();
    3838                Input* SpawnTriaInput(int* indices);
    39                 Input* PointwiseDivide(Input* inputB){_error_("not implemented yet");};
    40                 Input* PointwiseMin(Input* inputB){_error_("not implemented yet");};
    41                 Input* PointwiseMax(Input* inputB){_error_("not implemented yet");};
     39                Input* PointwiseDivide(Input* inputB){_error2_("not implemented yet");};
     40                Input* PointwiseMin(Input* inputB){_error2_("not implemented yet");};
     41                Input* PointwiseMax(Input* inputB){_error2_("not implemented yet");};
    4242                ElementResult* SpawnResult(int step, IssmPDouble time);
    43                 void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error_("not supported yet");};
     43                void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error2_("not supported yet");};
    4444                void Configure(Parameters* parameters);
    4545                /*}}}*/
     
    4949                void GetInputValue(IssmPDouble* pvalue);
    5050                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss);
    51                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error_("not implemented yet");};
     51                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error2_("not implemented yet");};
    5252                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss);
    53                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");};
    54                 void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");};
     53                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error2_("not implemented yet");};
     54                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error2_("not implemented yet");};
    5555                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussTria* gauss);
    5656                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussPenta* gauss);
    57                 void GetInputAverage(IssmPDouble* pvalue){_error_("not implemented yet");};
    58                 void GetVxStrainRate2d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
    59                 void GetVyStrainRate2d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
    60                 void GetVxStrainRate3d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    61                 void GetVyStrainRate3d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    62                 void GetVzStrainRate3d(IssmPDouble* epsilonvz,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    63                 void GetVxStrainRate3dPattyn(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    64                 void GetVyStrainRate3dPattyn(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
     57                void GetInputAverage(IssmPDouble* pvalue){_error2_("not implemented yet");};
     58                void GetVxStrainRate2d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
     59                void GetVyStrainRate2d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
     60                void GetVxStrainRate3d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     61                void GetVyStrainRate3d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     62                void GetVzStrainRate3d(IssmPDouble* epsilonvz,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     63                void GetVxStrainRate3dPattyn(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     64                void GetVyStrainRate3dPattyn(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
    6565                void ChangeEnum(int newenumtype);
    6666                void SquareMin(IssmPDouble* psquaremin, bool process_units,Parameters* parameters);
    67                 void ConstrainMin(IssmPDouble minimum){_error_("not implemented yet");};
     67                void ConstrainMin(IssmPDouble minimum){_error2_("not implemented yet");};
    6868                void Scale(IssmPDouble scale_factor);
    69                 void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error_("not implemented yet");};
     69                void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error2_("not implemented yet");};
    7070                void AXPY(Input* xinput,IssmPDouble scalar);
    7171                void Constrain(IssmPDouble cm_min, IssmPDouble cm_max);
    72                 IssmPDouble InfinityNorm(void){_error_("InfinityNorm not implemented for integers");};
    73                 IssmPDouble Max(void){_error_("Max not implemented for integers");};
    74                 IssmPDouble MaxAbs(void){_error_("Max not implemented for integers");};
    75                 IssmPDouble Min(void){_error_("Min not implemented for integers");};
    76                 IssmPDouble MinAbs(void){_error_("Min not implemented for integers");};
    77                 void Extrude(void){_error_("not supported yet");};
    78                 void VerticallyIntegrate(Input* thickness_input){_error_("not supported yet");};
     72                IssmPDouble InfinityNorm(void){_error2_("InfinityNorm not implemented for integers");};
     73                IssmPDouble Max(void){_error2_("Max not implemented for integers");};
     74                IssmPDouble MaxAbs(void){_error2_("Max not implemented for integers");};
     75                IssmPDouble Min(void){_error2_("Min not implemented for integers");};
     76                IssmPDouble MinAbs(void){_error2_("Min not implemented for integers");};
     77                void Extrude(void){_error2_("not supported yet");};
     78                void VerticallyIntegrate(Input* thickness_input){_error2_("not supported yet");};
    7979                void GetVectorFromInputs(Vector* vector,int* doflist);
    8080                void GetValuesPtr(IssmPDouble** pvalues,int* pnum_values);
  • issm/trunk-jpl/src/c/objects/Inputs/PentaP1Input.h

    r12426 r12494  
    4141                Input* PointwiseMax(Input* inputB);
    4242                ElementResult* SpawnResult(int step, IssmPDouble time);
    43                 void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error_("not supported yet");};
     43                void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error2_("not supported yet");};
    4444                void Configure(Parameters* parameters);
    4545                /*}}}*/
    4646                /*numerics: {{{*/
    47                 void GetInputValue(bool* pvalue){_error_("not implemented yet");};
    48                 void GetInputValue(int* pvalue){_error_("not implemented yet");};
    49                 void GetInputValue(IssmPDouble* pvalue){_error_("not implemented yet");};
    50                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss){_error_("not implemented yet");};
    51                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error_("not implemented yet");};
     47                void GetInputValue(bool* pvalue){_error2_("not implemented yet");};
     48                void GetInputValue(int* pvalue){_error2_("not implemented yet");};
     49                void GetInputValue(IssmPDouble* pvalue){_error2_("not implemented yet");};
     50                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss){_error2_("not implemented yet");};
     51                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error2_("not implemented yet");};
    5252                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss);
    53                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");};
    54                 void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");};
    55                 void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
     53                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error2_("not implemented yet");};
     54                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error2_("not implemented yet");};
     55                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
    5656                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussPenta* gauss);
    5757                void GetInputAverage(IssmPDouble* pvalue);
    58                 void GetVxStrainRate2d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
    59                 void GetVyStrainRate2d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
     58                void GetVxStrainRate2d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
     59                void GetVyStrainRate2d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
    6060                void GetVxStrainRate3d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss);
    6161                void GetVyStrainRate3d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss);
     
    6868                void ConstrainMin(IssmPDouble minimum);
    6969                void Scale(IssmPDouble scale_factor);
    70                 void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error_("not implemented yet");};
     70                void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error2_("not implemented yet");};
    7171                void AXPY(Input* xinput,IssmPDouble scalar);
    7272                void Constrain(IssmPDouble cm_min, IssmPDouble cm_max);
  • issm/trunk-jpl/src/c/objects/Inputs/TransientInput.h

    r12426 r12494  
    4040                int    InstanceEnum();
    4141                Input* SpawnTriaInput(int* indices);
    42                 Input* PointwiseDivide(Input* forcingB){_error_("not implemented yet");};
    43                 Input* PointwiseMin(Input* forcingB){_error_("not implemented yet");};
    44                 Input* PointwiseMax(Input* forcingB){_error_("not implemented yet");};
     42                Input* PointwiseDivide(Input* forcingB){_error2_("not implemented yet");};
     43                Input* PointwiseMin(Input* forcingB){_error2_("not implemented yet");};
     44                Input* PointwiseMax(Input* forcingB){_error2_("not implemented yet");};
    4545                ElementResult* SpawnResult(int step, IssmPDouble time);
    4646                void Configure(Parameters* parameters);
    4747                /*}}}*/
    4848                /*numerics: {{{*/
    49                 void GetInputValue(bool* pvalue){_error_("not implemented yet");};
    50                 void GetInputValue(int* pvalue){_error_("not implemented yet");};
    51                 void GetInputValue(IssmPDouble* pvalue){_error_("not implemented yet");};
     49                void GetInputValue(bool* pvalue){_error2_("not implemented yet");};
     50                void GetInputValue(int* pvalue){_error2_("not implemented yet");};
     51                void GetInputValue(IssmPDouble* pvalue){_error2_("not implemented yet");};
    5252                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss);
    5353                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time);
    54                 void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss){_error_("not implemented yet");};
    55                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");};
    56                 void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");};
     54                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss){_error2_("not implemented yet");};
     55                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error2_("not implemented yet");};
     56                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss ,int index){_error2_("not implemented yet");};
    5757                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussTria* gauss);
    58                 void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
     58                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
    5959                void GetInputAverage(IssmPDouble* pvalue);
    60                 void GetVxStrainRate2d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
    61                 void GetVyStrainRate2d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
    62                 void GetVxStrainRate3d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    63                 void GetVyStrainRate3d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    64                 void GetVzStrainRate3d(IssmPDouble* epsilonvz,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    65                 void GetVxStrainRate3dPattyn(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    66                 void GetVyStrainRate3dPattyn(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
     60                void GetVxStrainRate2d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
     61                void GetVyStrainRate2d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussTria* gauss){_error2_("not implemented yet");};
     62                void GetVxStrainRate3d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     63                void GetVyStrainRate3d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     64                void GetVzStrainRate3d(IssmPDouble* epsilonvz,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     65                void GetVxStrainRate3dPattyn(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     66                void GetVyStrainRate3dPattyn(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
    6767                void ChangeEnum(int newenumtype);
    6868
    6969                void SquareMin(IssmPDouble* psquaremin, bool process_units,Parameters* parameters);
    70                 void ConstrainMin(IssmPDouble minimum){_error_("not implemented yet");};
    71                 void Scale(IssmPDouble scale_factor){_error_("not implemented yet");};
    72                 void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error_("not implemented yet");};
    73                 void AXPY(Input* xforcing,IssmPDouble scalar){_error_("not implemented yet");};
    74                 void Constrain(IssmPDouble cm_min, IssmPDouble cm_max){_error_("not implemented yet");};
     70                void ConstrainMin(IssmPDouble minimum){_error2_("not implemented yet");};
     71                void Scale(IssmPDouble scale_factor){_error2_("not implemented yet");};
     72                void ArtificialNoise(IssmPDouble min,IssmPDouble max){_error2_("not implemented yet");};
     73                void AXPY(Input* xforcing,IssmPDouble scalar){_error2_("not implemented yet");};
     74                void Constrain(IssmPDouble cm_min, IssmPDouble cm_max){_error2_("not implemented yet");};
    7575                IssmPDouble InfinityNorm(void);
    7676                IssmPDouble Max(void);
     
    7878                IssmPDouble Min(void);
    7979                IssmPDouble MinAbs(void);
    80                 void Extrude(void){_error_("not supported yet");}
    81                 void VerticallyIntegrate(Input* thickness_forcing){_error_("not supported yet");};
     80                void Extrude(void){_error2_("not supported yet");}
     81                void VerticallyIntegrate(Input* thickness_forcing){_error2_("not supported yet");};
    8282                void GetVectorFromInputs(Vector* vector,int* doflist);
    83                 void GetValuesPtr(IssmPDouble** pvalues,int* pnum_values){_error_("not supported yet");};
    84       void GetTimeValues(IssmPDouble* values,IssmPDouble time){_error_("not implemented yet");};
     83                void GetValuesPtr(IssmPDouble** pvalues,int* pnum_values){_error2_("not supported yet");};
     84      void GetTimeValues(IssmPDouble* values,IssmPDouble time){_error2_("not implemented yet");};
    8585                Input* GetTimeInput(IssmPDouble time);
    8686                /*}}}*/
  • issm/trunk-jpl/src/c/objects/Inputs/TriaP1Input.h

    r12426 r12494  
    3737                int   InstanceEnum();
    3838                Input* SpawnTriaInput(int* indices);
    39                 Input* PointwiseDivide(Input* inputB){_error_("not implemented yet");};
     39                Input* PointwiseDivide(Input* inputB){_error2_("not implemented yet");};
    4040                Input* PointwiseMin(Input* inputB);
    4141                Input* PointwiseMax(Input* inputB);
    4242                ElementResult* SpawnResult(int step, IssmPDouble time);
    43                 void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error_("not supported yet");};
     43                void AddTimeValues(IssmPDouble* values,int step,IssmPDouble time){_error2_("not supported yet");};
    4444                void Configure(Parameters* parameters);
    4545                /*}}}*/
    4646                /*numerics: {{{*/
    47                 void GetInputValue(bool* pvalue){_error_("not implemented yet");}
    48                 void GetInputValue(int* pvalue){_error_("not implemented yet");}
    49                 void GetInputValue(IssmPDouble* pvalue){_error_("not implemented yet");}
     47                void GetInputValue(bool* pvalue){_error2_("not implemented yet");}
     48                void GetInputValue(int* pvalue){_error2_("not implemented yet");}
     49                void GetInputValue(IssmPDouble* pvalue){_error2_("not implemented yet");}
    5050                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss);
    51                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error_("not implemented yet");};
    52                 void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss){_error_("not implemented yet");};
    53                 void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");};
    54                 void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss,int index){_error_("not implemented yet");};
     51                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss,IssmPDouble time){_error2_("not implemented yet");};
     52                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss){_error2_("not implemented yet");};
     53                void GetInputValue(IssmPDouble* pvalue,GaussTria* gauss ,int index){_error2_("not implemented yet");};
     54                void GetInputValue(IssmPDouble* pvalue,GaussPenta* gauss,int index){_error2_("not implemented yet");};
    5555                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussTria* gauss);
    56                 void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
     56                void GetInputDerivativeValue(IssmPDouble* derivativevalues, IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
    5757                void GetInputAverage(IssmPDouble* pvalue);
    5858                void GetVxStrainRate2d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussTria* gauss);
    5959                void GetVyStrainRate2d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussTria* gauss);
    60                 void GetVxStrainRate3d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    61                 void GetVyStrainRate3d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    62                 void GetVzStrainRate3d(IssmPDouble* epsilonvz,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    63                 void GetVxStrainRate3dPattyn(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
    64                 void GetVyStrainRate3dPattyn(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
     60                void GetVxStrainRate3d(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     61                void GetVyStrainRate3d(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     62                void GetVzStrainRate3d(IssmPDouble* epsilonvz,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     63                void GetVxStrainRate3dPattyn(IssmPDouble* epsilonvx,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
     64                void GetVyStrainRate3dPattyn(IssmPDouble* epsilonvy,IssmPDouble* xyz_list, GaussPenta* gauss){_error2_("not implemented yet");};
    6565                void ChangeEnum(int newenumtype);
    6666
     
    7676                IssmPDouble Min(void);
    7777                IssmPDouble MinAbs(void);
    78                 void Extrude(void){_error_("not supported yet");};
    79                 void VerticallyIntegrate(Input* thickness_input){_error_("not supported yet");};
     78                void Extrude(void){_error2_("not supported yet");};
     79                void VerticallyIntegrate(Input* thickness_input){_error2_("not supported yet");};
    8080                void GetVectorFromInputs(Vector* vector,int* doflist);
    8181                void GetValuesPtr(IssmPDouble** pvalues,int* pnum_values);
  • issm/trunk-jpl/src/c/objects/IoModel.cpp

    r12493 r12494  
    360360
    361361                                        default:
    362                                                 _error2_("" << "unknown record type:" << record_code);
     362                                                _error2_("unknown record type:" << record_code);
    363363                                                break;;
    364364                                }
     
    428428
    429429                                default:
    430                                         _error2_("" << "unknown record type:" << record_code);
     430                                        _error2_("unknown record type:" << record_code);
    431431                                        break;;
    432432                                }
     
    826826
    827827                        if(my_rank==0){ 
    828                                 if(fread(&M,sizeof(int),1,fid)!=1) _error2_("" << "could not read number of rows in " << i << "th matrix of matrix array");
     828                                if(fread(&M,sizeof(int),1,fid)!=1) _error2_("could not read number of rows in " << i << "th matrix of matrix array");
    829829                        }
    830830                        #ifdef _HAVE_MPI_
     
    833833
    834834                        if(my_rank==0){ 
    835                                 if(fread(&N,sizeof(int),1,fid)!=1) _error2_("" << "could not read number of columns in " << i << "th matrix of matrix array");
     835                                if(fread(&N,sizeof(int),1,fid)!=1) _error2_("could not read number of columns in " << i << "th matrix of matrix array");
    836836                        }
    837837                        #ifdef _HAVE_MPI_
     
    11371137                        break; /*}}}*/
    11381138                default: /*{{{*/
    1139                         _error2_("" << "data code " << code << " not supported yet!");
     1139                        _error2_("data code " << code << " not supported yet!");
    11401140                        break;
    11411141                        /*}}}*/
     
    12281228#ifdef _HAVE_MPI_
    12291229        MPI_Bcast(&found,1,MPI_INT,0,MPI_COMM_WORLD);
    1230         if(!found)_error2_("" << "could not find data with name" << " " << EnumToStringx(data_enum) << " ");
     1230        if(!found)_error2_("could not find data with name" << " " << EnumToStringx(data_enum) << " ");
    12311231#endif
    12321232
  • issm/trunk-jpl/src/c/objects/KML/KML_Attribute.h

    r12365 r12494  
    3030                virtual void  DeepEcho();
    3131                virtual void  DeepEcho(const char* indent);
    32                 int   Id(){_error_("Not implemented yet.");};
    33                 int   MyRank(){_error_("Not implemented yet.");};
    34                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    35                 int   MarshallSize(){_error_("Not implemented yet.");};
    36                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    37                 int   ObjectEnum(){_error_("Not implemented yet.");};
    38                 Object* copy(){_error_("Not implemented yet.");};
     32                int   Id(){_error2_("Not implemented yet.");};
     33                int   MyRank(){_error2_("Not implemented yet.");};
     34                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     35                int   MarshallSize(){_error2_("Not implemented yet.");};
     36                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     37                int   ObjectEnum(){_error2_("Not implemented yet.");};
     38                Object* copy(){_error2_("Not implemented yet.");};
    3939                /*}}}*/
    4040
  • issm/trunk-jpl/src/c/objects/KML/KML_ColorStyle.h

    r12365 r12494  
    3535                void  Write(FILE* fid,const char* indent);
    3636                void  Read(FILE* fid,char* kstr);
    37                 int   Id(){_error_("Not implemented yet.");};
    38                 int   MyRank(){_error_("Not implemented yet.");};
    39                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    40                 int   MarshallSize(){_error_("Not implemented yet.");};
    41                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    42                 int   ObjectEnum(){_error_("Not implemented yet.");};
    43                 Object* copy(){_error_("Not implemented yet.");};
     37                int   Id(){_error2_("Not implemented yet.");};
     38                int   MyRank(){_error2_("Not implemented yet.");};
     39                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     40                int   MarshallSize(){_error2_("Not implemented yet.");};
     41                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     42                int   ObjectEnum(){_error2_("Not implemented yet.");};
     43                Object* copy(){_error2_("Not implemented yet.");};
    4444                /*}}}*/
    4545
  • issm/trunk-jpl/src/c/objects/KML/KML_Comment.h

    r12365 r12494  
    3030                virtual void  DeepEcho();
    3131                virtual void  DeepEcho(const char* indent);
    32                 int   Id(){_error_("Not implemented yet.");};
    33                 int   MyRank(){_error_("Not implemented yet.");};
    34                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    35                 int   MarshallSize(){_error_("Not implemented yet.");};
    36                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    37                 int   ObjectEnum(){_error_("Not implemented yet.");};
    38                 Object* copy(){_error_("Not implemented yet.");};
     32                int   Id(){_error2_("Not implemented yet.");};
     33                int   MyRank(){_error2_("Not implemented yet.");};
     34                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     35                int   MarshallSize(){_error2_("Not implemented yet.");};
     36                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     37                int   ObjectEnum(){_error2_("Not implemented yet.");};
     38                Object* copy(){_error2_("Not implemented yet.");};
    3939                /*}}}*/
    4040
  • issm/trunk-jpl/src/c/objects/KML/KML_Container.h

    r12365 r12494  
    3333                void  Read(FILE* fid,char* kstr);
    3434                void  WriteExp(FILE* fid,const char* nstr,int sgn,double cm,double sp);
    35                 int   Id(){_error_("Not implemented yet.");};
    36                 int   MyRank(){_error_("Not implemented yet.");};
    37                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    38                 int   MarshallSize(){_error_("Not implemented yet.");};
    39                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    40                 int   ObjectEnum(){_error_("Not implemented yet.");};
    41                 Object* copy(){_error_("Not implemented yet.");};
     35                int   Id(){_error2_("Not implemented yet.");};
     36                int   MyRank(){_error2_("Not implemented yet.");};
     37                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     38                int   MarshallSize(){_error2_("Not implemented yet.");};
     39                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     40                int   ObjectEnum(){_error2_("Not implemented yet.");};
     41                Object* copy(){_error2_("Not implemented yet.");};
    4242                /*}}}*/
    4343
  • issm/trunk-jpl/src/c/objects/KML/KML_Document.h

    r12365 r12494  
    3030                void  Write(FILE* fid,const char* indent);
    3131                void  Read(FILE* fid,char* kstr);
    32                 int   Id(){_error_("Not implemented yet.");};
    33                 int   MyRank(){_error_("Not implemented yet.");};
    34                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    35                 int   MarshallSize(){_error_("Not implemented yet.");};
    36                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    37                 int   ObjectEnum(){_error_("Not implemented yet.");};
    38                 Object* copy(){_error_("Not implemented yet.");};
     32                int   Id(){_error2_("Not implemented yet.");};
     33                int   MyRank(){_error2_("Not implemented yet.");};
     34                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     35                int   MarshallSize(){_error2_("Not implemented yet.");};
     36                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     37                int   ObjectEnum(){_error2_("Not implemented yet.");};
     38                Object* copy(){_error2_("Not implemented yet.");};
    3939                /*}}}*/
    4040
  • issm/trunk-jpl/src/c/objects/KML/KML_Feature.h

    r12365 r12494  
    4444                void  Write(FILE* fid,const char* indent);
    4545                void  Read(FILE* fid,char* kstr);
    46                 int   Id(){_error_("Not implemented yet.");};
    47                 int   MyRank(){_error_("Not implemented yet.");};
    48                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    49                 int   MarshallSize(){_error_("Not implemented yet.");};
    50                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    51                 int   ObjectEnum(){_error_("Not implemented yet.");};
    52                 Object* copy(){_error_("Not implemented yet.");};
     46                int   Id(){_error2_("Not implemented yet.");};
     47                int   MyRank(){_error2_("Not implemented yet.");};
     48                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     49                int   MarshallSize(){_error2_("Not implemented yet.");};
     50                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     51                int   ObjectEnum(){_error2_("Not implemented yet.");};
     52                Object* copy(){_error2_("Not implemented yet.");};
    5353                /*}}}*/
    5454
  • issm/trunk-jpl/src/c/objects/KML/KML_File.h

    r12365 r12494  
    3131                void  Read(FILE* fid,char* kstr);
    3232                void  WriteExp(FILE* fid,const char* nstr,int sgn,double cm,double sp);
    33                 int   Id(){_error_("Not implemented yet.");};
    34                 int   MyRank(){_error_("Not implemented yet.");};
    35                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    36                 int   MarshallSize(){_error_("Not implemented yet.");};
    37                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    38                 int   ObjectEnum(){_error_("Not implemented yet.");};
    39                 Object* copy(){_error_("Not implemented yet.");};
     33                int   Id(){_error2_("Not implemented yet.");};
     34                int   MyRank(){_error2_("Not implemented yet.");};
     35                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     36                int   MarshallSize(){_error2_("Not implemented yet.");};
     37                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     38                int   ObjectEnum(){_error2_("Not implemented yet.");};
     39                Object* copy(){_error2_("Not implemented yet.");};
    4040                /*}}}*/
    4141
  • issm/trunk-jpl/src/c/objects/KML/KML_Folder.h

    r12365 r12494  
    3030                void  Write(FILE* fid,const char* indent);
    3131                void  Read(FILE* fid,char* kstr);
    32                 int   Id(){_error_("Not implemented yet.");};
    33                 int   MyRank(){_error_("Not implemented yet.");};
    34                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    35                 int   MarshallSize(){_error_("Not implemented yet.");};
    36                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    37                 int   ObjectEnum(){_error_("Not implemented yet.");};
    38                 Object* copy(){_error_("Not implemented yet.");};
     32                int   Id(){_error2_("Not implemented yet.");};
     33                int   MyRank(){_error2_("Not implemented yet.");};
     34                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     35                int   MarshallSize(){_error2_("Not implemented yet.");};
     36                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     37                int   ObjectEnum(){_error2_("Not implemented yet.");};
     38                Object* copy(){_error2_("Not implemented yet.");};
    3939                /*}}}*/
    4040
  • issm/trunk-jpl/src/c/objects/KML/KML_Geometry.h

    r12365 r12494  
    2929                void  Write(FILE* fid,const char* indent);
    3030                void  Read(FILE* fid,char* kstr);
    31                 int   Id(){_error_("Not implemented yet.");};
    32                 int   MyRank(){_error_("Not implemented yet.");};
    33                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    34                 int   MarshallSize(){_error_("Not implemented yet.");};
    35                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    36                 int   ObjectEnum(){_error_("Not implemented yet.");};
    37                 Object* copy(){_error_("Not implemented yet.");};
     31                int   Id(){_error2_("Not implemented yet.");};
     32                int   MyRank(){_error2_("Not implemented yet.");};
     33                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     34                int   MarshallSize(){_error2_("Not implemented yet.");};
     35                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     36                int   ObjectEnum(){_error2_("Not implemented yet.");};
     37                Object* copy(){_error2_("Not implemented yet.");};
    3838                /*}}}*/
    3939
  • issm/trunk-jpl/src/c/objects/KML/KML_GroundOverlay.h

    r12365 r12494  
    3636                void  Write(FILE* fid,const char* indent);
    3737                void  Read(FILE* fid,char* kstr);
    38                 int   Id(){_error_("Not implemented yet.");};
    39                 int   MyRank(){_error_("Not implemented yet.");};
    40                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    41                 int   MarshallSize(){_error_("Not implemented yet.");};
    42                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    43                 int   ObjectEnum(){_error_("Not implemented yet.");};
    44                 Object* copy(){_error_("Not implemented yet.");};
     38                int   Id(){_error2_("Not implemented yet.");};
     39                int   MyRank(){_error2_("Not implemented yet.");};
     40                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     41                int   MarshallSize(){_error2_("Not implemented yet.");};
     42                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     43                int   ObjectEnum(){_error2_("Not implemented yet.");};
     44                Object* copy(){_error2_("Not implemented yet.");};
    4545                /*}}}*/
    4646
  • issm/trunk-jpl/src/c/objects/KML/KML_Icon.h

    r12365 r12494  
    4444                void  Write(FILE* fid,const char* indent);
    4545                void  Read(FILE* fid,char* kstr);
    46                 int   Id(){_error_("Not implemented yet.");};
    47                 int   MyRank(){_error_("Not implemented yet.");};
    48                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    49                 int   MarshallSize(){_error_("Not implemented yet.");};
    50                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    51                 int   ObjectEnum(){_error_("Not implemented yet.");};
    52                 Object* copy(){_error_("Not implemented yet.");};
     46                int   Id(){_error2_("Not implemented yet.");};
     47                int   MyRank(){_error2_("Not implemented yet.");};
     48                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     49                int   MarshallSize(){_error2_("Not implemented yet.");};
     50                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     51                int   ObjectEnum(){_error2_("Not implemented yet.");};
     52                Object* copy(){_error2_("Not implemented yet.");};
    5353                /*}}}*/
    5454
  • issm/trunk-jpl/src/c/objects/KML/KML_LatLonBox.h

    r12365 r12494  
    3535                void  Write(FILE* fid,const char* indent);
    3636                void  Read(FILE* fid,char* kstr);
    37                 int   Id(){_error_("Not implemented yet.");};
    38                 int   MyRank(){_error_("Not implemented yet.");};
    39                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    40                 int   MarshallSize(){_error_("Not implemented yet.");};
    41                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    42                 int   ObjectEnum(){_error_("Not implemented yet.");};
    43                 Object* copy(){_error_("Not implemented yet.");};
     37                int   Id(){_error2_("Not implemented yet.");};
     38                int   MyRank(){_error2_("Not implemented yet.");};
     39                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     40                int   MarshallSize(){_error2_("Not implemented yet.");};
     41                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     42                int   ObjectEnum(){_error2_("Not implemented yet.");};
     43                Object* copy(){_error2_("Not implemented yet.");};
    4444                /*}}}*/
    4545
  • issm/trunk-jpl/src/c/objects/KML/KML_LineString.h

    r12442 r12494  
    3838                void  Read(FILE* fid,char* kstr);
    3939                void  WriteExp(FILE* fid,const char* nstr,int sgn,double cm,double sp);
    40                 int   Id(){_error_("Not implemented yet.");};
    41                 int   MyRank(){_error_("Not implemented yet.");};
    42                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    43                 int   MarshallSize(){_error_("Not implemented yet.");};
    44                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    45                 int   ObjectEnum(){_error_("Not implemented yet.");};
    46                 Object* copy(){_error_("Not implemented yet.");};
     40                int   Id(){_error2_("Not implemented yet.");};
     41                int   MyRank(){_error2_("Not implemented yet.");};
     42                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     43                int   MarshallSize(){_error2_("Not implemented yet.");};
     44                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     45                int   ObjectEnum(){_error2_("Not implemented yet.");};
     46                Object* copy(){_error2_("Not implemented yet.");};
    4747                /*}}}*/
    4848
  • issm/trunk-jpl/src/c/objects/KML/KML_LineStyle.h

    r12365 r12494  
    3131                void  Write(FILE* fid,const char* indent);
    3232                void  Read(FILE* fid,char* kstr);
    33                 int   Id(){_error_("Not implemented yet.");};
    34                 int   MyRank(){_error_("Not implemented yet.");};
    35                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    36                 int   MarshallSize(){_error_("Not implemented yet.");};
    37                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    38                 int   ObjectEnum(){_error_("Not implemented yet.");};
    39                 Object* copy(){_error_("Not implemented yet.");};
     33                int   Id(){_error2_("Not implemented yet.");};
     34                int   MyRank(){_error2_("Not implemented yet.");};
     35                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     36                int   MarshallSize(){_error2_("Not implemented yet.");};
     37                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     38                int   ObjectEnum(){_error2_("Not implemented yet.");};
     39                Object* copy(){_error2_("Not implemented yet.");};
    4040                /*}}}*/
    4141
  • issm/trunk-jpl/src/c/objects/KML/KML_LinearRing.h

    r12442 r12494  
    3838                void  Read(FILE* fid,char* kstr);
    3939                void  WriteExp(FILE* fid,const char* nstr,int sgn,double cm,double sp);
    40                 int   Id(){_error_("Not implemented yet.");};
    41                 int   MyRank(){_error_("Not implemented yet.");};
    42                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    43                 int   MarshallSize(){_error_("Not implemented yet.");};
    44                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    45                 int   ObjectEnum(){_error_("Not implemented yet.");};
    46                 Object* copy(){_error_("Not implemented yet.");};
     40                int   Id(){_error2_("Not implemented yet.");};
     41                int   MyRank(){_error2_("Not implemented yet.");};
     42                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     43                int   MarshallSize(){_error2_("Not implemented yet.");};
     44                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     45                int   ObjectEnum(){_error2_("Not implemented yet.");};
     46                Object* copy(){_error2_("Not implemented yet.");};
    4747                /*}}}*/
    4848
  • issm/trunk-jpl/src/c/objects/KML/KML_MultiGeometry.h

    r12365 r12494  
    3434                void  Read(FILE* fid,char* kstr);
    3535                void  WriteExp(FILE* fid,const char* nstr,int sgn,double cm,double sp);
    36                 int   Id(){_error_("Not implemented yet.");};
    37                 int   MyRank(){_error_("Not implemented yet.");};
    38                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    39                 int   MarshallSize(){_error_("Not implemented yet.");};
    40                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    41                 int   ObjectEnum(){_error_("Not implemented yet.");};
    42                 Object* copy(){_error_("Not implemented yet.");};
     36                int   Id(){_error2_("Not implemented yet.");};
     37                int   MyRank(){_error2_("Not implemented yet.");};
     38                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     39                int   MarshallSize(){_error2_("Not implemented yet.");};
     40                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     41                int   ObjectEnum(){_error2_("Not implemented yet.");};
     42                Object* copy(){_error2_("Not implemented yet.");};
    4343                /*}}}*/
    4444
  • issm/trunk-jpl/src/c/objects/KML/KML_Object.h

    r12365 r12494  
    3131                virtual void  DeepEcho();
    3232                virtual void  DeepEcho(const char* indent);
    33                 int   Id(){_error_("Not implemented yet.");};
    34                 int   MyRank(){_error_("Not implemented yet.");};
    35                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    36                 int   MarshallSize(){_error_("Not implemented yet.");};
    37                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    38                 int   ObjectEnum(){_error_("Not implemented yet.");};
    39                 Object* copy(){_error_("Not implemented yet.");};
     33                int   Id(){_error2_("Not implemented yet.");};
     34                int   MyRank(){_error2_("Not implemented yet.");};
     35                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     36                int   MarshallSize(){_error2_("Not implemented yet.");};
     37                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     38                int   ObjectEnum(){_error2_("Not implemented yet.");};
     39                Object* copy(){_error2_("Not implemented yet.");};
    4040                /*}}}*/
    4141
  • issm/trunk-jpl/src/c/objects/KML/KML_Overlay.h

    r12365 r12494  
    3636                void  Write(FILE* fid,const char* indent);
    3737                void  Read(FILE* fid,char* kstr);
    38                 int   Id(){_error_("Not implemented yet.");};
    39                 int   MyRank(){_error_("Not implemented yet.");};
    40                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    41                 int   MarshallSize(){_error_("Not implemented yet.");};
    42                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    43                 int   ObjectEnum(){_error_("Not implemented yet.");};
    44                 Object* copy(){_error_("Not implemented yet.");};
     38                int   Id(){_error2_("Not implemented yet.");};
     39                int   MyRank(){_error2_("Not implemented yet.");};
     40                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     41                int   MarshallSize(){_error2_("Not implemented yet.");};
     42                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     43                int   ObjectEnum(){_error2_("Not implemented yet.");};
     44                Object* copy(){_error2_("Not implemented yet.");};
    4545                /*}}}*/
    4646
  • issm/trunk-jpl/src/c/objects/KML/KML_Placemark.h

    r12365 r12494  
    3434                void  Read(FILE* fid,char* kstr);
    3535                void  WriteExp(FILE* fid,const char* nstr,int sgn,double cm,double sp);
    36                 int   Id(){_error_("Not implemented yet.");};
    37                 int   MyRank(){_error_("Not implemented yet.");};
    38                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    39                 int   MarshallSize(){_error_("Not implemented yet.");};
    40                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    41                 int   ObjectEnum(){_error_("Not implemented yet.");};
    42                 Object* copy(){_error_("Not implemented yet.");};
     36                int   Id(){_error2_("Not implemented yet.");};
     37                int   MyRank(){_error2_("Not implemented yet.");};
     38                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     39                int   MarshallSize(){_error2_("Not implemented yet.");};
     40                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     41                int   ObjectEnum(){_error2_("Not implemented yet.");};
     42                Object* copy(){_error2_("Not implemented yet.");};
    4343                /*}}}*/
    4444
  • issm/trunk-jpl/src/c/objects/KML/KML_Point.h

    r12365 r12494  
    3636                void  Read(FILE* fid,char* kstr);
    3737                void  WriteExp(FILE* fid,const char* nstr,int sgn,double cm,double sp);
    38                 int   Id(){_error_("Not implemented yet.");};
    39                 int   MyRank(){_error_("Not implemented yet.");};
    40                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    41                 int   MarshallSize(){_error_("Not implemented yet.");};
    42                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    43                 int   ObjectEnum(){_error_("Not implemented yet.");};
    44                 Object* copy(){_error_("Not implemented yet.");};
     38                int   Id(){_error2_("Not implemented yet.");};
     39                int   MyRank(){_error2_("Not implemented yet.");};
     40                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     41                int   MarshallSize(){_error2_("Not implemented yet.");};
     42                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     43                int   ObjectEnum(){_error2_("Not implemented yet.");};
     44                Object* copy(){_error2_("Not implemented yet.");};
    4545                /*}}}*/
    4646
  • issm/trunk-jpl/src/c/objects/KML/KML_PolyStyle.h

    r12365 r12494  
    3232                void  Write(FILE* fid,const char* indent);
    3333                void  Read(FILE* fid,char* kstr);
    34                 int   Id(){_error_("Not implemented yet.");};
    35                 int   MyRank(){_error_("Not implemented yet.");};
    36                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    37                 int   MarshallSize(){_error_("Not implemented yet.");};
    38                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    39                 int   ObjectEnum(){_error_("Not implemented yet.");};
    40                 Object* copy(){_error_("Not implemented yet.");};
     34                int   Id(){_error2_("Not implemented yet.");};
     35                int   MyRank(){_error2_("Not implemented yet.");};
     36                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     37                int   MarshallSize(){_error2_("Not implemented yet.");};
     38                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     39                int   ObjectEnum(){_error2_("Not implemented yet.");};
     40                Object* copy(){_error2_("Not implemented yet.");};
    4141                /*}}}*/
    4242
  • issm/trunk-jpl/src/c/objects/KML/KML_Polygon.h

    r12365 r12494  
    4040                void  Read(FILE* fid,char* kstr);
    4141                void  WriteExp(FILE* fid,const char* nstr,int sgn,double cm,double sp);
    42                 int   Id(){_error_("Not implemented yet.");};
    43                 int   MyRank(){_error_("Not implemented yet.");};
    44                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    45                 int   MarshallSize(){_error_("Not implemented yet.");};
    46                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    47                 int   ObjectEnum(){_error_("Not implemented yet.");};
    48                 Object* copy(){_error_("Not implemented yet.");};
     42                int   Id(){_error2_("Not implemented yet.");};
     43                int   MyRank(){_error2_("Not implemented yet.");};
     44                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     45                int   MarshallSize(){_error2_("Not implemented yet.");};
     46                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     47                int   ObjectEnum(){_error2_("Not implemented yet.");};
     48                Object* copy(){_error2_("Not implemented yet.");};
    4949                /*}}}*/
    5050
  • issm/trunk-jpl/src/c/objects/KML/KML_Style.h

    r12365 r12494  
    3838                void  Write(FILE* fid,const char* indent);
    3939                void  Read(FILE* fid,char* kstr);
    40                 int   Id(){_error_("Not implemented yet.");};
    41                 int   MyRank(){_error_("Not implemented yet.");};
    42                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    43                 int   MarshallSize(){_error_("Not implemented yet.");};
    44                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    45                 int   ObjectEnum(){_error_("Not implemented yet.");};
    46                 Object* copy(){_error_("Not implemented yet.");};
     40                int   Id(){_error2_("Not implemented yet.");};
     41                int   MyRank(){_error2_("Not implemented yet.");};
     42                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     43                int   MarshallSize(){_error2_("Not implemented yet.");};
     44                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     45                int   ObjectEnum(){_error2_("Not implemented yet.");};
     46                Object* copy(){_error2_("Not implemented yet.");};
    4747                /*}}}*/
    4848
  • issm/trunk-jpl/src/c/objects/KML/KML_StyleSelector.h

    r12365 r12494  
    2929                void  Write(FILE* fid,const char* indent);
    3030                void  Read(FILE* fid,char* kstr);
    31                 int   Id(){_error_("Not implemented yet.");};
    32                 int   MyRank(){_error_("Not implemented yet.");};
    33                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    34                 int   MarshallSize(){_error_("Not implemented yet.");};
    35                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    36                 int   ObjectEnum(){_error_("Not implemented yet.");};
    37                 Object* copy(){_error_("Not implemented yet.");};
     31                int   Id(){_error2_("Not implemented yet.");};
     32                int   MyRank(){_error2_("Not implemented yet.");};
     33                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     34                int   MarshallSize(){_error2_("Not implemented yet.");};
     35                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     36                int   ObjectEnum(){_error2_("Not implemented yet.");};
     37                Object* copy(){_error2_("Not implemented yet.");};
    3838                /*}}}*/
    3939
  • issm/trunk-jpl/src/c/objects/KML/KML_SubStyle.h

    r12365 r12494  
    2929                void  Write(FILE* fid,const char* indent);
    3030                void  Read(FILE* fid,char* kstr);
    31                 int   Id(){_error_("Not implemented yet.");};
    32                 int   MyRank(){_error_("Not implemented yet.");};
    33                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    34                 int   MarshallSize(){_error_("Not implemented yet.");};
    35                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    36                 int   ObjectEnum(){_error_("Not implemented yet.");};
    37                 Object* copy(){_error_("Not implemented yet.");};
     31                int   Id(){_error2_("Not implemented yet.");};
     32                int   MyRank(){_error2_("Not implemented yet.");};
     33                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     34                int   MarshallSize(){_error2_("Not implemented yet.");};
     35                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     36                int   ObjectEnum(){_error2_("Not implemented yet.");};
     37                Object* copy(){_error2_("Not implemented yet.");};
    3838                /*}}}*/
    3939
  • issm/trunk-jpl/src/c/objects/KML/KML_Unknown.h

    r12365 r12494  
    3232                void  Write(FILE* fid,const char* indent);
    3333                void  Read(FILE* fid,char* kstr);
    34                 int   Id(){_error_("Not implemented yet.");};
    35                 int   MyRank(){_error_("Not implemented yet.");};
    36                 void  Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    37                 int   MarshallSize(){_error_("Not implemented yet.");};
    38                 void  Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");};
    39                 int   ObjectEnum(){_error_("Not implemented yet.");};
    40                 Object* copy(){_error_("Not implemented yet.");};
     34                int   Id(){_error2_("Not implemented yet.");};
     35                int   MyRank(){_error2_("Not implemented yet.");};
     36                void  Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     37                int   MarshallSize(){_error2_("Not implemented yet.");};
     38                void  Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
     39                int   ObjectEnum(){_error2_("Not implemented yet.");};
     40                Object* copy(){_error2_("Not implemented yet.");};
    4141                /*}}}*/
    4242
  • issm/trunk-jpl/src/c/objects/Kriging/ExponentialVariogram.h

    r12289 r12494  
    2323                /*Object virtual functions definitions*/
    2424                void  Echo();
    25                 void  DeepEcho(){_error_("Not implemented yet");};
    26                 int   Id(){_error_("Not implemented yet");};
    27                 int   MyRank(){_error_("Not implemented yet");};
    28                 int   ObjectEnum(){_error_("Not implemented yet");};
    29                 Object* copy(){_error_("Not implemented yet");};
     25                void  DeepEcho(){_error2_("Not implemented yet");};
     26                int   Id(){_error2_("Not implemented yet");};
     27                int   MyRank(){_error2_("Not implemented yet");};
     28                int   ObjectEnum(){_error2_("Not implemented yet");};
     29                Object* copy(){_error2_("Not implemented yet");};
    3030
    3131                /*Variogram functions*/
  • issm/trunk-jpl/src/c/objects/Kriging/GaussianVariogram.h

    r12289 r12494  
    2323                /*Object virtual functions definitions*/
    2424                void  Echo();
    25                 void  DeepEcho(){_error_("Not implemented yet");};
    26                 int   Id(){_error_("Not implemented yet");};
    27                 int   MyRank(){_error_("Not implemented yet");};
    28                 int   ObjectEnum(){_error_("Not implemented yet");};
    29                 Object* copy(){_error_("Not implemented yet");};
     25                void  DeepEcho(){_error2_("Not implemented yet");};
     26                int   Id(){_error2_("Not implemented yet");};
     27                int   MyRank(){_error2_("Not implemented yet");};
     28                int   ObjectEnum(){_error2_("Not implemented yet");};
     29                Object* copy(){_error2_("Not implemented yet");};
    3030
    3131                /*Variogram functions*/
  • issm/trunk-jpl/src/c/objects/Kriging/Observation.h

    r12273 r12494  
    2424                /*Object virtual functions definitions*/
    2525                void    Echo();
    26                 void    DeepEcho()  {_error_("Not implemented yet"); };
    27                 int     Id()        {_error_("Not implemented yet"); };
    28                 int     MyRank()    {_error_("Not implemented yet"); };
    29                 int     ObjectEnum(){_error_("Not implemented yet"); };
    30                 Object *copy()      {_error_("Not implemented yet"); };
     26                void    DeepEcho()  {_error2_("Not implemented yet"); };
     27                int     Id()        {_error2_("Not implemented yet"); };
     28                int     MyRank()    {_error2_("Not implemented yet"); };
     29                int     ObjectEnum(){_error2_("Not implemented yet"); };
     30                Object *copy()      {_error2_("Not implemented yet"); };
    3131
    3232                /*Management*/
  • issm/trunk-jpl/src/c/objects/Kriging/PowerVariogram.h

    r12289 r12494  
    2323                /*Object virtual functions definitions*/
    2424                void  Echo();
    25                 void  DeepEcho(){_error_("Not implemented yet");};
    26                 int   Id(){_error_("Not implemented yet");};
    27                 int   MyRank(){_error_("Not implemented yet");};
    28                 int   ObjectEnum(){_error_("Not implemented yet");};
    29                 Object* copy(){_error_("Not implemented yet");};
     25                void  DeepEcho(){_error2_("Not implemented yet");};
     26                int   Id(){_error2_("Not implemented yet");};
     27                int   MyRank(){_error2_("Not implemented yet");};
     28                int   ObjectEnum(){_error2_("Not implemented yet");};
     29                Object* copy(){_error2_("Not implemented yet");};
    3030
    3131                /*Variogram functions*/
  • issm/trunk-jpl/src/c/objects/Kriging/Quadtree.h

    r12386 r12494  
    2727                                /*Object functions (Needed because the Quadtree uses a Container*/
    2828                                void    Echo();
    29                                 void    DeepEcho()  {_error_("not implemented yet"); };
    30                                 int     Id()        {_error_("not implemented yet"); };
    31                                 int     MyRank()    {_error_("not implemented yet"); };
    32                                 int     ObjectEnum(){_error_("not implemented yet"); };
    33                                 Object *copy()      {_error_("not implemented yet"); };
     29                                void    DeepEcho()  {_error2_("not implemented yet"); };
     30                                int     Id()        {_error2_("not implemented yet"); };
     31                                int     MyRank()    {_error2_("not implemented yet"); };
     32                                int     ObjectEnum(){_error2_("not implemented yet"); };
     33                                Object *copy()      {_error2_("not implemented yet"); };
    3434
    3535                                /*Methods*/
  • issm/trunk-jpl/src/c/objects/Kriging/SphericalVariogram.h

    r12289 r12494  
    2323                /*Object virtual functions definitions*/
    2424                void  Echo();
    25                 void  DeepEcho(){_error_("Not implemented yet");};
    26                 int   Id(){_error_("Not implemented yet");};
    27                 int   MyRank(){_error_("Not implemented yet");};
    28                 int   ObjectEnum(){_error_("Not implemented yet");};
    29                 Object* copy(){_error_("Not implemented yet");};
     25                void  DeepEcho(){_error2_("Not implemented yet");};
     26                int   Id(){_error2_("Not implemented yet");};
     27                int   MyRank(){_error2_("Not implemented yet");};
     28                int   ObjectEnum(){_error2_("Not implemented yet");};
     29                Object* copy(){_error2_("Not implemented yet");};
    3030
    3131                /*Variogram functions*/
  • issm/trunk-jpl/src/c/objects/Loads/Icefront.h

    r12472 r12494  
    6464                void  InputUpdateFromConstant(bool constant, int name);
    6565                void  InputUpdateFromSolution(IssmDouble* solution);
    66                 void  InputUpdateFromIoModel(int index, IoModel* iomodel){_error_("not implemented yet");};
     66                void  InputUpdateFromIoModel(int index, IoModel* iomodel){_error2_("not implemented yet");};
    6767                /*}}}*/
    6868                /*Load virtual functions definitions: {{{*/
  • issm/trunk-jpl/src/c/objects/Loads/Numericalflux.h

    r12472 r12494  
    5050                /*Update virtual functions resolution: {{{*/
    5151                void    InputUpdateFromVector(IssmDouble* vector, int name, int type){/*Do nothing*/}
    52                 void    InputUpdateFromVector(int* vector, int name, int type){_error_("Not implemented yet!");}
    53                 void    InputUpdateFromVector(bool* vector, int name, int type){_error_("Not implemented yet!");}
     52                void    InputUpdateFromVector(int* vector, int name, int type){_error2_("Not implemented yet!");}
     53                void    InputUpdateFromVector(bool* vector, int name, int type){_error2_("Not implemented yet!");}
    5454                void    InputUpdateFromMatrixDakota(IssmDouble* matrix, int nrows, int ncols, int name, int type){/*Do nothing*/}
    5555                void    InputUpdateFromVectorDakota(IssmDouble* vector, int name, int type){/*Do nothing*/}
    56                 void    InputUpdateFromVectorDakota(int* vector, int name, int type){_error_("Not implemented yet!");}
    57                 void    InputUpdateFromVectorDakota(bool* vector, int name, int type){_error_("Not implemented yet!");}
     56                void    InputUpdateFromVectorDakota(int* vector, int name, int type){_error2_("Not implemented yet!");}
     57                void    InputUpdateFromVectorDakota(bool* vector, int name, int type){_error2_("Not implemented yet!");}
    5858                void    InputUpdateFromConstant(IssmDouble constant, int name){/*Do nothing*/};
    5959                void    InputUpdateFromConstant(int constant, int name){/*Do nothing*/};
    60                 void    InputUpdateFromConstant(bool constant, int name){_error_("Not implemented yet!");}
    61                 void    InputUpdateFromSolution(IssmDouble* solution){_error_("Not implemented yet!");}
    62                 void  InputUpdateFromIoModel(int index, IoModel* iomodel){_error_("not implemented yet");};
     60                void    InputUpdateFromConstant(bool constant, int name){_error2_("Not implemented yet!");}
     61                void    InputUpdateFromSolution(IssmDouble* solution){_error2_("Not implemented yet!");}
     62                void  InputUpdateFromIoModel(int index, IoModel* iomodel){_error2_("not implemented yet");};
    6363                /*}}}*/
    6464                /*Load virtual functions definitions: {{{*/
     
    6767                void  CreateKMatrix(Matrix* Kff, Matrix* Kfs);
    6868                void  CreatePVector(Vector* pf);
    69                 void  CreateJacobianMatrix(Matrix* Jff){_error_("Not implemented yet");};
    70                 void  PenaltyCreateJacobianMatrix(Matrix* Jff,IssmDouble kmax){_error_("Not implemented yet");};
     69                void  CreateJacobianMatrix(Matrix* Jff){_error2_("Not implemented yet");};
     70                void  PenaltyCreateJacobianMatrix(Matrix* Jff,IssmDouble kmax){_error2_("Not implemented yet");};
    7171                void  PenaltyCreateKMatrix(Matrix* Kff, Matrix* kfs, IssmDouble kmax);
    7272                void  PenaltyCreatePVector(Vector* pf, IssmDouble kmax);
  • issm/trunk-jpl/src/c/objects/Loads/Pengrid.h

    r12472 r12494  
    6565                void  InputUpdateFromConstant(bool constant, int name);
    6666                void  InputUpdateFromSolution(IssmDouble* solution);
    67                 void  InputUpdateFromIoModel(int index, IoModel* iomodel){_error_("not implemented yet");};
     67                void  InputUpdateFromIoModel(int index, IoModel* iomodel){_error2_("not implemented yet");};
    6868                /*}}}*/
    6969                /*Load virtual functions definitions: {{{*/
     
    7272                void  CreateKMatrix(Matrix* Kff, Matrix* Kfs);
    7373                void  CreatePVector(Vector* pf);
    74                 void  CreateJacobianMatrix(Matrix* Jff){_error_("Not implemented yet");};
    75                 void  PenaltyCreateJacobianMatrix(Matrix* Jff,IssmDouble kmax){_error_("Not implemented yet");};
     74                void  CreateJacobianMatrix(Matrix* Jff){_error2_("Not implemented yet");};
     75                void  PenaltyCreateJacobianMatrix(Matrix* Jff,IssmDouble kmax){_error2_("Not implemented yet");};
    7676                void  PenaltyCreateKMatrix(Matrix* Kff, Matrix* kfs, IssmDouble kmax);
    7777                void  PenaltyCreatePVector(Vector* pf, IssmDouble kmax);
  • issm/trunk-jpl/src/c/objects/Loads/Penpair.h

    r12472 r12494  
    4444                void  InputUpdateFromVector(int* vector, int name, int type);
    4545                void  InputUpdateFromVector(bool* vector, int name, int type);
    46                 void  InputUpdateFromMatrixDakota(IssmDouble* matrix, int nrow, int ncols,int name, int type){_error_("Not implemented yet!");}
    47                 void  InputUpdateFromVectorDakota(IssmDouble* vector, int name, int type){_error_("Not implemented yet!");}
    48                 void  InputUpdateFromVectorDakota(int* vector, int name, int type){_error_("Not implemented yet!");}
    49                 void  InputUpdateFromVectorDakota(bool* vector, int name, int type){_error_("Not implemented yet!");}
     46                void  InputUpdateFromMatrixDakota(IssmDouble* matrix, int nrow, int ncols,int name, int type){_error2_("Not implemented yet!");}
     47                void  InputUpdateFromVectorDakota(IssmDouble* vector, int name, int type){_error2_("Not implemented yet!");}
     48                void  InputUpdateFromVectorDakota(int* vector, int name, int type){_error2_("Not implemented yet!");}
     49                void  InputUpdateFromVectorDakota(bool* vector, int name, int type){_error2_("Not implemented yet!");}
    5050                void  InputUpdateFromConstant(IssmDouble constant, int name);
    5151                void  InputUpdateFromConstant(int constant, int name);
    5252                void  InputUpdateFromConstant(bool constant, int name);
    53                 void  InputUpdateFromSolution(IssmDouble* solution){_error_("Not implemented yet!");}
    54                 void  InputUpdateFromIoModel(int index, IoModel* iomodel){_error_("not implemented yet");};
     53                void  InputUpdateFromSolution(IssmDouble* solution){_error2_("Not implemented yet!");}
     54                void  InputUpdateFromIoModel(int index, IoModel* iomodel){_error2_("not implemented yet");};
    5555                /*}}}*/
    5656                        /*Load virtual functions definitions: {{{*/
  • issm/trunk-jpl/src/c/objects/Loads/Riftfront.cpp

    r12493 r12494  
    536536        else if(fill==MelangeEnum){ //icefront finding itself against another icefront (pressure imbalance is fully compensated, ice vs ice)
    537537
    538                 if(!shelf) _error2_("" << "fill type " << fill << " not supported on ice sheets yet.");
     538                if(!shelf) _error2_("fill type " << fill << " not supported on ice sheets yet.");
    539539
    540540                pressure_litho=rho_ice*gravity*pow(thickness,(IssmDouble)2)/(IssmDouble)2;
     
    546546        }
    547547        else{
    548                 _error2_("" << "fill type " << fill << " not supported yet.");
     548                _error2_("fill type " << fill << " not supported yet.");
    549549        }
    550550
  • issm/trunk-jpl/src/c/objects/Loads/Riftfront.h

    r12472 r12494  
    6262                /*Update virtual functions resolution: {{{*/
    6363                void    InputUpdateFromVector(IssmDouble* vector, int name, int type);
    64                 void    InputUpdateFromVector(int* vector, int name, int type){_error_("Not implemented yet!");}
    65                 void    InputUpdateFromVector(bool* vector, int name, int type){_error_("Not implemented yet!");}
    66                 void    InputUpdateFromMatrixDakota(IssmDouble* matrix, int nrows,int ncols, int name, int type){_error_("Not implemented yet!");}
    67                 void    InputUpdateFromVectorDakota(IssmDouble* vector, int name, int type){_error_("Not implemented yet!");}
    68                 void    InputUpdateFromVectorDakota(int* vector, int name, int type){_error_("Not implemented yet!");}
    69                 void    InputUpdateFromVectorDakota(bool* vector, int name, int type){_error_("Not implemented yet!");}
     64                void    InputUpdateFromVector(int* vector, int name, int type){_error2_("Not implemented yet!");}
     65                void    InputUpdateFromVector(bool* vector, int name, int type){_error2_("Not implemented yet!");}
     66                void    InputUpdateFromMatrixDakota(IssmDouble* matrix, int nrows,int ncols, int name, int type){_error2_("Not implemented yet!");}
     67                void    InputUpdateFromVectorDakota(IssmDouble* vector, int name, int type){_error2_("Not implemented yet!");}
     68                void    InputUpdateFromVectorDakota(int* vector, int name, int type){_error2_("Not implemented yet!");}
     69                void    InputUpdateFromVectorDakota(bool* vector, int name, int type){_error2_("Not implemented yet!");}
    7070                void    InputUpdateFromConstant(IssmDouble constant, int name);
    71                 void    InputUpdateFromConstant(int constant, int name){_error_("Not implemented yet!");}
     71                void    InputUpdateFromConstant(int constant, int name){_error2_("Not implemented yet!");}
    7272                void    InputUpdateFromConstant(bool constant, int name);
    73                 void    InputUpdateFromSolution(IssmDouble* solution){_error_("Not implemented yet!");}
    74                 void  InputUpdateFromIoModel(int index, IoModel* iomodel){_error_("not implemented yet");};
     73                void    InputUpdateFromSolution(IssmDouble* solution){_error2_("Not implemented yet!");}
     74                void  InputUpdateFromIoModel(int index, IoModel* iomodel){_error2_("not implemented yet");};
    7575                /*}}}*/
    7676                /*Load virtual functions definitions: {{{*/
     
    7979                void  CreateKMatrix(Matrix* Kff, Matrix* Kfs);
    8080                void  CreatePVector(Vector* pf);
    81                 void  CreateJacobianMatrix(Matrix* Jff){_error_("Not implemented yet");};
    82                 void  PenaltyCreateJacobianMatrix(Matrix* Jff,IssmDouble kmax){_error_("Not implemented yet");};
     81                void  CreateJacobianMatrix(Matrix* Jff){_error2_("Not implemented yet");};
     82                void  PenaltyCreateJacobianMatrix(Matrix* Jff,IssmDouble kmax){_error2_("Not implemented yet");};
    8383                void  PenaltyCreateKMatrix(Matrix* Kff, Matrix* kfs, IssmDouble kmax);
    8484                void  PenaltyCreatePVector(Vector* pf, IssmDouble kmax);
  • issm/trunk-jpl/src/c/objects/Materials/Matpar.h

    r12472 r12494  
    6262                void   InputUpdateFromConstant(bool constant, int name);
    6363                void   InputUpdateFromSolution(IssmDouble* solution);
    64                 void   InputUpdateFromIoModel(int index, IoModel* iomodel){_error_("not implemented yet");};
     64                void   InputUpdateFromIoModel(int index, IoModel* iomodel){_error2_("not implemented yet");};
    6565                /*}}}*/
    6666                /*Material virtual functions resolution: {{{*/
    67                 void   InputDuplicate(int original_enum,int new_enum){_error_("not implemented yet");};
     67                void   InputDuplicate(int original_enum,int new_enum){_error2_("not implemented yet");};
    6868                void   Configure(Elements* elements);
    6969                void   GetVectorFromInputs(Vector* vector,int input_enum){return;}
  • issm/trunk-jpl/src/c/objects/Node.cpp

    r12493 r12494  
    231231                return indexing.sdoflist[dofindex];
    232232        }
    233         else _error2_("" << " set of enum type " << EnumToStringx(setenum) << " not supported yet!");
     233        else _error2_("set of enum type " << EnumToStringx(setenum) << " not supported yet!");
    234234
    235235}
     
    303303                        else for(i=0;i<this->indexing.ssize;i++) outdoflist[i]=indexing.sdoflist[i];
    304304                }
    305                 else _error2_("" << " set of enum type " << EnumToStringx(setenum) << " not supported yet!");
     305                else _error2_("set of enum type " << EnumToStringx(setenum) << " not supported yet!");
    306306        }
    307307}
     
    343343                        }
    344344                }
    345                 else _error2_("" << " set of enum type " << EnumToStringx(setenum) << " not supported yet!");
     345                else _error2_("set of enum type " << EnumToStringx(setenum) << " not supported yet!");
    346346        }
    347347        else{
     
    412412                        }
    413413                }
    414                 else _error2_("" << " set of enum type " << EnumToStringx(setenum) << " not supported yet!");
     414                else _error2_("set of enum type " << EnumToStringx(setenum) << " not supported yet!");
    415415        }
    416416}
     
    598598                else if (setenum==FsetEnum) numdofs=this->indexing.fsize;
    599599                else if (setenum==SsetEnum) numdofs=this->indexing.ssize;
    600                 else _error2_("" << " set of enum type " << EnumToStringx(setenum) << " not supported yet!");
     600                else _error2_("set of enum type " << EnumToStringx(setenum) << " not supported yet!");
    601601        }
    602602        else{
     
    628628                        else numdofs=this->indexing.ssize;
    629629                }
    630                 else _error2_("" << " set of enum type " << EnumToStringx(setenum) << " not supported yet!");
     630                else _error2_("set of enum type " << EnumToStringx(setenum) << " not supported yet!");
    631631        }
    632632        return numdofs;
     
    928928                dofcount+=this->indexing.ssize;
    929929        }
    930         else _error2_("" << " set of enum type " << EnumToStringx(setenum) << " not supported yet!");
     930        else _error2_("set of enum type " << EnumToStringx(setenum) << " not supported yet!");
    931931
    932932
     
    957957                for(i=0;i<this->indexing.ssize;i++) indexing.sdoflist[i]+=dofcount;
    958958        }
    959         else _error2_("" << " set of enum type " << EnumToStringx(setenum) << " not supported yet!");
     959        else _error2_("set of enum type " << EnumToStringx(setenum) << " not supported yet!");
    960960}
    961961/*}}}*/
     
    973973        else if(setenum==FsetEnum)for(j=0;j<this->indexing.fsize;j++)  *(truedofs+ncols*sid+j)=indexing.fdoflist[j];
    974974        else if(setenum==SsetEnum)for(j=0;j<this->indexing.ssize;j++)  *(truedofs+ncols*sid+j)=indexing.sdoflist[j];
    975         else _error2_("" << " set of enum type " << EnumToStringx(setenum) << " not supported yet!");
     975        else _error2_("set of enum type " << EnumToStringx(setenum) << " not supported yet!");
    976976
    977977}
     
    992992        else if(setenum==FsetEnum)for(j=0;j<this->indexing.fsize;j++) indexing.fdoflist[j]=*(alltruedofs+ncols*sid+j);
    993993        else if(setenum==SsetEnum)for(j=0;j<this->indexing.ssize;j++) indexing.sdoflist[j]=*(alltruedofs+ncols*sid+j);
    994         else _error2_("" << " set of enum type " << EnumToStringx(setenum) << " not supported yet!");
     994        else _error2_("set of enum type " << EnumToStringx(setenum) << " not supported yet!");
    995995
    996996}
  • issm/trunk-jpl/src/c/objects/Node.h

    r12365 r12494  
    4545                int   MyRank();
    4646                int   ObjectEnum();
    47                 Object* copy(){_error_("Not implemented yet (similar to Elements)");};
     47                Object* copy(){_error2_("Not implemented yet (similar to Elements)");};
    4848                /*}}}*/
    4949                /*Update virtual functions definitions: {{{*/
     
    5959                void  InputUpdateFromConstant(int constant, int name);
    6060                void  InputUpdateFromConstant(bool constant, int name);
    61                 void  InputUpdateFromSolution(IssmDouble* solution){_error_("Not implemented yet!");}
    62                 void  InputUpdateFromIoModel(int index, IoModel* iomodel){_error_("Not implemented yet!");}
     61                void  InputUpdateFromSolution(IssmDouble* solution){_error2_("Not implemented yet!");}
     62                void  InputUpdateFromIoModel(int index, IoModel* iomodel){_error2_("Not implemented yet!");}
    6363                /*}}}*/
    6464                /*Node numerical routines {{{*/
  • issm/trunk-jpl/src/c/objects/Options/Option.h

    r12473 r12494  
    3131                virtual void  DeepEcho();
    3232                virtual void  DeepEcho(char* indent);
    33                 int   Id(){_error_("Not implemented yet");};
    34                 int   MyRank(){_error_("Not implemented yet");};
     33                int   Id(){_error2_("Not implemented yet");};
     34                int   MyRank(){_error2_("Not implemented yet");};
    3535                int   ObjectEnum(){return OptionEnum;};
    36                 Object* copy(){_error_("Not implemented yet");};
     36                Object* copy(){_error2_("Not implemented yet");};
    3737                /*}}}*/
    3838
  • issm/trunk-jpl/src/c/objects/Options/OptionCell.h

    r12473 r12494  
    2828                void  DeepEcho();
    2929                void  DeepEcho(char* indent);
    30                 int   Id(){_error_("Not implemented yet");};
    31                 int   MyRank(){_error_("Not implemented yet");};
     30                int   Id(){_error2_("Not implemented yet");};
     31                int   MyRank(){_error2_("Not implemented yet");};
    3232                int   ObjectEnum(){return OptionCellEnum;};
    33                 Object* copy(){_error_("Not implemented yet");};
     33                Object* copy(){_error2_("Not implemented yet");};
    3434                /*}}}*/
    3535
     
    3939                int   NDims();
    4040                int*  Size();
    41                 void  Get(int* pvalue){_error_("An OptionCell object cannot return a int");};
    42                 void  Get(IssmPDouble* pvalue){_error_("An OptionCell object cannot return a IssmPDouble");};
    43                 void  Get(bool* pvalue){  _error_("An OptionCell object cannot return a bool");};
    44                 void  Get(char** pvalue){ _error_("An OptionCell object cannot return a string");};
    45                 void  Get(char*** ppvalue,int *pnumel){ _error_("An OptionCell object cannot return a string vec");};
    46                 void  Get(IssmPDouble** pvalue,int *pnumel){ _error_("An OptionCell object cannot return a IssmPDouble vec");};
     41                void  Get(int* pvalue){_error2_("An OptionCell object cannot return a int");};
     42                void  Get(IssmPDouble* pvalue){_error2_("An OptionCell object cannot return a IssmPDouble");};
     43                void  Get(bool* pvalue){  _error2_("An OptionCell object cannot return a bool");};
     44                void  Get(char** pvalue){ _error2_("An OptionCell object cannot return a string");};
     45                void  Get(char*** ppvalue,int *pnumel){ _error2_("An OptionCell object cannot return a string vec");};
     46                void  Get(IssmPDouble** pvalue,int *pnumel){ _error2_("An OptionCell object cannot return a IssmPDouble vec");};
    4747                void  Get(Options** pvalue);
    48                 void  Get(Options*** ppvalue,int *pnumel){ _error_("An OptionCell object cannot return an Options DataSet vec");};
     48                void  Get(Options*** ppvalue,int *pnumel){ _error2_("An OptionCell object cannot return an Options DataSet vec");};
    4949
    5050};
  • issm/trunk-jpl/src/c/objects/Options/OptionChar.h

    r12473 r12494  
    2828                void  DeepEcho();
    2929                void  DeepEcho(char* indent);
    30                 int   Id(){_error_("Not implemented yet");};
    31                 int   MyRank(){_error_("Not implemented yet");};
     30                int   Id(){_error2_("Not implemented yet");};
     31                int   MyRank(){_error2_("Not implemented yet");};
    3232                int   ObjectEnum(){return OptionCharEnum;};
    33                 Object* copy(){_error_("Not implemented yet");};
     33                Object* copy(){_error2_("Not implemented yet");};
    3434                /*}}}*/
    3535
     
    3939                int   NDims();
    4040                int*  Size();
    41                 void  Get(int* pvalue){_error_("An OptionChar object cannot return a int");};
    42                 void  Get(IssmPDouble* pvalue){_error_("An OptionChar object cannot return a IssmPDouble");};
    43                 void  Get(bool* pvalue){  _error_("An OptionChar object cannot return a bool");};
     41                void  Get(int* pvalue){_error2_("An OptionChar object cannot return a int");};
     42                void  Get(IssmPDouble* pvalue){_error2_("An OptionChar object cannot return a IssmPDouble");};
     43                void  Get(bool* pvalue){  _error2_("An OptionChar object cannot return a bool");};
    4444                void  Get(char** pvalue);
    4545                void  Get(char*** ppvalue,int *pnumel);
    46                 void  Get(IssmPDouble** pvalue,int *pnumel){ _error_("An OptionChar object cannot return a IssmPDouble vec");};
    47                 void  Get(Options** pvalue){ _error_("An OptionChar object cannot return an Options DataSet");};
    48                 void  Get(Options*** ppvalue,int *pnumel){ _error_("An OptionChar object cannot return an Options DataSet vec");};
     46                void  Get(IssmPDouble** pvalue,int *pnumel){ _error2_("An OptionChar object cannot return a IssmPDouble vec");};
     47                void  Get(Options** pvalue){ _error2_("An OptionChar object cannot return an Options DataSet");};
     48                void  Get(Options*** ppvalue,int *pnumel){ _error2_("An OptionChar object cannot return an Options DataSet vec");};
    4949
    5050};
  • issm/trunk-jpl/src/c/objects/Options/OptionDouble.h

    r12473 r12494  
    2828                void  DeepEcho();
    2929                void  DeepEcho(char* indent);
    30                 int   Id(){_error_("Not implemented yet");};
    31                 int   MyRank(){_error_("Not implemented yet");};
     30                int   Id(){_error2_("Not implemented yet");};
     31                int   MyRank(){_error2_("Not implemented yet");};
    3232                int   ObjectEnum(){return OptionDoubleEnum;};
    33                 Object* copy(){_error_("Not implemented yet");};
     33                Object* copy(){_error2_("Not implemented yet");};
    3434                /*}}}*/
    3535
     
    4141                void  Get(int* pvalue);
    4242                void  Get(IssmPDouble* pvalue);
    43                 void  Get(bool* pvalue){  _error_("An OptionDouble object cannot return a bool");};
    44                 void  Get(char** pvalue){ _error_("An OptionDouble object cannot return a string");};
    45                 void  Get(char*** ppvalue,int *pnumel){ _error_("An OptionDouble object cannot return a string vec");};
     43                void  Get(bool* pvalue){  _error2_("An OptionDouble object cannot return a bool");};
     44                void  Get(char** pvalue){ _error2_("An OptionDouble object cannot return a string");};
     45                void  Get(char*** ppvalue,int *pnumel){ _error2_("An OptionDouble object cannot return a string vec");};
    4646                void  Get(IssmPDouble** pvalue,int* pnumel);
    47                 void  Get(Options** pvalue){ _error_("An OptionDouble object cannot return an Options DataSet");};
    48                 void  Get(Options*** ppvalue,int *pnumel){ _error_("An OptionDouble object cannot return an Options DataSet vec");};
     47                void  Get(Options** pvalue){ _error2_("An OptionDouble object cannot return an Options DataSet");};
     48                void  Get(Options*** ppvalue,int *pnumel){ _error2_("An OptionDouble object cannot return an Options DataSet vec");};
    4949
    5050};
  • issm/trunk-jpl/src/c/objects/Options/OptionLogical.h

    r12473 r12494  
    2828                void  DeepEcho();
    2929                void  DeepEcho(char* indent);
    30                 int   Id(){_error_("Not implemented yet");};
    31                 int   MyRank(){_error_("Not implemented yet");};
     30                int   Id(){_error2_("Not implemented yet");};
     31                int   MyRank(){_error2_("Not implemented yet");};
    3232                int   ObjectEnum(){return OptionLogicalEnum;};
    33                 Object* copy(){_error_("Not implemented yet");};
     33                Object* copy(){_error2_("Not implemented yet");};
    3434                /*}}}*/
    3535
     
    3939                int   NDims();
    4040                int*  Size();
    41                 void  Get(int* pvalue){_error_("An OptionLogical object cannot return a int");};
    42                 void  Get(IssmPDouble* pvalue){_error_("An OptionLogical object cannot return a IssmPDouble");};
     41                void  Get(int* pvalue){_error2_("An OptionLogical object cannot return a int");};
     42                void  Get(IssmPDouble* pvalue){_error2_("An OptionLogical object cannot return a IssmPDouble");};
    4343                void  Get(bool* pvalue);
    44                 void  Get(char** pvalue){ _error_("An OptionLogical object cannot return a string");};
    45                 void  Get(char*** ppvalue,int *pnumel){ _error_("An OptionLogical object cannot return a string vec");};
    46                 void  Get(IssmPDouble** pvalue,int *pnumel){ _error_("An OptionLogical object cannot return a IssmPDouble vec");};
    47                 void  Get(Options** pvalue){ _error_("An OptionLogical object cannot return an Options DataSet");};
    48                 void  Get(Options*** ppvalue,int *pnumel){ _error_("An OptionLogical object cannot return an Options DataSet vec");};
     44                void  Get(char** pvalue){ _error2_("An OptionLogical object cannot return a string");};
     45                void  Get(char*** ppvalue,int *pnumel){ _error2_("An OptionLogical object cannot return a string vec");};
     46                void  Get(IssmPDouble** pvalue,int *pnumel){ _error2_("An OptionLogical object cannot return a IssmPDouble vec");};
     47                void  Get(Options** pvalue){ _error2_("An OptionLogical object cannot return an Options DataSet");};
     48                void  Get(Options*** ppvalue,int *pnumel){ _error2_("An OptionLogical object cannot return an Options DataSet vec");};
    4949
    5050};
  • issm/trunk-jpl/src/c/objects/Options/OptionStruct.h

    r12473 r12494  
    2828                void  DeepEcho();
    2929                void  DeepEcho(char* indent);
    30                 int   Id(){_error_("Not implemented yet");};
    31                 int   MyRank(){_error_("Not implemented yet");};
     30                int   Id(){_error2_("Not implemented yet");};
     31                int   MyRank(){_error2_("Not implemented yet");};
    3232                int   ObjectEnum(){return OptionStructEnum;};
    33                 Object* copy(){_error_("Not implemented yet");};
     33                Object* copy(){_error2_("Not implemented yet");};
    3434                /*}}}*/
    3535
     
    3939                int   NDims();
    4040                int*  Size();
    41                 void  Get(int* pvalue){_error_("An OptionStruct object cannot return a int");};
    42                 void  Get(IssmPDouble* pvalue){_error_("An OptionStruct object cannot return a IssmPDouble");};
    43                 void  Get(bool* pvalue){  _error_("An OptionStruct object cannot return a bool");};
    44                 void  Get(char** pvalue){ _error_("An OptionStruct object cannot return a string");};
    45                 void  Get(char*** ppvalue,int *pnumel){ _error_("An OptionStruct object cannot return a string vec");};
    46                 void  Get(IssmPDouble** pvalue,int *pnumel){ _error_("An OptionStruct object cannot return a IssmPDouble vec");};
     41                void  Get(int* pvalue){_error2_("An OptionStruct object cannot return a int");};
     42                void  Get(IssmPDouble* pvalue){_error2_("An OptionStruct object cannot return a IssmPDouble");};
     43                void  Get(bool* pvalue){  _error2_("An OptionStruct object cannot return a bool");};
     44                void  Get(char** pvalue){ _error2_("An OptionStruct object cannot return a string");};
     45                void  Get(char*** ppvalue,int *pnumel){ _error2_("An OptionStruct object cannot return a string vec");};
     46                void  Get(IssmPDouble** pvalue,int *pnumel){ _error2_("An OptionStruct object cannot return a IssmPDouble vec");};
    4747                void  Get(Options** pvalue);
    4848                void  Get(Options*** ppvalue,int *pnumel);
  • issm/trunk-jpl/src/c/objects/Params/BoolParam.h

    r12482 r12494  
    4343                int   InstanceEnum(){return enum_type;}
    4444                void  GetParameterValue(bool* pbool){*pbool=value;}
    45                 void  GetParameterValue(int* pinteger){_error_("Bool param of enum %i (%s) cannot return an integer",enum_type,EnumToStringx(enum_type));}
    46                 void  GetParameterValue(int** pintarray,int* pM){_error_("Bool param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    47                 void  GetParameterValue(int** pintarray,int* pM,int* pN){_error_("Bool param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    48                 void  GetParameterValue(IssmDouble* pIssmDouble){_error_("Bool param of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    49                 void  GetParameterValue(char** pstring){_error_("Bool param of enum %i (%s) cannot return a string",enum_type,EnumToStringx(enum_type));}
    50                 void  GetParameterValue(char*** pstringarray,int* pM){_error_("Bool param of enum %i (%s) cannot return a string array",enum_type,EnumToStringx(enum_type));}
    51                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error_("Bool param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    52                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error_("Bool param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    53                 void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error_("Bool param of enum %i (%s) cannot return a matrix array",enum_type,EnumToStringx(enum_type));}
    54                 void  GetParameterValue(Vector** pvec){_error_("Bool param of enum %i (%s) cannot return a Vec",enum_type,EnumToStringx(enum_type));}
    55                 void  GetParameterValue(Matrix** pmat){_error_("Bool param of enum %i (%s) cannot return a Mat",enum_type,EnumToStringx(enum_type));}
    56                 void  GetParameterValue(FILE** pfid){_error_("Bool param of enum %i (%s) cannot return a FILE",enum_type,EnumToStringx(enum_type));}
     45                void  GetParameterValue(int* pinteger){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an integer");}
     46                void  GetParameterValue(int** pintarray,int* pM){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     47                void  GetParameterValue(int** pintarray,int* pM,int* pN){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     48                void  GetParameterValue(IssmDouble* pIssmDouble){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     49                void  GetParameterValue(char** pstring){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string");}
     50                void  GetParameterValue(char*** pstringarray,int* pM){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string array");}
     51                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     52                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     53                void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix array");}
     54                void  GetParameterValue(Vector** pvec){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Vec");}
     55                void  GetParameterValue(Matrix** pmat){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Mat");}
     56                void  GetParameterValue(FILE** pfid){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a FILE");}
    5757
    5858                void  SetValue(bool boolean){this->value=boolean;}
    5959                void  SetValue(int integer){this->value=(bool)integer;}
    6060                void  SetValue(IssmPDouble scalar){this->value=(bool)scalar;}
    61                 void  SetValue(char* string){_error_("Bool param of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    62                 void  SetValue(char** stringarray,int M){_error_("Bool param of enum %i (%s) cannot hold a string array",enum_type,EnumToStringx(enum_type));}
    63                 void  SetValue(IssmDouble* IssmDoublearray,int M){_error_("Bool param of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    64                 void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error_("Bool param of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    65                 void  SetValue(int* intarray,int M){_error_("Bool param of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
    66                 void  SetValue(int* pintarray,int M,int N){_error_("Bool param of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
    67                 void  SetValue(Vector* vec){_error_("Bool param of enum %i (%s) cannot hold a Vec",enum_type,EnumToStringx(enum_type));}
    68                 void  SetValue(Matrix* mat){_error_("Bool param of enum %i (%s) cannot hold a Mat",enum_type,EnumToStringx(enum_type));}
    69                 void  SetValue(FILE* fid){_error_("Bool param of enum %i (%s) cannot hold a FILE",enum_type,EnumToStringx(enum_type));}
    70                 void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error_("Bool param of enum %i (%s) cannot hold an array of matrices",enum_type,EnumToStringx(enum_type));}
     61                void  SetValue(char* string){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     62                void  SetValue(char** stringarray,int M){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string array");}
     63                void  SetValue(IssmDouble* IssmDoublearray,int M){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     64                void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     65                void  SetValue(int* intarray,int M){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
     66                void  SetValue(int* pintarray,int M,int N){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
     67                void  SetValue(Vector* vec){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Vec");}
     68                void  SetValue(Matrix* mat){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Mat");}
     69                void  SetValue(FILE* fid){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a FILE");}
     70                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an array of matrices");}
    7171                void  UnitConversion(int direction_enum);
    7272               
  • issm/trunk-jpl/src/c/objects/Params/DoubleMatArrayParam.h

    r12474 r12494  
    4545                /*Param vritual function definitions: {{{*/
    4646                int   InstanceEnum(){return enum_type;}
    47                 void  GetParameterValue(bool* pbool){_error_("DoubleMatArray param of enum %i (%s) cannot return a bool",enum_type,EnumToStringx(enum_type));}
    48                 void  GetParameterValue(int* pinteger){_error_("DoubleMatArray param of enum %i (%s) cannot return an integer",enum_type,EnumToStringx(enum_type));}
    49                 void  GetParameterValue(int** pintarray,int* pM){_error_("DoubleMatArray param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    50                 void  GetParameterValue(int** pintarray,int* pM,int* pN){_error_("DoubleMatArray param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    51                 void  GetParameterValue(IssmDouble* pIssmDouble){_error_("DoubleMatArray param of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    52                 void  GetParameterValue(char** pstring){_error_("DoubleMatArray param of enum %i (%s) cannot return a string",enum_type,EnumToStringx(enum_type));}
    53                 void  GetParameterValue(char*** pstringarray,int* pM){_error_("DoubleMatArray param of enum %i (%s) cannot return a string array",enum_type,EnumToStringx(enum_type));}
    54                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error_("DoubleMatArray param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    55                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error_("DoubleMatArray param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
     47                void  GetParameterValue(bool* pbool){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a bool");}
     48                void  GetParameterValue(int* pinteger){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an integer");}
     49                void  GetParameterValue(int** pintarray,int* pM){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     50                void  GetParameterValue(int** pintarray,int* pM,int* pN){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     51                void  GetParameterValue(IssmDouble* pIssmDouble){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     52                void  GetParameterValue(char** pstring){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string");}
     53                void  GetParameterValue(char*** pstringarray,int* pM){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string array");}
     54                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     55                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
    5656                void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims);
    57                 void  GetParameterValue(Vector** pvec){_error_("DoubleMatArray param of enum %i (%s) cannot return a Vec",enum_type,EnumToStringx(enum_type));}
    58                 void  GetParameterValue(Matrix** pmat){_error_("DoubleMatArray param of enum %i (%s) cannot return a Mat",enum_type,EnumToStringx(enum_type));}
    59                 void  GetParameterValue(FILE** pfid){_error_("DoubleMatArray param of enum %i (%s) cannot return a FILE",enum_type,EnumToStringx(enum_type));}
     57                void  GetParameterValue(Vector** pvec){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Vec");}
     58                void  GetParameterValue(Matrix** pmat){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Mat");}
     59                void  GetParameterValue(FILE** pfid){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a FILE");}
    6060
    61                 void  SetValue(bool boolean){_error_("DoubleMatArray param of enum %i (%s) cannot hold a boolean",enum_type,EnumToStringx(enum_type));}
    62                 void  SetValue(int integer){_error_("DoubleMatArray param of enum %i (%s) cannot hold an integer",enum_type,EnumToStringx(enum_type));}
    63                 void  SetValue(IssmDouble scalar){_error_("DoubleMatArray param of enum %i (%s) cannot hold a scalar",enum_type,EnumToStringx(enum_type));}
    64                 void  SetValue(char* string){_error_("DoubleMatArray param of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    65                 void  SetValue(char** stringarray,int M){_error_("DoubleMatArray param of enum %i (%s) cannot hold a string array",enum_type,EnumToStringx(enum_type));}
    66                 void  SetValue(IssmDouble* IssmDoublearray,int M){_error_("DoubleMatArray param of enum %i (%s) cannot hold a IssmDouble vec array",enum_type,EnumToStringx(enum_type));}
    67                 void  SetValue(IssmDouble* IssmDoublearray,int M,int N){_error_("DoubleMatArray param of enum %i (%s) cannot hold a IssmDouble mat array",enum_type,EnumToStringx(enum_type));}
    68                 void  SetValue(int* intarray,int M){_error_("DoubleMatArray param of enum %i (%s) cannot hold a int vec array",enum_type,EnumToStringx(enum_type));}
    69                 void  SetValue(int* intarray,int M,int N){_error_("DoubleMatArray param of enum %i (%s) cannot hold a int mat array",enum_type,EnumToStringx(enum_type));}
    70                 void  SetValue(Vector* vec){_error_("DoubleMatArray param of enum %i (%s) cannot hold a Vec",enum_type,EnumToStringx(enum_type));}
    71                 void  SetValue(Matrix* mat){_error_("DoubleMatArray param of enum %i (%s) cannot hold a Mat",enum_type,EnumToStringx(enum_type));}
    72                 void  SetValue(FILE* fid){_error_("Bool param of enum %i (%s) cannot hold a FILE",enum_type,EnumToStringx(enum_type));}
     61                void  SetValue(bool boolean){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a boolean");}
     62                void  SetValue(int integer){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an integer");}
     63                void  SetValue(IssmDouble scalar){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a scalar");}
     64                void  SetValue(char* string){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     65                void  SetValue(char** stringarray,int M){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string array");}
     66                void  SetValue(IssmDouble* IssmDoublearray,int M){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble vec array");}
     67                void  SetValue(IssmDouble* IssmDoublearray,int M,int N){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble mat array");}
     68                void  SetValue(int* intarray,int M){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int vec array");}
     69                void  SetValue(int* intarray,int M,int N){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int mat array");}
     70                void  SetValue(Vector* vec){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Vec");}
     71                void  SetValue(Matrix* mat){_error2_("DoubleMatArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Mat");}
     72                void  SetValue(FILE* fid){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a FILE");}
    7373                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array);
    7474                void  UnitConversion(int direction_enum);
  • issm/trunk-jpl/src/c/objects/Params/DoubleMatParam.h

    r12474 r12494  
    4444                /*Param vritual function definitions: {{{*/
    4545                int   InstanceEnum(){return enum_type;}
    46                 void  GetParameterValue(bool* pbool){_error_("DoubleMat param of enum %i (%s) cannot return a bool",enum_type,EnumToStringx(enum_type));}
    47                 void  GetParameterValue(int* pinteger){_error_("DoubleMat param of enum %i (%s) cannot return an integer",enum_type,EnumToStringx(enum_type));}
    48                 void  GetParameterValue(int** pintarray,int* pM){_error_("DoubleMat param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
     46                void  GetParameterValue(bool* pbool){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a bool");}
     47                void  GetParameterValue(int* pinteger){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an integer");}
     48                void  GetParameterValue(int** pintarray,int* pM){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
    4949                void  GetParameterValue(int** pintarray,int* pM,int* pN);
    50                 void  GetParameterValue(IssmDouble* pIssmDouble){_error_("DoubleMat param of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    51                 void  GetParameterValue(char** pstring){_error_("DoubleMat param of enum %i (%s) cannot return a string",enum_type,EnumToStringx(enum_type));}
    52                 void  GetParameterValue(char*** pstringarray,int* pM){_error_("DoubleMat param of enum %i (%s) cannot return a string array",enum_type,EnumToStringx(enum_type));}
    53                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error_("DoubleMat param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
     50                void  GetParameterValue(IssmDouble* pIssmDouble){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     51                void  GetParameterValue(char** pstring){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string");}
     52                void  GetParameterValue(char*** pstringarray,int* pM){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string array");}
     53                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
    5454                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM,int* pN);
    55                 void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error_("DoubleMat param of enum %i (%s) cannot return a matrix array",enum_type,EnumToStringx(enum_type));}
    56                 void  GetParameterValue(Vector** pvec){_error_("DoubleMat param of enum %i (%s) cannot return a Vec",enum_type,EnumToStringx(enum_type));}
    57                 void  GetParameterValue(Matrix** pmat){_error_("DoubleMat param of enum %i (%s) cannot return a Mat",enum_type,EnumToStringx(enum_type));}
    58                 void  GetParameterValue(FILE** pfid){_error_("DoubleMat param of enum %i (%s) cannot return a FILE",enum_type,EnumToStringx(enum_type));}
     55                void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix array");}
     56                void  GetParameterValue(Vector** pvec){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Vec");}
     57                void  GetParameterValue(Matrix** pmat){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Mat");}
     58                void  GetParameterValue(FILE** pfid){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a FILE");}
    5959
    60                 void  SetValue(bool boolean){_error_("DoubleMat param of enum %i (%s) cannot hold a boolean",enum_type,EnumToStringx(enum_type));}
    61                 void  SetValue(int integer){_error_("DoubleMat param of enum %i (%s) cannot hold an integer",enum_type,EnumToStringx(enum_type));}
    62                 void  SetValue(IssmDouble scalar){_error_("DoubleMat param of enum %i (%s) cannot hold a scalar",enum_type,EnumToStringx(enum_type));}
    63                 void  SetValue(char* string){_error_("DoubleMat param of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    64                 void  SetValue(char** stringarray,int M){_error_("DoubleMat param of enum %i (%s) cannot hold a string array",enum_type,EnumToStringx(enum_type));}
    65                 void  SetValue(IssmDouble* IssmDoublearray,int M){_error_("DoubleMat param of enum %i (%s) cannot hold a IssmDouble vec array",enum_type,EnumToStringx(enum_type));}
     60                void  SetValue(bool boolean){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a boolean");}
     61                void  SetValue(int integer){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an integer");}
     62                void  SetValue(IssmDouble scalar){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a scalar");}
     63                void  SetValue(char* string){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     64                void  SetValue(char** stringarray,int M){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string array");}
     65                void  SetValue(IssmDouble* IssmDoublearray,int M){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble vec array");}
    6666                void  SetValue(IssmDouble* IssmDoublearray,int M,int N);
    67                 void  SetValue(int* intarray,int M){_error_("DoubleMat param of enum %i (%s) cannot hold a int vec array",enum_type,EnumToStringx(enum_type));}
    68                 void  SetValue(int* intarray,int M,int N){_error_("DoubleMat param of enum %i (%s) cannot hold a int mat array",enum_type,EnumToStringx(enum_type));};
    69                 void  SetValue(Vector* vec){_error_("DoubleMat param of enum %i (%s) cannot hold a Vec",enum_type,EnumToStringx(enum_type));}
    70                 void  SetValue(Matrix* mat){_error_("DoubleMat param of enum %i (%s) cannot hold a Mat",enum_type,EnumToStringx(enum_type));}
    71                 void  SetValue(FILE* fid){_error_("DoubleMat param of enum %i (%s) cannot hold a FILE",enum_type,EnumToStringx(enum_type));}
    72                 void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error_("DoubleMat param of enum %i (%s) cannot hold an array of matrices",enum_type,EnumToStringx(enum_type));}
     67                void  SetValue(int* intarray,int M){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int vec array");}
     68                void  SetValue(int* intarray,int M,int N){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int mat array");};
     69                void  SetValue(Vector* vec){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Vec");}
     70                void  SetValue(Matrix* mat){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Mat");}
     71                void  SetValue(FILE* fid){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a FILE");}
     72                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error2_("DoubleMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an array of matrices");}
    7373                void  UnitConversion(int direction_enum);
    7474                IssmDouble* GetPointer(void);
  • issm/trunk-jpl/src/c/objects/Params/DoubleParam.h

    r12474 r12494  
    4848                void  GetParameterValue(int** pintarray,int* pM,int* pN);
    4949                void  GetParameterValue(IssmDouble* pIssmDouble){*pIssmDouble=value;}
    50                 void  GetParameterValue(char** pstring){_error_("Double param of enum %i (%s) cannot return a string",enum_type,EnumToStringx(enum_type));}
    51                 void  GetParameterValue(char*** pstringarray,int* pM){_error_("Double param of enum %i (%s) cannot return a string array",enum_type,EnumToStringx(enum_type));}
     50                void  GetParameterValue(char** pstring){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string");}
     51                void  GetParameterValue(char*** pstringarray,int* pM){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string array");}
    5252                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM);
    5353                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN);
    54                 void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error_("Double param of enum %i (%s) cannot return a matrix array",enum_type,EnumToStringx(enum_type));}
    55                 void  GetParameterValue(Vector** pvec){_error_("Double param of enum %i (%s) cannot return a Vec",enum_type,EnumToStringx(enum_type));}
    56                 void  GetParameterValue(Matrix** pmat){_error_("Double param of enum %i (%s) cannot return a Mat",enum_type,EnumToStringx(enum_type));}
    57                 void  GetParameterValue(FILE** pfid){_error_("Double param of enum %i (%s) cannot return a FILE",enum_type,EnumToStringx(enum_type));}
     54                void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix array");}
     55                void  GetParameterValue(Vector** pvec){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Vec");}
     56                void  GetParameterValue(Matrix** pmat){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Mat");}
     57                void  GetParameterValue(FILE** pfid){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a FILE");}
    5858
    5959                void  SetValue(bool boolean){this->value=(IssmDouble)boolean;}
    6060                void  SetValue(int integer){this->value=(IssmDouble)integer;}
    6161                void  SetValue(IssmDouble scalar){this->value=(IssmDouble)scalar;}
    62                 void  SetValue(char* string){_error_("Double param of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    63                 void  SetValue(char** stringarray,int M){_error_("Double param of enum %i (%s) cannot hold a string array",enum_type,EnumToStringx(enum_type));}
    64                 void  SetValue(IssmDouble* IssmDoublearray,int M){_error_("Double param of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    65                 void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error_("Double param of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    66                 void  SetValue(int* intarray,int M){_error_("Double param of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
    67                 void  SetValue(int* pintarray,int M,int N){_error_("Double param of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
    68                 void  SetValue(Vector* vec){_error_("Double param of enum %i (%s) cannot hold a Vec",enum_type,EnumToStringx(enum_type));}
    69                 void  SetValue(Matrix* mat){_error_("Double param of enum %i (%s) cannot hold a Mat",enum_type,EnumToStringx(enum_type));}
    70                 void  SetValue(FILE* fid){_error_("Double param of enum %i (%s) cannot hold a FILE",enum_type,EnumToStringx(enum_type));}
    71                 void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error_("Double param of enum %i (%s) cannot hold an array of matrices",enum_type,EnumToStringx(enum_type));}
     62                void  SetValue(char* string){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     63                void  SetValue(char** stringarray,int M){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string array");}
     64                void  SetValue(IssmDouble* IssmDoublearray,int M){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     65                void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     66                void  SetValue(int* intarray,int M){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
     67                void  SetValue(int* pintarray,int M,int N){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
     68                void  SetValue(Vector* vec){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Vec");}
     69                void  SetValue(Matrix* mat){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Mat");}
     70                void  SetValue(FILE* fid){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a FILE");}
     71                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error2_("Double param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an array of matrices");}
    7272                void  UnitConversion(int direction_enum);
    7373
  • issm/trunk-jpl/src/c/objects/Params/DoubleVecParam.h

    r12474 r12494  
    4343                /*Param virtual functions definitions: {{{*/
    4444                int   InstanceEnum(){return enum_type;}
    45                 void  GetParameterValue(bool* pbool){_error_("DoubleVec param of enum %i (%s) cannot return a bool",enum_type,EnumToStringx(enum_type));}
    46                 void  GetParameterValue(int* pinteger){_error_("DoubleVec param of enum %i (%s) cannot return an integer",enum_type,EnumToStringx(enum_type));}
     45                void  GetParameterValue(bool* pbool){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a bool");}
     46                void  GetParameterValue(int* pinteger){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an integer");}
    4747                void  GetParameterValue(int** pintarray,int* pM);
    48                 void  GetParameterValue(int** pintarray,int* pM,int* pN){_error_("DoubleVec param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));};
    49                 void  GetParameterValue(IssmDouble* pIssmDouble){_error_("DoubleVec param of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    50                 void  GetParameterValue(char** pstring){_error_("DoubleVec param of enum %i (%s) cannot return a string",enum_type,EnumToStringx(enum_type));}
    51                 void  GetParameterValue(char*** pstringarray,int* pM){_error_("DoubleVec param of enum %i (%s) cannot return a string array",enum_type,EnumToStringx(enum_type));}
     48                void  GetParameterValue(int** pintarray,int* pM,int* pN){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");};
     49                void  GetParameterValue(IssmDouble* pIssmDouble){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     50                void  GetParameterValue(char** pstring){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string");}
     51                void  GetParameterValue(char*** pstringarray,int* pM){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string array");}
    5252                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM);
    5353                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN);
    54                 void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error_("DoubleVec param of enum %i (%s) cannot return a matrix array",enum_type,EnumToStringx(enum_type));}
    55                 void  GetParameterValue(Vector** pvec){_error_("DoubleVec param of enum %i (%s) cannot return a Vec",enum_type,EnumToStringx(enum_type));}
    56                 void  GetParameterValue(Matrix** pmat){_error_("DoubleVec param of enum %i (%s) cannot return a Mat",enum_type,EnumToStringx(enum_type));}
    57                 void  GetParameterValue(FILE** pfid){_error_("DoubleVec param of enum %i (%s) cannot return a FILE",enum_type,EnumToStringx(enum_type));}
     54                void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix array");}
     55                void  GetParameterValue(Vector** pvec){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Vec");}
     56                void  GetParameterValue(Matrix** pmat){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Mat");}
     57                void  GetParameterValue(FILE** pfid){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a FILE");}
    5858
    59                 void  SetValue(bool boolean){_error_("DoubleVec param of enum %i (%s) cannot hold a boolean",enum_type,EnumToStringx(enum_type));}
    60                 void  SetValue(int integer){_error_("DoubleVec param of enum %i (%s) cannot hold an integer",enum_type,EnumToStringx(enum_type));}
    61                 void  SetValue(IssmDouble scalar){_error_("DoubleVec param of enum %i (%s) cannot hold a scalar",enum_type,EnumToStringx(enum_type));}
    62                 void  SetValue(char* string){_error_("DoubleVec param of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    63                 void  SetValue(char** stringarray,int M){_error_("DoubleVec param of enum %i (%s) cannot hold a string array",enum_type,EnumToStringx(enum_type));}
     59                void  SetValue(bool boolean){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a boolean");}
     60                void  SetValue(int integer){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an integer");}
     61                void  SetValue(IssmDouble scalar){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a scalar");}
     62                void  SetValue(char* string){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     63                void  SetValue(char** stringarray,int M){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string array");}
    6464                void  SetValue(IssmDouble* IssmDoublearray,int M);
    65                 void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error_("DoubleVec param of enum %i (%s) cannot hold a IssmDouble mat array",enum_type,EnumToStringx(enum_type));}
    66                 void  SetValue(int* intarray,int M){_error_("DoubleVec param of enum %i (%s) cannot hold a int mat array",enum_type,EnumToStringx(enum_type));};
    67                 void  SetValue(int* pintarray,int M,int N){_error_("DoubleVec param of enum %i (%s) cannot hold a int mat array",enum_type,EnumToStringx(enum_type));}
    68                 void  SetValue(Vector* vec){_error_("DoubleVec param of enum %i (%s) cannot hold a Vec",enum_type,EnumToStringx(enum_type));}
    69                 void  SetValue(Matrix* mat){_error_("DoubleVec param of enum %i (%s) cannot hold a Mat",enum_type,EnumToStringx(enum_type));}
    70                 void  SetValue(FILE* fid){_error_("DoubleVec param of enum %i (%s) cannot hold a FILE",enum_type,EnumToStringx(enum_type));}
    71                 void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error_("DoubleVec param of enum %i (%s) cannot hold an array of matrices",enum_type,EnumToStringx(enum_type));}
     65                void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble mat array");}
     66                void  SetValue(int* intarray,int M){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int mat array");};
     67                void  SetValue(int* pintarray,int M,int N){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int mat array");}
     68                void  SetValue(Vector* vec){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Vec");}
     69                void  SetValue(Matrix* mat){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Mat");}
     70                void  SetValue(FILE* fid){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a FILE");}
     71                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error2_("DoubleVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an array of matrices");}
    7272                void  UnitConversion(int direction_enum);
    7373               
  • issm/trunk-jpl/src/c/objects/Params/FileParam.h

    r12474 r12494  
    4242                /*Param vritual function definitions: {{{*/
    4343                int   InstanceEnum(){return enum_type;}
    44                 void  GetParameterValue(bool* pbool){  _error_("FileParam of enum %i (%s) cannot return a bool",enum_type,EnumToStringx(enum_type));}
    45                 void  GetParameterValue(int* pinteger){_error_("FileParam of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    46                 void  GetParameterValue(int** pintarray,int* pM){_error_("FileParam of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    47                 void  GetParameterValue(int** pintarray,int* pM,int* pN){_error_("FileParam of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    48                 void  GetParameterValue(IssmDouble* pIssmDouble){_error_("FileParam of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    49                 void  GetParameterValue(char** pstring){_error_("FileParam of enum %i (%s) cannot return a string",enum_type,EnumToStringx(enum_type));}
    50                 void  GetParameterValue(char*** pstringarray,int* pM){_error_("FileParam of enum %i (%s) cannot return a string array",enum_type,EnumToStringx(enum_type));}
    51                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error_("FileParam of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    52                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error_("FileParam of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    53                 void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error_("File param of enum %i (%s) cannot return a matrix array",enum_type,EnumToStringx(enum_type));}
    54                 void  GetParameterValue(Vector** pvec){_error_("FileParam of enum %i (%s) cannot return a Vec",enum_type,EnumToStringx(enum_type));}
    55                 void  GetParameterValue(Matrix** pmat){_error_("FileParam of enum %i (%s) cannot return a Mat",enum_type,EnumToStringx(enum_type));}
     44                void  GetParameterValue(bool* pbool){  _error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a bool");}
     45                void  GetParameterValue(int* pinteger){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     46                void  GetParameterValue(int** pintarray,int* pM){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     47                void  GetParameterValue(int** pintarray,int* pM,int* pN){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     48                void  GetParameterValue(IssmDouble* pIssmDouble){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     49                void  GetParameterValue(char** pstring){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string");}
     50                void  GetParameterValue(char*** pstringarray,int* pM){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string array");}
     51                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     52                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     53                void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error2_("File param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix array");}
     54                void  GetParameterValue(Vector** pvec){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Vec");}
     55                void  GetParameterValue(Matrix** pmat){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Mat");}
    5656                void  GetParameterValue(FILE** pfid){*pfid=value;};
    5757
    58                 void  SetValue(bool boolean){_error_("FileParam of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    59                 void  SetValue(int integer){_error_("FileParam of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    60                 void  SetValue(IssmDouble scalar){_error_("FileParam of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    61                 void  SetValue(char* string){_error_("FileParam of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    62                 void  SetValue(char** stringarray,int M){_error_("FileParam of enum %i (%s) cannot hold a string array",enum_type,EnumToStringx(enum_type));}
    63                 void  SetValue(IssmDouble* IssmDoublearray,int M){_error_("FileParam of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    64                 void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error_("FileParam of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    65                 void  SetValue(int* intarray,int M){_error_("FileParam of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
    66                 void  SetValue(int* pintarray,int M,int N){_error_("FileParam of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
    67                 void  SetValue(Vector* vec){_error_("FileParam of enum %i (%s) cannot hold a Vec",enum_type,EnumToStringx(enum_type));}
    68                 void  SetValue(Matrix* mat){_error_("FileParam of enum %i (%s) cannot hold a Mat",enum_type,EnumToStringx(enum_type));}
    69                 void  SetValue(FILE* fid){_error_("File param of enum %i (%s) cannot hold a FILE",enum_type,EnumToStringx(enum_type));}
    70                 void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error_("File param of enum %i (%s) cannot hold an array of matrices",enum_type,EnumToStringx(enum_type));}
     58                void  SetValue(bool boolean){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     59                void  SetValue(int integer){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     60                void  SetValue(IssmDouble scalar){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     61                void  SetValue(char* string){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     62                void  SetValue(char** stringarray,int M){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string array");}
     63                void  SetValue(IssmDouble* IssmDoublearray,int M){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     64                void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     65                void  SetValue(int* intarray,int M){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
     66                void  SetValue(int* pintarray,int M,int N){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
     67                void  SetValue(Vector* vec){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Vec");}
     68                void  SetValue(Matrix* mat){_error2_("FileParam of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Mat");}
     69                void  SetValue(FILE* fid){_error2_("File param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a FILE");}
     70                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error2_("File param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an array of matrices");}
    7171                void  UnitConversion(int direction_enum);
    7272
  • issm/trunk-jpl/src/c/objects/Params/IntMatParam.h

    r12474 r12494  
    4444                /*Param vritual function definitions: {{{*/
    4545                int   InstanceEnum(){return enum_type;}
    46                 void  GetParameterValue(bool* pbool){_error_("IntMat param of enum %i (%s) cannot return a bool",enum_type,EnumToStringx(enum_type));}
    47                 void  GetParameterValue(int* pinteger){_error_("IntMat param of enum %i (%s) cannot return an integer",enum_type,EnumToStringx(enum_type));}
    48                 void  GetParameterValue(int** pintarray,int* pM){_error_("IntMat param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
     46                void  GetParameterValue(bool* pbool){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a bool");}
     47                void  GetParameterValue(int* pinteger){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an integer");}
     48                void  GetParameterValue(int** pintarray,int* pM){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
    4949                void  GetParameterValue(int** pintarray,int* pM,int* pN);
    50                 void  GetParameterValue(IssmDouble* pIssmDouble){_error_("IntMat param of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    51                 void  GetParameterValue(char** pstring){_error_("IntMat param of enum %i (%s) cannot return a string",enum_type,EnumToStringx(enum_type));}
    52                 void  GetParameterValue(char*** pstringarray,int* pM){_error_("IntMat param of enum %i (%s) cannot return a string array",enum_type,EnumToStringx(enum_type));}
    53                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error_("IntMat param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    54                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM,int* pN){_error_("IntMat param of enum %i (%s) cannot return a matrix array",enum_type,EnumToStringx(enum_type));};
    55                 void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error_("IntMat param of enum %i (%s) cannot return a matrix array",enum_type,EnumToStringx(enum_type));}
    56                 void  GetParameterValue(Vector** pvec){_error_("IntMat param of enum %i (%s) cannot return a Vec",enum_type,EnumToStringx(enum_type));}
    57                 void  GetParameterValue(Matrix** pmat){_error_("IntMat param of enum %i (%s) cannot return a Mat",enum_type,EnumToStringx(enum_type));}
    58                 void  GetParameterValue(FILE** pfid){_error_("IntMat param of enum %i (%s) cannot return a FILE",enum_type,EnumToStringx(enum_type));}
     50                void  GetParameterValue(IssmDouble* pIssmDouble){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     51                void  GetParameterValue(char** pstring){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string");}
     52                void  GetParameterValue(char*** pstringarray,int* pM){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string array");}
     53                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     54                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM,int* pN){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix array");};
     55                void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix array");}
     56                void  GetParameterValue(Vector** pvec){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Vec");}
     57                void  GetParameterValue(Matrix** pmat){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Mat");}
     58                void  GetParameterValue(FILE** pfid){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a FILE");}
    5959
    60                 void  SetValue(bool boolean){_error_("IntMat param of enum %i (%s) cannot hold a boolean",enum_type,EnumToStringx(enum_type));}
    61                 void  SetValue(int integer){_error_("IntMat param of enum %i (%s) cannot hold an integer",enum_type,EnumToStringx(enum_type));}
    62                 void  SetValue(IssmDouble scalar){_error_("IntMat param of enum %i (%s) cannot hold a scalar",enum_type,EnumToStringx(enum_type));}
    63                 void  SetValue(char* string){_error_("IntMat param of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    64                 void  SetValue(char** stringarray,int M){_error_("IntMat param of enum %i (%s) cannot hold a string array",enum_type,EnumToStringx(enum_type));}
    65                 void  SetValue(IssmDouble* IssmDoublearray,int M){_error_("IntMat param of enum %i (%s) cannot hold a IssmDouble vec array",enum_type,EnumToStringx(enum_type));}
    66                 void  SetValue(IssmDouble* IssmDoublearray,int M,int N){_error_("IntMat param of enum %i (%s) cannot hold a IssmDouble vec array",enum_type,EnumToStringx(enum_type));};
    67                 void  SetValue(int* intarray,int M){_error_("IntMat param of enum %i (%s) cannot hold a int vec array",enum_type,EnumToStringx(enum_type));};
     60                void  SetValue(bool boolean){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a boolean");}
     61                void  SetValue(int integer){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an integer");}
     62                void  SetValue(IssmDouble scalar){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a scalar");}
     63                void  SetValue(char* string){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     64                void  SetValue(char** stringarray,int M){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string array");}
     65                void  SetValue(IssmDouble* IssmDoublearray,int M){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble vec array");}
     66                void  SetValue(IssmDouble* IssmDoublearray,int M,int N){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble vec array");};
     67                void  SetValue(int* intarray,int M){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int vec array");};
    6868                void  SetValue(int* intarray,int M,int N);
    69                 void  SetValue(Vector* vec){_error_("IntMat param of enum %i (%s) cannot hold a Vec",enum_type,EnumToStringx(enum_type));}
    70                 void  SetValue(Matrix* mat){_error_("IntMat param of enum %i (%s) cannot hold a Mat",enum_type,EnumToStringx(enum_type));}
    71                 void  SetValue(FILE* fid){_error_("IntMat param of enum %i (%s) cannot hold a FILE",enum_type,EnumToStringx(enum_type));}
    72                 void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error_("IntMat param of enum %i (%s) cannot hold an array of matrices",enum_type,EnumToStringx(enum_type));}
     69                void  SetValue(Vector* vec){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Vec");}
     70                void  SetValue(Matrix* mat){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Mat");}
     71                void  SetValue(FILE* fid){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a FILE");}
     72                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error2_("IntMat param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an array of matrices");}
    7373                void  UnitConversion(int direction_enum);
    7474
  • issm/trunk-jpl/src/c/objects/Params/IntParam.h

    r12482 r12494  
    4343                /*Param vritual function definitions: {{{*/
    4444                int   InstanceEnum(){return enum_type;}
    45                 void  GetParameterValue(bool* pbool){_error_("Int param of enum %i (%s) cannot return a bool",enum_type,EnumToStringx(enum_type));}
     45                void  GetParameterValue(bool* pbool){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a bool");}
    4646                void  GetParameterValue(int* pinteger){*pinteger=value;}
    47                 void  GetParameterValue(int** pintarray,int* pM){_error_("Int param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    48                 void  GetParameterValue(int** pintarray,int* pM,int* pN){_error_("Int param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    49                 void  GetParameterValue(IssmDouble* pIssmDouble){_error_("Int param of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    50                 void  GetParameterValue(char** pstring){_error_("Int param of enum %i (%s) cannot return a string",enum_type,EnumToStringx(enum_type));}
    51                 void  GetParameterValue(char*** pstringarray,int* pM){_error_("Int param of enum %i (%s) cannot return a string array",enum_type,EnumToStringx(enum_type));}
    52                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error_("Int param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    53                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error_("Int param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    54                 void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error_("Int param of enum %i (%s) cannot return a matrix array",enum_type,EnumToStringx(enum_type));}
    55                 void  GetParameterValue(Vector** pvec){_error_("Int param of enum %i (%s) cannot return a Vec",enum_type,EnumToStringx(enum_type));}
    56                 void  GetParameterValue(Matrix** pmat){_error_("Int param of enum %i (%s) cannot return a Mat",enum_type,EnumToStringx(enum_type));}
    57                 void  GetParameterValue(FILE** pfid){_error_("Int param of enum %i (%s) cannot return a FILE",enum_type,EnumToStringx(enum_type));}
     47                void  GetParameterValue(int** pintarray,int* pM){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     48                void  GetParameterValue(int** pintarray,int* pM,int* pN){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     49                void  GetParameterValue(IssmDouble* pIssmDouble){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     50                void  GetParameterValue(char** pstring){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string");}
     51                void  GetParameterValue(char*** pstringarray,int* pM){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string array");}
     52                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     53                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     54                void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix array");}
     55                void  GetParameterValue(Vector** pvec){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Vec");}
     56                void  GetParameterValue(Matrix** pmat){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Mat");}
     57                void  GetParameterValue(FILE** pfid){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a FILE");}
    5858
    5959                void  SetValue(bool boolean){this->value=(int)boolean;}
    6060                void  SetValue(int integer){this->value=integer;}
    61                 void  SetValue(int* intarray,int M){_error_("Int param of enum %i (%s) cannot hold an int array",enum_type,EnumToStringx(enum_type));}
    62                 void  SetValue(int* intarray,int M,int N){_error_("Int param of enum %i (%s) cannot hold an int array",enum_type,EnumToStringx(enum_type));}
     61                void  SetValue(int* intarray,int M){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an int array");}
     62                void  SetValue(int* intarray,int M,int N){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an int array");}
    6363                void  SetValue(IssmPDouble scalar){this->value=(int)scalar;}
    64                 void  SetValue(char* string){_error_("Int param of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    65                 void  SetValue(char** stringarray,int M){_error_("Int param of enum %i (%s) cannot hold a string array",enum_type,EnumToStringx(enum_type));}
    66                 void  SetValue(IssmDouble* IssmDoublearray,int M){_error_("Int param of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    67                 void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error_("Int param of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    68                 void  SetValue(Vector* vec){_error_("Int param of enum %i (%s) cannot hold a Vec",enum_type,EnumToStringx(enum_type));}
    69                 void  SetValue(Matrix* mat){_error_("Int param of enum %i (%s) cannot hold a Mat",enum_type,EnumToStringx(enum_type));}
    70                 void  SetValue(FILE* fid){_error_("Int param of enum %i (%s) cannot hold a FILE",enum_type,EnumToStringx(enum_type));}
    71                 void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error_("Int param of enum %i (%s) cannot hold an array of matrices",enum_type,EnumToStringx(enum_type));}
     64                void  SetValue(char* string){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     65                void  SetValue(char** stringarray,int M){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string array");}
     66                void  SetValue(IssmDouble* IssmDoublearray,int M){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     67                void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     68                void  SetValue(Vector* vec){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Vec");}
     69                void  SetValue(Matrix* mat){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Mat");}
     70                void  SetValue(FILE* fid){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a FILE");}
     71                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error2_("Int param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an array of matrices");}
    7272                void  UnitConversion(int direction_enum);
    7373
  • issm/trunk-jpl/src/c/objects/Params/IntVecParam.h

    r12474 r12494  
    4444                /*Param virtual functions definitions: {{{*/
    4545                int   InstanceEnum(){return enum_type;}
    46                 void  GetParameterValue(bool* pbool){_error_("IntVec param of enum %i (%s) cannot return a bool",enum_type,EnumToStringx(enum_type));}
    47                 void  GetParameterValue(int* pinteger){_error_("IntVec param of enum %i (%s) cannot return an integer",enum_type,EnumToStringx(enum_type));}
     46                void  GetParameterValue(bool* pbool){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a bool");}
     47                void  GetParameterValue(int* pinteger){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an integer");}
    4848                void  GetParameterValue(int** pintarray,int* pM);
    49                 void  GetParameterValue(int** pintarray,int* pM,int* pN){_error_("IntVec param of enum %i (%s) cannot return a matrix",enum_type,EnumToStringx(enum_type));}
    50                 void  GetParameterValue(IssmDouble* pIssmDouble){_error_("IntVec param of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    51                 void  GetParameterValue(char** pstring){_error_("IntVec param of enum %i (%s) cannot return a string",enum_type,EnumToStringx(enum_type));}
    52                 void  GetParameterValue(char*** pstringarray,int* pM){_error_("IntVec param of enum %i (%s) cannot return a string array",enum_type,EnumToStringx(enum_type));}
    53                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error_("IntVec param of enum %i (%s) cannot return a IssmDouble array (maybe in serial?)",enum_type,EnumToStringx(enum_type));}
    54                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error_("IntVec param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    55                 void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error_("IntVec param of enum %i (%s) cannot return a matrix array",enum_type,EnumToStringx(enum_type));}
    56                 void  GetParameterValue(Vector** pvec){_error_("IntVec param of enum %i (%s) cannot return a Vec",enum_type,EnumToStringx(enum_type));}
    57                 void  GetParameterValue(Matrix** pmat){_error_("IntVec param of enum %i (%s) cannot return a Mat",enum_type,EnumToStringx(enum_type));}
    58                 void  GetParameterValue(FILE** pfid){_error_("IntVec param of enum %i (%s) cannot return a FILE",enum_type,EnumToStringx(enum_type));}
     49                void  GetParameterValue(int** pintarray,int* pM,int* pN){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix");}
     50                void  GetParameterValue(IssmDouble* pIssmDouble){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     51                void  GetParameterValue(char** pstring){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string");}
     52                void  GetParameterValue(char*** pstringarray,int* pM){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string array");}
     53                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array (maybe in serial?)");}
     54                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     55                void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix array");}
     56                void  GetParameterValue(Vector** pvec){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Vec");}
     57                void  GetParameterValue(Matrix** pmat){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Mat");}
     58                void  GetParameterValue(FILE** pfid){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a FILE");}
    5959
    60                 void  SetValue(bool boolean){_error_("IntVec param of enum %i (%s) cannot hold a boolean",enum_type,EnumToStringx(enum_type));}
    61                 void  SetValue(int integer){_error_("IntVec param of enum %i (%s) cannot hold an integer",enum_type,EnumToStringx(enum_type));}
    62                 void  SetValue(IssmDouble scalar){_error_("IntVec param of enum %i (%s) cannot hold a scalar",enum_type,EnumToStringx(enum_type));}
    63                 void  SetValue(char* string){_error_("IntVec param of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    64                 void  SetValue(char** stringarray,int M){_error_("IntVec param of enum %i (%s) cannot hold a string array",enum_type,EnumToStringx(enum_type));}
    65                 void  SetValue(IssmDouble* IssmDoublearray,int M){_error_("IntVec param of enum %i (%s) cannot hold a IssmDouble mat array",enum_type,EnumToStringx(enum_type));}
    66                 void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error_("IntVec param of enum %i (%s) cannot hold a IssmDouble mat array",enum_type,EnumToStringx(enum_type));}
     60                void  SetValue(bool boolean){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a boolean");}
     61                void  SetValue(int integer){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an integer");}
     62                void  SetValue(IssmDouble scalar){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a scalar");}
     63                void  SetValue(char* string){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     64                void  SetValue(char** stringarray,int M){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string array");}
     65                void  SetValue(IssmDouble* IssmDoublearray,int M){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble mat array");}
     66                void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble mat array");}
    6767                void  SetValue(int* intarray,int M);
    68                 void  SetValue(int* pintarray,int M,int N){_error_("IntVec param of enum %i (%s) cannot hold a int mat array",enum_type,EnumToStringx(enum_type));}
    69                 void  SetValue(Vector* vec){_error_("IntVec param of enum %i (%s) cannot hold a Vec",enum_type,EnumToStringx(enum_type));}
    70                 void  SetValue(Matrix* mat){_error_("IntVec param of enum %i (%s) cannot hold a Mat",enum_type,EnumToStringx(enum_type));}
    71                 void  SetValue(FILE* fid){_error_("IntVec param of enum %i (%s) cannot hold a FILE",enum_type,EnumToStringx(enum_type));}
    72                 void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error_("IntVec param of enum %i (%s) cannot hold an array of matrices",enum_type,EnumToStringx(enum_type));}
     68                void  SetValue(int* pintarray,int M,int N){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int mat array");}
     69                void  SetValue(Vector* vec){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Vec");}
     70                void  SetValue(Matrix* mat){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Mat");}
     71                void  SetValue(FILE* fid){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a FILE");}
     72                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error2_("IntVec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an array of matrices");}
    7373                void  UnitConversion(int direction_enum);
    7474               
  • issm/trunk-jpl/src/c/objects/Params/MatrixParam.h

    r12474 r12494  
    4343                /*Param vritual function definitions: {{{*/
    4444                int   InstanceEnum(){return enum_type;}
    45                 void  GetParameterValue(bool* pbool){_error_("Matrix param of enum %i (%s) cannot return a bool",enum_type,EnumToStringx(enum_type));}
    46                 void  GetParameterValue(int* pinteger){_error_("Matrix param of enum %i (%s) cannot return an integer",enum_type,EnumToStringx(enum_type));}
    47                 void  GetParameterValue(int** pintarray,int* pM){_error_("Matrix param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    48                 void  GetParameterValue(int** pintarray,int* pM,int* pN){_error_("Matrix param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    49                 void  GetParameterValue(IssmDouble* pIssmDouble){_error_("Matrix param of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    50                 void  GetParameterValue(char** pstring){_error_("Matrix param of enum %i (%s) cannot return a string",enum_type,EnumToStringx(enum_type));}
    51                 void  GetParameterValue(char*** pstringarray,int* pM){_error_("Matrix param of enum %i (%s) cannot return a string array",enum_type,EnumToStringx(enum_type));}
    52                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error_("Matrix param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    53                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error_("Matrix param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    54                 void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error_("Matrix param of enum %i (%s) cannot return a matrix array",enum_type,EnumToStringx(enum_type));}
    55                 void  GetParameterValue(Vector** pvec){_error_("Matrix param of enum %i (%s) cannot return a vec",enum_type,EnumToStringx(enum_type));}
     45                void  GetParameterValue(bool* pbool){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a bool");}
     46                void  GetParameterValue(int* pinteger){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an integer");}
     47                void  GetParameterValue(int** pintarray,int* pM){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     48                void  GetParameterValue(int** pintarray,int* pM,int* pN){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     49                void  GetParameterValue(IssmDouble* pIssmDouble){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     50                void  GetParameterValue(char** pstring){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string");}
     51                void  GetParameterValue(char*** pstringarray,int* pM){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string array");}
     52                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     53                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     54                void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix array");}
     55                void  GetParameterValue(Vector** pvec){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a vec");}
    5656                void  GetParameterValue(Matrix** poutput);
    57                 void  GetParameterValue(FILE** pfid){_error_("Matrix param of enum %i (%s) cannot return a FILE",enum_type,EnumToStringx(enum_type));}
     57                void  GetParameterValue(FILE** pfid){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a FILE");}
    5858
    59                 void  SetValue(bool boolean){_error_("Matrix param of enum %i (%s) cannot hold a boolean",enum_type,EnumToStringx(enum_type));}
    60                 void  SetValue(int integer){_error_("Matrix param of enum %i (%s) cannot hold an integer",enum_type,EnumToStringx(enum_type));}
    61                 void  SetValue(IssmDouble scalar){_error_("Matrix param of enum %i (%s) cannot hold a scalar",enum_type,EnumToStringx(enum_type));}
    62                 void  SetValue(char* string){_error_("Matrix param of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    63                 void  SetValue(char** stringarray,int M){_error_("Matrix param of enum %i (%s) cannot hold a string array",enum_type,EnumToStringx(enum_type));}
    64                 void  SetValue(IssmDouble* IssmDoublearray,int M){_error_("Matrix param of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    65                 void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error_("Matrix param of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    66                 void  SetValue(int* intarray,int M){_error_("Matrix param of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
    67                 void  SetValue(int* pintarray,int M,int N){_error_("Matrix param of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
    68                 void  SetValue(Vector* vec){_error_("Matrix param of enum %i (%s) cannot hold a Vec",enum_type,EnumToStringx(enum_type));}
     59                void  SetValue(bool boolean){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a boolean");}
     60                void  SetValue(int integer){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an integer");}
     61                void  SetValue(IssmDouble scalar){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a scalar");}
     62                void  SetValue(char* string){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     63                void  SetValue(char** stringarray,int M){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string array");}
     64                void  SetValue(IssmDouble* IssmDoublearray,int M){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     65                void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     66                void  SetValue(int* intarray,int M){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
     67                void  SetValue(int* pintarray,int M,int N){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
     68                void  SetValue(Vector* vec){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Vec");}
    6969                void  SetValue(Matrix* mat);
    70                 void  SetValue(FILE* fid){_error_("Matrix param of enum %i (%s) cannot hold a FILE",enum_type,EnumToStringx(enum_type));}
    71                 void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error_("Matrix param of enum %i (%s) cannot hold an array of matrices",enum_type,EnumToStringx(enum_type));}
     70                void  SetValue(FILE* fid){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a FILE");}
     71                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error2_("Matrix param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an array of matrices");}
    7272                void  UnitConversion(int direction_enum);
    7373
  • issm/trunk-jpl/src/c/objects/Params/StringArrayParam.h

    r12474 r12494  
    4545                /*Param vritual function definitions: {{{*/
    4646                int   InstanceEnum(){return enum_type;}
    47                 void  GetParameterValue(bool* pbool){_error_("StringArray param of enum %i (%s) cannot return a bool",enum_type,EnumToStringx(enum_type));}
    48                 void  GetParameterValue(int* pinteger){_error_("StringArray param of enum %i (%s) cannot return an integer",enum_type,EnumToStringx(enum_type));}
    49                 void  GetParameterValue(int** pintarray,int* pM){_error_("StringArray param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    50                 void  GetParameterValue(int** pintarray,int* pM,int* pN){_error_("StringArray param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    51                 void  GetParameterValue(IssmDouble* pIssmDouble){_error_("StringArray param of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    52                 void  GetParameterValue(char** pstring){_error_("StringArray param of enum %i (%s) cannot return a string",enum_type,EnumToStringx(enum_type));}
     47                void  GetParameterValue(bool* pbool){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a bool");}
     48                void  GetParameterValue(int* pinteger){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an integer");}
     49                void  GetParameterValue(int** pintarray,int* pM){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     50                void  GetParameterValue(int** pintarray,int* pM,int* pN){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     51                void  GetParameterValue(IssmDouble* pIssmDouble){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     52                void  GetParameterValue(char** pstring){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string");}
    5353                void  GetParameterValue(char*** pstringarray,int* pM);
    54                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error_("StringArray param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    55                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error_("StringArray param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    56                 void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error_("Vec param of enum %i (%s) cannot return a matrix array",enum_type,EnumToStringx(enum_type));}
    57                 void  GetParameterValue(Vector** pvec){_error_("StringArray param of enum %i (%s) cannot return a Vec",enum_type,EnumToStringx(enum_type));}
    58                 void  GetParameterValue(Matrix** pmat){_error_("StringArray param of enum %i (%s) cannot return a Mat",enum_type,EnumToStringx(enum_type));}
    59                 void  GetParameterValue(FILE** pfid){_error_("StringArray param of enum %i (%s) cannot return a FILE",enum_type,EnumToStringx(enum_type));}
     54                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     55                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     56                void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error2_("Vec param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix array");}
     57                void  GetParameterValue(Vector** pvec){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Vec");}
     58                void  GetParameterValue(Matrix** pmat){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Mat");}
     59                void  GetParameterValue(FILE** pfid){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a FILE");}
    6060
    61                 void  SetValue(bool boolean){_error_("StringArray param of enum %i (%s) cannot hold a boolean",enum_type,EnumToStringx(enum_type));}
    62                 void  SetValue(int integer){_error_("StringArray param of enum %i (%s) cannot hold an integer",enum_type,EnumToStringx(enum_type));}
    63                 void  SetValue(IssmDouble scalar){_error_("StringArray param of enum %i (%s) cannot hold a scalar",enum_type,EnumToStringx(enum_type));}
    64                 void  SetValue(char* string){_error_("StringArray param of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
     61                void  SetValue(bool boolean){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a boolean");}
     62                void  SetValue(int integer){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an integer");}
     63                void  SetValue(IssmDouble scalar){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a scalar");}
     64                void  SetValue(char* string){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
    6565                void  SetValue(char** stringarray,int M);
    66                 void  SetValue(IssmDouble* IssmDoublearray,int M){_error_("StringArray param of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    67                 void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error_("StringArray param of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    68                 void  SetValue(int* intarray,int M){_error_("StringArray param of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
    69                 void  SetValue(int* pintarray,int M,int N){_error_("StringArray param of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
    70                 void  SetValue(Vector* vec){_error_("StringArray param of enum %i (%s) cannot hold a Vec",enum_type,EnumToStringx(enum_type));}
    71                 void  SetValue(Matrix* mat){_error_("StringArray param of enum %i (%s) cannot hold a Mat",enum_type,EnumToStringx(enum_type));}
    72                 void  SetValue(FILE* fid){_error_("StringArray param of enum %i (%s) cannot hold a FILE",enum_type,EnumToStringx(enum_type));}
    73                 void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error_("StringArray param of enum %i (%s) cannot hold an array of matrices",enum_type,EnumToStringx(enum_type));}
     66                void  SetValue(IssmDouble* IssmDoublearray,int M){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     67                void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     68                void  SetValue(int* intarray,int M){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
     69                void  SetValue(int* pintarray,int M,int N){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
     70                void  SetValue(Vector* vec){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Vec");}
     71                void  SetValue(Matrix* mat){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Mat");}
     72                void  SetValue(FILE* fid){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a FILE");}
     73                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error2_("StringArray param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an array of matrices");}
    7474                void  UnitConversion(int direction_enum);
    7575
  • issm/trunk-jpl/src/c/objects/Params/StringParam.h

    r12474 r12494  
    4343                /*Param vritual function definitions: {{{*/
    4444                int   InstanceEnum(){return enum_type;}
    45                 void  GetParameterValue(bool* pbool){_error_("String param of enum %i (%s) cannot return a bool",enum_type,EnumToStringx(enum_type));}
    46                 void  GetParameterValue(int* pinteger){_error_("String param of enum %i (%s) cannot return an integer",enum_type,EnumToStringx(enum_type));}
    47                 void  GetParameterValue(int** pintarray,int* pM){_error_("String param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    48                 void  GetParameterValue(int** pintarray,int* pM,int* pN){_error_("String param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    49                 void  GetParameterValue(IssmDouble* pIssmDouble){_error_("String param of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
     45                void  GetParameterValue(bool* pbool){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a bool");}
     46                void  GetParameterValue(int* pinteger){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an integer");}
     47                void  GetParameterValue(int** pintarray,int* pM){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     48                void  GetParameterValue(int** pintarray,int* pM,int* pN){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     49                void  GetParameterValue(IssmDouble* pIssmDouble){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
    5050                void  GetParameterValue(char** pstring);
    51                 void  GetParameterValue(char*** pstringarray,int* pM){_error_("String param of enum %i (%s) cannot return a string array",enum_type,EnumToStringx(enum_type));}
    52                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error_("String param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    53                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error_("String param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    54                 void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error_("String param of enum %i (%s) cannot return a matrix array",enum_type,EnumToStringx(enum_type));}
    55                 void  GetParameterValue(Vector** pvec){_error_("String param of enum %i (%s) cannot return a Vec",enum_type,EnumToStringx(enum_type));}
    56                 void  GetParameterValue(Matrix** pmat){_error_("String param of enum %i (%s) cannot return a Mat",enum_type,EnumToStringx(enum_type));}
    57                 void  GetParameterValue(FILE** pfid){_error_("Bool param of enum %i (%s) cannot return a FILE",enum_type,EnumToStringx(enum_type));}
     51                void  GetParameterValue(char*** pstringarray,int* pM){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string array");}
     52                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     53                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     54                void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix array");}
     55                void  GetParameterValue(Vector** pvec){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Vec");}
     56                void  GetParameterValue(Matrix** pmat){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Mat");}
     57                void  GetParameterValue(FILE** pfid){_error2_("Bool param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a FILE");}
    5858
    59                 void  SetValue(bool boolean){_error_("String param of enum %i (%s) cannot hold a boolean",enum_type,EnumToStringx(enum_type));}
    60                 void  SetValue(int integer){_error_("String param of enum %i (%s) cannot hold an integer",enum_type,EnumToStringx(enum_type));}
    61                 void  SetValue(IssmDouble scalar){_error_("String param of enum %i (%s) cannot hold a scalar",enum_type,EnumToStringx(enum_type));}
     59                void  SetValue(bool boolean){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a boolean");}
     60                void  SetValue(int integer){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an integer");}
     61                void  SetValue(IssmDouble scalar){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a scalar");}
    6262                void  SetValue(char* string);
    63                 void  SetValue(char** stringarray,int M){_error_("String param of enum %i (%s) cannot hold a string array",enum_type,EnumToStringx(enum_type));}
    64                 void  SetValue(IssmDouble* IssmDoublearray,int M){_error_("String param of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    65                 void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error_("String param of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    66                 void  SetValue(int* intarray,int M){_error_("String param of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
    67                 void  SetValue(int* pintarray,int M,int N){_error_("String param of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
    68                 void  SetValue(Vector* vec){_error_("String param of enum %i (%s) cannot hold a Vec",enum_type,EnumToStringx(enum_type));}
    69                 void  SetValue(Matrix* mat){_error_("String param of enum %i (%s) cannot hold a Mat",enum_type,EnumToStringx(enum_type));}
    70                 void  SetValue(FILE* fid){_error_("String param of enum %i (%s) cannot hold a FILE",enum_type,EnumToStringx(enum_type));}
    71                 void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error_("String param of enum %i (%s) cannot hold an array of matrices",enum_type,EnumToStringx(enum_type));}
     63                void  SetValue(char** stringarray,int M){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string array");}
     64                void  SetValue(IssmDouble* IssmDoublearray,int M){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     65                void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     66                void  SetValue(int* intarray,int M){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
     67                void  SetValue(int* pintarray,int M,int N){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
     68                void  SetValue(Vector* vec){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Vec");}
     69                void  SetValue(Matrix* mat){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Mat");}
     70                void  SetValue(FILE* fid){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a FILE");}
     71                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error2_("String param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an array of matrices");}
    7272                void  UnitConversion(int direction_enum);
    7373
  • issm/trunk-jpl/src/c/objects/Params/VectorParam.h

    r12474 r12494  
    4343                /*Param vritual function definitions: {{{*/
    4444                int   InstanceEnum(){return enum_type;}
    45                 void  GetParameterValue(bool* pbool){_error_("Vector param of enum %i (%s) cannot return a bool",enum_type,EnumToStringx(enum_type));}
    46                 void  GetParameterValue(int* pinteger){_error_("Vector param of enum %i (%s) cannot return an integer",enum_type,EnumToStringx(enum_type));}
    47                 void  GetParameterValue(int** pintarray,int* pM){_error_("Vector param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    48                 void  GetParameterValue(int** pintarray,int* pM,int* pN){_error_("Vector param of enum %i (%s) cannot return an array of integers",enum_type,EnumToStringx(enum_type));}
    49                 void  GetParameterValue(IssmDouble* pIssmDouble){_error_("Vector param of enum %i (%s) cannot return a IssmDouble",enum_type,EnumToStringx(enum_type));}
    50                 void  GetParameterValue(char** pstring){_error_("Vector param of enum %i (%s) cannot return a string",enum_type,EnumToStringx(enum_type));}
    51                 void  GetParameterValue(char*** pstringarray,int* pM){_error_("Vector param of enum %i (%s) cannot return a string array",enum_type,EnumToStringx(enum_type));}
    52                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error_("Vector param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    53                 void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error_("Vector param of enum %i (%s) cannot return a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    54                 void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error_("Vector param of enum %i (%s) cannot return a matrix array",enum_type,EnumToStringx(enum_type));}
    55                 void  GetParameterValue(Matrix** pmat){_error_("Vector param of enum %i (%s) cannot return a Mat",enum_type,EnumToStringx(enum_type));}
     45                void  GetParameterValue(bool* pbool){_error2_("Vector param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a bool");}
     46                void  GetParameterValue(int* pinteger){_error2_("Vector param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an integer");}
     47                void  GetParameterValue(int** pintarray,int* pM){_error2_("Vector param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     48                void  GetParameterValue(int** pintarray,int* pM,int* pN){_error2_("Vector param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return an array of integers");}
     49                void  GetParameterValue(IssmDouble* pIssmDouble){_error2_("Vector param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble");}
     50                void  GetParameterValue(char** pstring){_error2_("Vector param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string");}
     51                void  GetParameterValue(char*** pstringarray,int* pM){_error2_("Vector param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a string array");}
     52                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM){_error2_("Vector param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     53                void  GetParameterValue(IssmDouble** pIssmDoublearray,int* pM, int* pN){_error2_("Vector param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a IssmDouble array");}
     54                void  GetParameterValue(IssmDouble*** parray, int* pM,int** pmdims, int** pndims){_error2_("Vector param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a matrix array");}
     55                void  GetParameterValue(Matrix** pmat){_error2_("Vector param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a Mat");}
    5656                void  GetParameterValue(Vector** poutput);
    57                 void  GetParameterValue(FILE** pfid){_error_("Vector of enum %i (%s) cannot return a FILE",enum_type,EnumToStringx(enum_type));}
     57                void  GetParameterValue(FILE** pfid){_error2_("Vector of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot return a FILE");}
    5858
    59                 void  SetValue(bool boolean){_error_("Vector of enum %i (%s) cannot hold a boolean",enum_type,EnumToStringx(enum_type));}
    60                 void  SetValue(int integer){_error_("Vector of enum %i (%s) cannot hold an integer",enum_type,EnumToStringx(enum_type));}
    61                 void  SetValue(IssmDouble scalar){_error_("Vector of enum %i (%s) cannot hold a scalar",enum_type,EnumToStringx(enum_type));}
    62                 void  SetValue(char* string){_error_("Vector of enum %i (%s) cannot hold a string",enum_type,EnumToStringx(enum_type));}
    63                 void  SetValue(char** stringarray,int M){_error_("Vector of enum %i (%s) cannot hold a string array",enum_type,EnumToStringx(enum_type));}
    64                 void  SetValue(IssmDouble* IssmDoublearray,int M){_error_("Vector of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    65                 void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error_("Vector of enum %i (%s) cannot hold a IssmDouble array",enum_type,EnumToStringx(enum_type));}
    66                 void  SetValue(int* intarray,int M){_error_("Vector of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
    67                 void  SetValue(int* pintarray,int M,int N){_error_("Vector of enum %i (%s) cannot hold a int array",enum_type,EnumToStringx(enum_type));}
     59                void  SetValue(bool boolean){_error2_("Vector of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a boolean");}
     60                void  SetValue(int integer){_error2_("Vector of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an integer");}
     61                void  SetValue(IssmDouble scalar){_error2_("Vector of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a scalar");}
     62                void  SetValue(char* string){_error2_("Vector of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string");}
     63                void  SetValue(char** stringarray,int M){_error2_("Vector of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a string array");}
     64                void  SetValue(IssmDouble* IssmDoublearray,int M){_error2_("Vector of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     65                void  SetValue(IssmDouble* pIssmDoublearray,int M,int N){_error2_("Vector of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a IssmDouble array");}
     66                void  SetValue(int* intarray,int M){_error2_("Vector of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
     67                void  SetValue(int* pintarray,int M,int N){_error2_("Vector of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a int array");}
    6868                void  SetValue(Vector* vec);
    69                 void  SetValue(Matrix* mat){_error_("Vector of enum %i (%s) cannot hold a Mat",enum_type,EnumToStringx(enum_type));}
    70                 void  SetValue(FILE* fid){_error_("Vector of enum %i (%s) cannot hold a FILE",enum_type,EnumToStringx(enum_type));}
    71                 void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error_("Vector param of enum %i (%s) cannot hold an array of matrices",enum_type,EnumToStringx(enum_type));}
     69                void  SetValue(Matrix* mat){_error2_("Vector of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a Mat");}
     70                void  SetValue(FILE* fid){_error2_("Vector of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold a FILE");}
     71                void  SetValue(IssmDouble** array, int M, int* mdim_array, int* ndim_array){_error2_("Vector param of enum " << enum_type << " (" << EnumToStringx(enum_type) << ") cannot hold an array of matrices");}
    7272                void  UnitConversion(int direction_enum);
    7373
  • issm/trunk-jpl/src/c/shared/Exp/DomainOutlineRead.cpp

    r12493 r12494  
    3838        /*open domain outline file for reading: */
    3939        if ((fid=fopen(domainname,"r"))==NULL){
    40                 _error2_("" << "could not find domain file " << domainname);
     40                _error2_("could not find domain file " << domainname);
    4141        }
    4242
  • issm/trunk-jpl/src/c/shared/Exp/DomainOutlineWrite.cpp

    r12493 r12494  
    2323        /*open domain outline file for writing: */
    2424        if ((fid=fopen(domainname,"w"))==NULL){
    25                 _error2_("" << "could not open domain file " << domainname);
     25                _error2_("could not open domain file " << domainname);
    2626                noerr=0; goto cleanupandreturn;
    2727        }
  • issm/trunk-jpl/src/c/shared/Numerics/GaussPoints.cpp

    r12493 r12494  
    16701670                if (iter >= MAX_GAUS_ITER) {
    16711671                        xDelete<IssmPDouble>(work);
    1672                         _error2_("" << " Max iterations exceeded for l=" << MAX_GAUS_ITER);
     1672                        _error2_(" Max iterations exceeded for l=" << MAX_GAUS_ITER);
    16731673                }
    16741674        }
  • issm/trunk-jpl/src/c/shared/Numerics/IsInputConverged.cpp

    r12493 r12494  
    5353                else eps=0;
    5454        }
    55         else _error2_("" << " convergence criterion " << EnumToStringx(criterion_enum) << " not supported yet!");
     55        else _error2_(" convergence criterion " << EnumToStringx(criterion_enum) << " not supported yet!");
    5656
    5757        /*Assign output pointers:*/
  • issm/trunk-jpl/src/c/shared/Numerics/OptionsFromAnalysis.cpp

    r12493 r12494  
    5757        if (found==-1){
    5858                /*ok, we did not find anything, this is not good! error out: */
    59                 _error2_("" << "could find neither a default analysis  nor analysis " << EnumToStringx(analysis_type));
     59                _error2_("could find neither a default analysis  nor analysis " << EnumToStringx(analysis_type));
    6060        }
    6161
  • issm/trunk-jpl/src/c/shared/String/DescriptorIndex.cpp

    r12493 r12494  
    2323        /*retrieve first token, separated by underscore: */
    2424        pch = strtok (descriptor,"_");
    25         if(!pch)_error2_("" << " descriptor " << descriptor << " is not correctly formatted!");
     25        if(!pch)_error2_(" descriptor " << descriptor << " is not correctly formatted!");
    2626
    2727        if (strncmp(pch,"scaled",6)==0){
    2828                /*we have a scaled variable. recover the root: */
    2929                pch = strtok (NULL, "_");
    30                 if(!pch)_error2_("" << " scaled descriptor " << descriptor << " is not correctly formatted!");
     30                if(!pch)_error2_(" scaled descriptor " << descriptor << " is not correctly formatted!");
    3131                memcpy(root,pch,(strlen(pch)+1)*sizeof(char));
    3232
     
    4444                /*we have an indexed variable. recover the root: */
    4545                pch = strtok (NULL, "_");
    46                 if(!pch)_error2_("" << " indexed descriptor " << descriptor << " is not correctly formatted!");
     46                if(!pch)_error2_(" indexed descriptor " << descriptor << " is not correctly formatted!");
    4747                memcpy(root,pch,(strlen(pch)+1)*sizeof(char));
    4848                /*now recover  the index: */
    4949                pch = strtok (NULL, "_");
    50                 if(!pch)_error2_("" << " indexed descriptor " << descriptor << " is not correctly formatted!");
     50                if(!pch)_error2_(" indexed descriptor " << descriptor << " is not correctly formatted!");
    5151                sscanf(pch,"%i",pindex);
    5252                return IndexedEnum;
     
    5555                /*we have an indexed variable. recover the root: */
    5656                pch = strtok (NULL, "_");
    57                 if(!pch)_error2_("" << " nodal descriptor " << descriptor << " is not correctly formatted!");
     57                if(!pch)_error2_(" nodal descriptor " << descriptor << " is not correctly formatted!");
    5858                memcpy(root,pch,(strlen(pch)+1)*sizeof(char));
    5959                /*now recover  the index: */
    6060                pch = strtok (NULL, "_");
    61                 if(!pch)_error2_("" << " nodal descriptor " << descriptor << " is not correctly formatted!");
     61                if(!pch)_error2_(" nodal descriptor " << descriptor << " is not correctly formatted!");
    6262                sscanf(pch,"%i",pindex);
    6363                return NodalEnum;
  • issm/trunk-jpl/src/c/solutions/AnalysisConfiguration.cpp

    r12493 r12494  
    110110               
    111111                default:
    112                         _error2_("" << " solution type: " << EnumToStringx(solutiontype) << " not supported yet!");
     112                        _error2_("solution type: " << EnumToStringx(solutiontype) << " not supported yet!");
    113113                        break;
    114114        }
  • issm/trunk-jpl/src/c/solutions/CorePointerFromSolutionEnum.cpp

    r12493 r12494  
    9696                        break;
    9797                default:
    98                         _error2_("" << " solution type: " << EnumToStringx(solutiontype) << " not supported yet!");
     98                        _error2_("solution type: " << EnumToStringx(solutiontype) << " not supported yet!");
    9999                        break;
    100100        }
  • issm/trunk-jpl/src/c/solutions/WriteLockFile.cpp

    r12493 r12494  
    1717        if(my_rank==0){
    1818                fid=fopen(filename,"w");
    19                 if(fid==NULL) _error2_("" << "error message: could not open lock file " << filename);
     19                if(fid==NULL) _error2_("error message: could not open lock file " << filename);
    2020
    2121                /*Close file: */
    22                 if(fclose(fid)!=0) _error2_("" << "could not close lock file " << filename);
     22                if(fclose(fid)!=0) _error2_("could not close lock file " << filename);
    2323        }
    2424
  • issm/trunk-jpl/src/c/toolkits/petsc/patches/PetscOptionsInsertMultipleString.cpp

    r12493 r12494  
    5555                        if(first[0]!='-'){
    5656                                /*This is not good, the option does not have '-'! Get out*/
    57                                 _error2_("" << "Option " << first << " should be preceded by '-'!");
     57                                _error2_("Option " << first << " should be preceded by '-'!");
    5858                        }
    5959                        /*Reduce first to bare option value*/
Note: See TracChangeset for help on using the changeset viewer.