Ignore:
Timestamp:
09/27/09 21:43:40 (15 years ago)
Author:
Eric.Larour
Message:

Big commit: created Numpar, new object to hold solution parameters necessary
in elements. This lead to creating FetchParams and WriteParams, which now writes
a DataSet* parameters to a matlab workspace structure and vice versa. We now always have
a DataSet* parametes inside the x code. Introduced also a new configuration phase for the paramters
dataset. Also, rewrote the io/ using overloaded functions IoModelFetchData, FetchData and WriteData.
Much cleaner and less error prone, as arguments are consistently checked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/ModelProcessorx/Melting/CreateParametersMelting.cpp

    r1905 r2333  
    3434
    3535                /*Get melting: */
    36                 IoModelFetchData((void**)&melting,NULL,NULL,iomodel_handle,"melting","Matrix","Mat");
     36                IoModelFetchData(&melting,NULL,NULL,iomodel_handle,"melting");
    3737                if(melting) {
    3838                        for(i=0;i<iomodel->numberofnodes;i++)melting[i]=melting[i]/iomodel->yts;   //m/s instead of m/yr
Note: See TracChangeset for help on using the changeset viewer.