Ignore:
Timestamp:
08/12/11 18:07:26 (14 years ago)
Author:
Eric.Larour
Message:

Propping up IoModel class, to contain the iomodel handlle. This simplifies IoModelFetchDAta,
which then becomes the FetchData method of the IoModel class.

File:
1 edited

Legend:

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

    r9002 r9340  
    1111#include "../ModelProcessorx.h"
    1212
    13 void    CreateLoadsThermal(Loads** ploads, IoModel* iomodel,FILE* iomodel_handle){
     13void    CreateLoadsThermal(Loads** ploads, IoModel* iomodel){
    1414
    1515        /*Intermediary*/
     
    3030
    3131        //create penalties for nodes: no node can have a temperature over the melting point
    32         IoModelFetchData(&iomodel->spctemperature,NULL,NULL,iomodel_handle,SpctemperatureEnum);
    33         IoModelFetchData(&iomodel->elements,NULL,NULL,iomodel_handle,ElementsEnum);
     32        iomodel->FetchData(&iomodel->spctemperature,NULL,NULL,SpctemperatureEnum);
     33        iomodel->FetchData(&iomodel->elements,NULL,NULL,ElementsEnum);
    3434        CreateSingleNodeToElementConnectivity(iomodel);
    3535
Note: See TracChangeset for help on using the changeset viewer.