Changeset 7674


Ignore:
Timestamp:
03/22/11 16:01:55 (14 years ago)
Author:
Eric.Larour
Message:

Fixed problem with hydro_gamma.

Location:
issm/trunk/src
Files:
6 edited

Legend:

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

    r7673 r7674  
    12031203        double     Ke_gg_gaussian2[numdof][numdof]  ={0.0};
    12041204        double     Ke_gg_gaussian3[numdof][numdof]  ={0.0};
    1205         double     gamma;
     1205        double     hydro_gamma;
    12061206        double     DL_scalar1;
    12071207        double     DL_scalar2;
     
    12171217       
    12181218        /*retrieve material parameters: */
    1219         gamma=matpar->GetGamma();
     1219        hydro_gamma=matpar->GetGamma();
    12201220
    12211221        /* Start  looping on the number of gaussian points: */
     
    12441244
    12451245                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 -
    12481248
    12491249                }
    12501250                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 -
    12531253                }
    12541254               
  • issm/trunk/src/c/objects/IoModel.cpp

    r7640 r7674  
    201201        /*!Get thermal parameters: */
    202202        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");
    205205        IoModelFetchData(&this->meltingpoint,iomodel_handle,"meltingpoint");
    206206        IoModelFetchData(&this->latentheat,iomodel_handle,"latentheat");
  • issm/trunk/src/c/objects/IoModel.h

    r7640 r7674  
    164164                /*thermal parameters: */
    165165                double beta;
    166                 double gamma;
    167                 double kn;
     166                double hydro_gamma;
     167                double hydro_kn;
    168168                double meltingpoint;
    169169                double latentheat;
  • issm/trunk/src/c/objects/Materials/Matpar.cpp

    r7640 r7674  
    4848        matpar_mixed_layer_capacity=iomodel->mixed_layer_capacity;
    4949        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;
    5252
    5353        this->mid=matpar_mid;
  • issm/trunk/src/m/model/marshall.m

    r7646 r7674  
    153153%Thermal parameters
    154154WriteData(fid,md.beta,'Scalar','beta');
    155 WriteData(fid,md.hydro_gamma,'Scalar','gamma');
    156 WriteData(fid,md.hydro_kn,'Scalar','kn');
     155WriteData(fid,md.hydro_gamma,'Scalar','hydro_gamma');
     156WriteData(fid,md.hydro_kn,'Scalar','hydro_kn');
    157157WriteData(fid,md.meltingpoint,'Scalar','meltingpoint');
    158158WriteData(fid,md.latentheat,'Scalar','latentheat');
  • issm/trunk/src/m/model/plot/latlonoverlay.m

    r6646 r7674  
    2323                latstep=3; lonstep=3;
    2424                resolution=0.1;
    25                 color=[1 1 1];
     25                color=[1 0 1];
    2626        else return; end
    2727else
Note: See TracChangeset for help on using the changeset viewer.