Changeset 1629 for issm/trunk


Ignore:
Timestamp:
08/10/09 17:16:52 (16 years ago)
Author:
Eric.Larour
Message:

Added rifts formulation in 2d diagnostic. more to be tested

Location:
issm/trunk/src
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/@model/model.m

    r1491 r1629  
    7575        md.segmentmarkers=NaN;
    7676        md.rifts=NaN;
     77        md.riftinfo=NaN;
    7778        md.numrifts=0;
    7879
  • issm/trunk/src/m/classes/public/marshall.m

    r1111 r1629  
    151151
    152152%Rifts
    153 WriteData(fid,md.numrifts,'Integer','numrifts');
    154 for i=1:md.numrifts,
    155         WriteData(fid,md.rifts(i).penaltypairs,'Mat',['penaltypairs' num2str(i)]);
    156         WriteData(fid,md.rifts(i).fill,'Scalar',['fill' num2str(i)]);
    157         WriteData(fid,md.rifts(i).friction,'Scalar',['friction' num2str(i)]);
    158 end
     153WriteData(fid,md.riftinfo,'Mat','riftinfo');
    159154
    160155%Qmu: the rest will be handle by qmumarshall
  • issm/trunk/src/m/classes/public/solve.m

    r1338 r1629  
    3636        error(' '); %previous error messages should explain what is going on.
    3737end
     38
     39%preprocesses model before solving
     40md=presolve(md);
    3841
    3942%if running qmu analysis, some preprocessing of dakota files using
  • issm/trunk/src/m/solutions/cielo/diagnostic.m

    r1401 r1629  
    2020        displaystring(md.debug,'\n%s',['reading diagnostic stokes model data']);
    2121        md.analysis_type='diagnostic'; md.sub_analysis_type='stokes'; models.ds=CreateFemModel(md);
    22 
     22       
    2323        displaystring(md.debug,'\n%s',['reading diagnostic hutter model data']);
    2424        md.analysis_type='diagnostic'; md.sub_analysis_type='hutter'; models.dhu=CreateFemModel(md);
  • issm/trunk/src/mex/ModelProcessor/ModelProcessor.cpp

    r962 r1629  
    3333        /*Create elements, nodes and materials: */
    3434        CreateDataSets(&elements,&nodes,&materials,&constraints, &loads, &parameters, model,MODEL);
     35       
    3536        /*Write output data: */
    3637        WriteData(ELEMENTS,elements,0,0,"DataSet",NULL);
Note: See TracChangeset for help on using the changeset viewer.