Changeset 7674
- Timestamp:
- 03/22/11 16:01:55 (14 years ago)
- Location:
- issm/trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Tria.cpp
r7673 r7674 1203 1203 double Ke_gg_gaussian2[numdof][numdof] ={0.0}; 1204 1204 double Ke_gg_gaussian3[numdof][numdof] ={0.0}; 1205 double gamma;1205 double hydro_gamma; 1206 1206 double DL_scalar1; 1207 1207 double DL_scalar2; … … 1217 1217 1218 1218 /*retrieve material parameters: */ 1219 gamma=matpar->GetGamma();1219 hydro_gamma=matpar->GetGamma(); 1220 1220 1221 1221 /* Start looping on the number of gaussian points: */ … … 1244 1244 1245 1245 if(dt){ 1246 DL_scalar2=-gauss->weight*Jdettria* gamma*K[0]*dt; //don't forget the -1247 DL_scalar3=-gauss->weight*Jdettria* gamma*K[1]*dt; //don't forget the -1246 DL_scalar2=-gauss->weight*Jdettria*hydro_gamma*K[0]*dt; //don't forget the - 1247 DL_scalar3=-gauss->weight*Jdettria*hydro_gamma*K[1]*dt; //don't forget the - 1248 1248 1249 1249 } 1250 1250 else{ 1251 DL_scalar2=-gauss->weight*Jdettria* gamma*K[0]; //don't forget the -1252 DL_scalar3=-gauss->weight*Jdettria* gamma*K[1]; //don't forget the -1251 DL_scalar2=-gauss->weight*Jdettria*hydro_gamma*K[0]; //don't forget the - 1252 DL_scalar3=-gauss->weight*Jdettria*hydro_gamma*K[1]; //don't forget the - 1253 1253 } 1254 1254 -
issm/trunk/src/c/objects/IoModel.cpp
r7640 r7674 201 201 /*!Get thermal parameters: */ 202 202 IoModelFetchData(&this->beta,iomodel_handle,"beta"); 203 IoModelFetchData(&this-> gamma,iomodel_handle,"gamma");204 IoModelFetchData(&this-> kn,iomodel_handle,"kn");203 IoModelFetchData(&this->hydro_gamma,iomodel_handle,"hydro_gamma"); 204 IoModelFetchData(&this->hydro_kn,iomodel_handle,"hydro_kn"); 205 205 IoModelFetchData(&this->meltingpoint,iomodel_handle,"meltingpoint"); 206 206 IoModelFetchData(&this->latentheat,iomodel_handle,"latentheat"); -
issm/trunk/src/c/objects/IoModel.h
r7640 r7674 164 164 /*thermal parameters: */ 165 165 double beta; 166 double gamma;167 double kn;166 double hydro_gamma; 167 double hydro_kn; 168 168 double meltingpoint; 169 169 double latentheat; -
issm/trunk/src/c/objects/Materials/Matpar.cpp
r7640 r7674 48 48 matpar_mixed_layer_capacity=iomodel->mixed_layer_capacity; 49 49 matpar_thermal_exchange_velocity=iomodel->thermal_exchange_velocity; 50 matpar_gamma=iomodel-> gamma;51 matpar_kn=iomodel-> kn;50 matpar_gamma=iomodel->hydro_gamma; 51 matpar_kn=iomodel->hydro_kn; 52 52 53 53 this->mid=matpar_mid; -
issm/trunk/src/m/model/marshall.m
r7646 r7674 153 153 %Thermal parameters 154 154 WriteData(fid,md.beta,'Scalar','beta'); 155 WriteData(fid,md.hydro_gamma,'Scalar',' gamma');156 WriteData(fid,md.hydro_kn,'Scalar',' kn');155 WriteData(fid,md.hydro_gamma,'Scalar','hydro_gamma'); 156 WriteData(fid,md.hydro_kn,'Scalar','hydro_kn'); 157 157 WriteData(fid,md.meltingpoint,'Scalar','meltingpoint'); 158 158 WriteData(fid,md.latentheat,'Scalar','latentheat'); -
issm/trunk/src/m/model/plot/latlonoverlay.m
r6646 r7674 23 23 latstep=3; lonstep=3; 24 24 resolution=0.1; 25 color=[1 11];25 color=[1 0 1]; 26 26 else return; end 27 27 else
Note:
See TracChangeset
for help on using the changeset viewer.