Changeset 8581


Ignore:
Timestamp:
06/09/11 07:47:06 (14 years ago)
Author:
Mathieu Morlighem
Message:

cleaner Matpar

File:
1 edited

Legend:

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

    r8561 r8581  
    2525Matpar::Matpar(int matpar_mid, IoModel* iomodel){
    2626
    27         double  matpar_rho_ice;
    28         double  matpar_rho_water;
    29         double  matpar_heatcapacity;
    30         double  matpar_thermalconductivity;
    31         double  matpar_latentheat;
    32         double  matpar_beta;
    33         double  matpar_meltingpoint;
    34         double  matpar_referencetemperature;
    35         double  matpar_mixed_layer_capacity;
    36         double  matpar_thermal_exchange_velocity;
    37         double  matpar_g;
    38         double  matpar_kn;
    39 
    40         matpar_g=iomodel->g;
    41         matpar_rho_ice=iomodel->rho_ice;
    42         matpar_rho_water=iomodel->rho_water;
    43         matpar_thermalconductivity=iomodel->thermalconductivity;
    44         matpar_heatcapacity=iomodel->heatcapacity;
    45         matpar_latentheat=iomodel->latentheat;
    46         matpar_beta=iomodel->beta;
    47         matpar_meltingpoint=iomodel->meltingpoint;
    48         matpar_referencetemperature=iomodel->referencetemperature;
    49         matpar_mixed_layer_capacity=iomodel->mixed_layer_capacity;
    50         matpar_thermal_exchange_velocity=iomodel->thermal_exchange_velocity;
    51         matpar_kn=iomodel->hydro_kn;
    52 
    53         this->mid=matpar_mid;
    54         this->rho_ice=matpar_rho_ice;
    55         this->rho_water=matpar_rho_water;
    56         this->heatcapacity=matpar_heatcapacity;
    57         this->thermalconductivity=matpar_thermalconductivity;
    58         this->latentheat=matpar_latentheat;
    59         this->beta=matpar_beta;
    60         this->meltingpoint=matpar_meltingpoint;
    61         this->referencetemperature=matpar_referencetemperature;
    62         this->mixed_layer_capacity=matpar_mixed_layer_capacity;
    63         this->thermal_exchange_velocity=matpar_thermal_exchange_velocity;
    64         this->g=matpar_g;
    65         this->kn=matpar_kn;
    66         this->hydro_p=iomodel->hydro_p;
    67         this->hydro_q=iomodel->hydro_q;
    68    this->hydro_CR=iomodel->hydro_CR;
    69    this->hydro_n=iomodel->hydro_n;
     27        this->mid                       = matpar_mid;
     28        this->rho_ice                   = iomodel->rho_ice;
     29        this->rho_water                 = iomodel->rho_water;
     30        this->heatcapacity              = iomodel->heatcapacity;
     31        this->thermalconductivity       = iomodel->thermalconductivity;
     32        this->latentheat                = iomodel->latentheat;
     33        this->beta                      = iomodel->beta;
     34        this->meltingpoint              = iomodel->meltingpoint;
     35        this->referencetemperature      = iomodel->referencetemperature;
     36        this->mixed_layer_capacity      = iomodel->mixed_layer_capacity;
     37        this->thermal_exchange_velocity = iomodel->thermal_exchange_velocity;
     38        this->g                         = iomodel->g;
     39        this->kn                        = iomodel->hydro_kn;
     40        this->hydro_p                   = iomodel->hydro_p;
     41        this->hydro_q                   = iomodel->hydro_q;
     42        this->hydro_CR                  = iomodel->hydro_CR;
     43        this->hydro_n                   = iomodel->hydro_n;
    7044}
    7145/*}}}1*/
Note: See TracChangeset for help on using the changeset viewer.