Ignore:
Timestamp:
07/07/10 17:35:32 (15 years ago)
Author:
Eric.Larour
Message:

Fixed some bugs in DakotaResponses and InputUpdateFromDakota modules.
Took out noerr variable in many of the modules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/mex/TriMesh/TriMesh.cpp

    r3755 r4453  
    4848        double** riftsgridsy=NULL;
    4949
    50         /* error handling: */
    51         int             noerr=1;       
    52  
    5350        /* Triangle structures: */
    5451        struct triangulateio in,out;
     
    9996       
    10097        /*Start reading the domain outline file: */
    101         noerr=DomainOutlineRead(&nprof,&profngrids,&pprofx,&pprofy,domainname);
    102         if(!noerr){
     98        if(!DomainOutlineRead(&nprof,&profngrids,&pprofx,&pprofy,domainname)){
    10399                printf("%s%s%s\n",__FUNCT__," error message reading domain outline ",domainname);
    104100                mexErrMsgTxt(" ");
     
    107103        /*Read rifts file if present: */
    108104        if(riftname){
    109                 noerr=DomainOutlineRead(&numrifts,&riftsnumgrids,&riftsgridsx,&riftsgridsy,riftname);
    110                 if(!noerr){
     105                if(!DomainOutlineRead(&numrifts,&riftsnumgrids,&riftsgridsx,&riftsgridsy,riftname)){
    111106                        printf("%s%s%s\n",__FUNCT__," error message reading rifts outline ",riftname);
    112107                        mexErrMsgTxt(" ");
     
    268263
    269264        /*Associate elements with segments: */
    270         noerr=AssociateSegmentToElement(&segments,out.numberofsegments,index,out.numberoftriangles);
     265        AssociateSegmentToElement(&segments,out.numberofsegments,index,out.numberoftriangles);
    271266
    272267        /*Order segments so that their normals point outside the domain: */
Note: See TracChangeset for help on using the changeset viewer.