Changeset 9272
- Timestamp:
- 08/11/11 08:32:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Materials/Matpar.cpp
r9271 r9272 62 62 printf(" thermal_exchange_velocity: %g\n",thermal_exchange_velocity); 63 63 printf(" g: %g\n",g); 64 printf(" kn: %g\n",kn);65 64 return; 66 65 } … … 82 81 printf(" thermal_exchange_velocity: %g\n",thermal_exchange_velocity); 83 82 printf(" g: %g\n",g); 84 printf(" kn: %g\n",kn);85 83 return; 86 84 } … … 123 121 memcpy(marshalled_dataset,&thermal_exchange_velocity,sizeof(thermal_exchange_velocity));marshalled_dataset+=sizeof(thermal_exchange_velocity); 124 122 memcpy(marshalled_dataset,&g,sizeof(g));marshalled_dataset+=sizeof(g); 125 memcpy(marshalled_dataset,&kn,sizeof(kn));marshalled_dataset+=sizeof(kn);126 123 127 124 *pmarshalled_dataset=marshalled_dataset; … … 144 141 sizeof(thermal_exchange_velocity)+ 145 142 sizeof(g)+ 146 sizeof(kn)+147 143 sizeof(int); //sizeof(int) for enum type 148 144 } … … 171 167 memcpy(&thermal_exchange_velocity,marshalled_dataset,sizeof(thermal_exchange_velocity));marshalled_dataset+=sizeof(thermal_exchange_velocity); 172 168 memcpy(&g,marshalled_dataset,sizeof(g));marshalled_dataset+=sizeof(g); 173 memcpy(&kn,marshalled_dataset,sizeof(kn));marshalled_dataset+=sizeof(kn);174 169 175 170 /*return: */
Note:
See TracChangeset
for help on using the changeset viewer.