Ignore:
Timestamp:
01/18/18 09:21:32 (7 years ago)
Author:
Mathieu Morlighem
Message:

CHG: sid is actually id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Constraints/SpcStatic.cpp

    r22202 r22361  
    1818}
    1919/*}}}*/
    20 SpcStatic::SpcStatic(int spc_sid,int spc_nodeid, int spc_dof,IssmDouble spc_value,int spc_analysis_type){/*{{{*/
     20SpcStatic::SpcStatic(int spc_id,int spc_nodeid, int spc_dof,IssmDouble spc_value,int spc_analysis_type){/*{{{*/
    2121
    22         sid           = spc_sid;
     22        id           = spc_id;
    2323        nodeid        = spc_nodeid;
    2424        dof           = spc_dof;
     
    4040        SpcStatic* spcstat = new SpcStatic(*this);
    4141
    42         spcstat->sid=this->sid;
     42        spcstat->id=this->id;
    4343        spcstat->nodeid=this->nodeid;
    4444        spcstat->dof=this->dof;
     
    5252
    5353        _printf_("SpcStatic:\n");
    54         _printf_("   sid: " << sid << "\n");
     54        _printf_("   id: " << id << "\n");
    5555        _printf_("   nodeid: " << nodeid << "\n");
    5656        _printf_("   dof: " << dof << "\n");
     
    6363
    6464        _printf_("SpcStatic:\n");
    65         _printf_("   sid: " << sid << "\n");
     65        _printf_("   id: " << id << "\n");
    6666        _printf_("   nodeid: " << nodeid << "\n");
    6767        _printf_("   dof: " << dof << "\n");
     
    7171}
    7272/*}}}*/
    73 int     SpcStatic::Id(void){ return sid; }/*{{{*/
     73int     SpcStatic::Id(void){ return id; }/*{{{*/
    7474/*}}}*/
    7575void    SpcStatic::Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction){ /*{{{*/
     
    7777        MARSHALLING_ENUM(SpcStaticEnum);
    7878
    79         MARSHALLING(sid);
     79        MARSHALLING(id);
    8080        MARSHALLING(nodeid);
    8181        MARSHALLING(dof);
Note: See TracChangeset for help on using the changeset viewer.