Changeset 4686


Ignore:
Timestamp:
07/21/10 08:39:07 (15 years ago)
Author:
seroussi
Message:

materials are changed when updating from thermal solution

Location:
issm/trunk/src/mex/InputUpdateFromSolution
Files:
2 edited

Legend:

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

    r4573 r4686  
    4141        /*write output datasets: */
    4242        WriteData(ELEMENTS,elements);
     43        WriteData(MATERIALS,materials);
    4344
    4445        /*Free ressources: */
     
    5859{
    5960        _printf_("\n");
    60         _printf_("   usage: [elements] = %s(elements,nodes,vertices,loads,materials,parameters,solution);\n",__FUNCT__);
     61        _printf_("   usage: [elements,materials] = %s(elements,nodes,vertices,loads,materials,parameters,solution);\n",__FUNCT__);
    6162        _printf_("\n");
    6263}
  • issm/trunk/src/mex/InputUpdateFromSolution/InputUpdateFromSolution.h

    r4236 r4686  
    2727/* serial output macros: */
    2828#define ELEMENTS (mxArray**)&plhs[0]
     29#define MATERIALS (mxArray**)&plhs[1]
    2930
    3031/* serial arg counts: */
    3132#undef NLHS
    32 #define NLHS  1
     33#define NLHS  2
    3334#undef NRHS
    3435#define NRHS  7
Note: See TracChangeset for help on using the changeset viewer.