Changeset 6375


Ignore:
Timestamp:
10/21/10 13:40:52 (14 years ago)
Author:
Eric.Larour
Message:

No need for IoSplitEnum anymore

Location:
issm/trunk/src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/ModelProcessorx/CreateParameters.cpp

    r6372 r6375  
    7373        parameters->AddObject(new BoolParam(KffEnum,iomodel->kff));
    7474        parameters->AddObject(new BoolParam(IoGatherEnum,iomodel->io_gather));
    75         parameters->AddObject(new BoolParam(IoSplitEnum,iomodel->io_split));
    7675
    7776        /*Deal with more complex parameters*/
  • issm/trunk/src/c/modules/OutputResultsx/OutputResultsx.cpp

    r6372 r6375  
    2727        char        cpu_outputfilename[100];        //easier to convert an integer with sprintf
    2828        bool        io_gather;
    29         bool        io_split;
    3029        int         solutiontype;
    3130        Results    *results                 = NULL;
     
    5958                /*What strategy? : */
    6059                parameters->FindParam(&io_gather,IoGatherEnum);
    61                 parameters->FindParam(&io_split,IoSplitEnum);
    6260               
    6361
     
    6664                        if(my_rank==0) fid=pfopen(outputfilename ,"wb");
    6765                }
    68                 if(io_split){
     66                else{
    6967                        /*We are opening different  files for output on all cpus. Append the  rank to the filename, and open: */
    7068                        sprintf(cpu_outputfilename,"%s.%i",outputfilename,my_rank);
  • issm/trunk/src/c/objects/IoModel.cpp

    r6372 r6375  
    213213        /*i/o: */
    214214        IoModelFetchData(&this->io_gather,iomodel_handle,"io_gather");
    215         IoModelFetchData(&this->io_split,iomodel_handle,"io_split");
    216215       
    217216        /*parameter output : */
     
    251250        this->gridonpattyn=NULL;
    252251        this->io_gather=1;
    253         this->io_split=0;
    254252       
    255253        this->vx_obs=NULL;
  • issm/trunk/src/c/objects/IoModel.h

    r6372 r6375  
    5858                /*i/o: */
    5959                int    io_gather;
    60                 int    io_split;
    6160
    6261                /*observations: */
  • issm/trunk/src/m/classes/@model/model.m

    r6372 r6375  
    4444        %I/O
    4545        md.io_gather=NaN;
    46         md.io_split=NaN;
    4746
    4847        %Initial 2d mesh
  • issm/trunk/src/m/classes/@model/setdefaultparameters.m

    r6372 r6375  
    248248%i/o:
    249249md.io_gather=1;
    250 md.io_split=0;
  • issm/trunk/src/m/model/marshall.m

    r6372 r6375  
    184184%i/o:
    185185WriteData(fid,md.io_gather,'Integer','io_gather');
    186 WriteData(fid,md.io_split,'Integer','io_split');
    187186
    188187
Note: See TracChangeset for help on using the changeset viewer.