Changeset 2342


Ignore:
Timestamp:
09/28/09 11:37:54 (15 years ago)
Author:
Eric.Larour
Message:

Forgot to marshall and demarshall zigzag_counter and stabilize_constraints -> holy schmuck!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Pengrid.cpp

    r2223 r2342  
    104104        memcpy(marshalled_dataset,&matpar,sizeof(matpar));marshalled_dataset+=sizeof(matpar);
    105105        memcpy(marshalled_dataset,&matpar_offset,sizeof(matpar_offset));marshalled_dataset+=sizeof(matpar_offset);
     106        memcpy(marshalled_dataset,&stabilize_constraints,sizeof(stabilize_constraints));marshalled_dataset+=sizeof(stabilize_constraints);
     107        memcpy(marshalled_dataset,&zigzag_counter,sizeof(zigzag_counter));marshalled_dataset+=sizeof(zigzag_counter);
    106108
    107109        *pmarshalled_dataset=marshalled_dataset;
     
    121123                sizeof(matpar)+
    122124                sizeof(matpar_offset)+
     125                sizeof(stabilize_constraints)+
     126                sizeof(zigzag_counter)+
    123127                sizeof(int); //sizeof(int) for enum type
    124128}
     
    149153        memcpy(&matpar,marshalled_dataset,sizeof(matpar));marshalled_dataset+=sizeof(matpar);
    150154        memcpy(&matpar_offset,marshalled_dataset,sizeof(matpar_offset));marshalled_dataset+=sizeof(matpar_offset);
    151 
     155        memcpy(&stabilize_constraints,marshalled_dataset,sizeof(stabilize_constraints));marshalled_dataset+=sizeof(stabilize_constraints);
     156        memcpy(&zigzag_counter,marshalled_dataset,sizeof(zigzag_counter));marshalled_dataset+=sizeof(zigzag_counter);
    152157
    153158        node=NULL;
Note: See TracChangeset for help on using the changeset viewer.