Changeset 945


Ignore:
Timestamp:
06/12/09 11:12:42 (16 years ago)
Author:
seroussi
Message:

fixed problem with termal for cielo

Location:
issm/trunk/src/c/objects
Files:
2 edited

Legend:

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

    r803 r945  
    375375                }
    376376        }
     377
    377378        #ifdef _DEBUG_
    378379        _printf_("Viscosity %lf\n",viscosity3d);
  • issm/trunk/src/c/objects/Penta.cpp

    r878 r945  
    11021102        //Update material if necessary
    11031103        if(inputs->Recover("temperature_average",&temperature_list[0],1,dofs,6,(void**)nodes)){
     1104                if(matice){
     1105                        temperature_average=(temperature_list[0]+temperature_list[1]+temperature_list[2]+temperature_list[3]+temperature_list[4]+temperature_list[5])/6.0;
     1106                        B_average=Paterson(temperature_average);
     1107                        matice->SetB(B_average);
     1108                }
     1109        }
     1110        if(inputs->Recover("temperature",&temperature_list[0],1,dofs,6,(void**)nodes)){
    11041111                if(matice){
    11051112                        temperature_average=(temperature_list[0]+temperature_list[1]+temperature_list[2]+temperature_list[3]+temperature_list[4]+temperature_list[5])/6.0;
     
    37553762        if(onbed && shelf){
    37563763
    3757 
    37583764                tria=(Tria*)SpawnTria(0,1,2); //grids 0, 1 and 2 make the new tria.
    37593765                tria->CreatePVectorThermalShelf(pg,inputs, analysis_type,sub_analysis_type);
Note: See TracChangeset for help on using the changeset viewer.