Changeset 4322


Ignore:
Timestamp:
06/29/10 15:31:33 (15 years ago)
Author:
Mathieu Morlighem
Message:

copied change from diagnostic to other solutions

Location:
issm/trunk/src/m/solutions
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/solutions/balancedthickness.m

    r4296 r4322  
    2525
    2626                displaystring(verbose,'%s',['write results']);
    27                 md.results.balancedthickness=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     27                results=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     28                md.results.(EnumAsString(solution_type))=ProcessPatch(results);
    2829        else
    2930                %launch dakota driver for diagnostic core solution
  • issm/trunk/src/m/solutions/balancedthickness2.m

    r4296 r4322  
    2525
    2626                displaystring(verbose,'%s',['write results']);
    27                 md.results.balancedthickness2=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     27                results=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     28                md.results.(EnumAsString(solution_type))=ProcessPatch(results);
    2829        else
    2930                %launch dakota driver for diagnostic core solution
  • issm/trunk/src/m/solutions/balancedvelocities.m

    r4296 r4322  
    2525
    2626                displaystring(verbose,'%s',['write results']);
    27                 md.results.balancedvelocities=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     27                results=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     28                md.results.(EnumAsString(solution_type))=ProcessPatch(results);
    2829        else
    2930                %launch dakota driver for diagnostic core solution
  • issm/trunk/src/m/solutions/bedslope.m

    r4302 r4322  
    2525       
    2626                displaystring(verbose,'%s',['write results']);
    27                 md.results.bedslopecompute=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     27                results=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     28                md.results.(EnumAsString(solution_type))=ProcessPatch(results);
    2829
    2930        else
  • issm/trunk/src/m/solutions/diagnostic.m

    r4321 r4322  
    1010        numanalyses=6;
    1111        analyses=[DiagnosticHorizAnalysisEnum;DiagnosticVertAnalysisEnum;DiagnosticStokesAnalysisEnum;DiagnosticHutterAnalysisEnum;BedSlopeAnalysisEnum;SurfaceSlopeAnalysisEnum];
    12         solution_type=DiagnosticAnalysisEnum;
     12        solution_type=DiagnosticSolutionEnum;
    1313
    1414        displaystring(md.verbose,'%s',['create finite element model']);
  • issm/trunk/src/m/solutions/prognostic.m

    r4296 r4322  
    2626
    2727                displaystring(verbose,'%s',['write results']);
    28                 md.results.prognostic=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     28                results=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     29                md.results.(EnumAsString(solution_type))=ProcessPatch(results);
    2930        else
    3031                %launch dakota driver for diagnostic core solution
  • issm/trunk/src/m/solutions/prognostic2.m

    r4296 r4322  
    2525
    2626                displaystring(verbose,'%s',['write results']);
    27                 md.results.prognostic2=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     27                results=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     28                md.results.(EnumAsString(solution_type))=ProcessPatch(results);
    2829        else
    2930                %launch dakota driver for diagnostic core solution
  • issm/trunk/src/m/solutions/steadystate.m

    r4302 r4322  
    3636
    3737                displaystring(verbose,'%s',['write results']);
    38                 md.results.steadystate=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     38                results=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     39                md.results.(EnumAsString(solution_type))=ProcessPatch(results);
    3940
    4041        else
  • issm/trunk/src/m/solutions/surfaceslope.m

    r4302 r4322  
    2525       
    2626                displaystring(verbose,'%s',['write results']);
    27                 md.results.surfaceslopecompute=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     27                results=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     28                md.results.(EnumAsString(solution_type))=ProcessPatch(results);
    2829
    2930        else
  • issm/trunk/src/m/solutions/thermal.m

    r4296 r4322  
    2525
    2626                displaystring(verbose,'%s',['write results']);
    27                 md.results.thermal=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     27                results=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     28                md.results.(EnumAsString(solution_type))=ProcessPatch(results);
    2829        else
    2930                %launch dakota driver for diagnostic core solution
  • issm/trunk/src/m/solutions/transient2d.m

    r4296 r4322  
    2727               
    2828                displaystring(verbose,'%s',['write results']);
    29                 md.results.transient2d=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     29                results=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     30                md.results.(EnumAsString(solution_type))=ProcessPatch(results);
    3031
    3132        else
  • issm/trunk/src/m/solutions/transient3d.m

    r4302 r4322  
    2626
    2727                displaystring(verbose,'%s',['write results']);
    28                 md.results.transient3d=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     28                results=OutputResults(femmodel.elements, femmodel.nodes , femmodel.vertices , femmodel.loads , femmodel.materials, femmodel.parameters, femmodel.results);
     29                md.results.(EnumAsString(solution_type))=ProcessPatch(results);
    2930
    3031        else
Note: See TracChangeset for help on using the changeset viewer.