Changeset 20625


Ignore:
Timestamp:
05/18/16 20:51:53 (9 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixed problem with CuffeyTemperate. The actual code was not included in Makefile.am

Location:
issm/trunk-jpl/src/c
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/Makefile.am

    r20562 r20625  
    116116                                        ./shared/Sorting/binary_search.cpp\
    117117                                        ./shared/Elements/Cuffey.cpp\
     118                                        ./shared/Elements/CuffeyTemperate.cpp\
    118119                                        ./shared/Elements/StressIntensityIntegralWeight.cpp\
    119120                                        ./shared/Elements/Paterson.cpp\
  • issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp

    r20624 r20625  
    14931493                                element->AddInput(MaterialsRheologyBEnum,&B[0],element->GetElementType());
    14941494                                break;
    1495 //                      case CuffeyTemperateEnum:
    1496 //                              for(i=0;i<numnodes;i++) B[i]=CuffeyTemperate(temperature[i], waterfraction[i], element->GetMaterialParameter(MaterialsRheologyNEnum));
    1497 //                              element->AddInput(MaterialsRheologyBEnum,&B[0],element->GetElementType());
    1498 //                              break;
     1495                        case CuffeyTemperateEnum:
     1496                                for(i=0;i<numnodes;i++) B[i]=CuffeyTemperate(temperature[i], waterfraction[i], element->GetMaterialParameter(MaterialsRheologyNEnum));
     1497                                element->AddInput(MaterialsRheologyBEnum,&B[0],element->GetElementType());
     1498                                break;
    14991499                        case PatersonEnum:
    15001500                                for(i=0;i<numnodes;i++) B[i]=Paterson(temperature[i]);
  • issm/trunk-jpl/src/c/shared/Elements/elements.h

    r20624 r20625  
    99
    1010IssmDouble Cuffey(IssmDouble temperature);
    11 // IssmDouble CuffeyTemperate(IssmDouble temperature, IssmDouble waterfraction, IssmDouble stressexp);
     11IssmDouble CuffeyTemperate(IssmDouble temperature, IssmDouble waterfraction, IssmDouble stressexp);
    1212IssmDouble Paterson(IssmDouble temperature);
    1313IssmDouble Arrhenius(IssmDouble temperature,IssmDouble depth,IssmDouble n);
Note: See TracChangeset for help on using the changeset viewer.