Changeset 16914


Ignore:
Timestamp:
11/24/13 12:49:28 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: moved more stuff to Element.cpp

Location:
issm/trunk-jpl/src/c/classes/Elements
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Element.cpp

    r16913 r16914  
    104104        return shelf;
    105105}/*}}}*/
     106IssmDouble Element::TMeltingPoint(IssmDouble pressure){/*{{{*/
     107        _assert_(matpar);
     108        return this->matpar->TMeltingPoint(pressure);
     109}/*}}}*/
  • issm/trunk-jpl/src/c/classes/Elements/Element.h

    r16913 r16914  
    6262                IssmDouble GetMaterialParameter(int enum_in);
    6363                bool       IsFloating();
     64                IssmDouble TMeltingPoint(IssmDouble pressure);
    6465
    6566                /*Virtual functions*/
     
    179180                virtual void   SmbGradients(void)=0;
    180181           virtual Element*   SpawnBasalElement(void)=0;
    181                 virtual IssmDouble TMeltingPoint(IssmDouble pressure)=0;
    182182                virtual void   ReduceMatrices(ElementMatrix* Ke,ElementVector* pe)=0;
    183183                virtual void   ResetCoordinateSystem()=0;
  • issm/trunk-jpl/src/c/classes/Elements/Penta.cpp

    r16913 r16914  
    30123012          /*Update inputs*/
    30133013          this->inputs->AddInput(new PentaInput(SurfaceforcingsMassBalanceEnum,&smb[0],P1Enum));
    3014 }
    3015 /*}}}*/
    3016 /*FUNCTION Penta::TMeltingPoint{{{*/
    3017 IssmDouble Penta::TMeltingPoint(IssmDouble pressure){
    3018 
    3019         _assert_(matpar);
    3020         return this->matpar->TMeltingPoint(pressure);
    3021 
    30223014}
    30233015/*}}}*/
  • issm/trunk-jpl/src/c/classes/Elements/Penta.h

    r16913 r16914  
    116116                void   SmbGradients();
    117117           Element* SpawnBasalElement(void);
    118                 IssmDouble  TMeltingPoint(IssmDouble pressure);
    119118                IssmDouble SurfaceArea(void);
    120119                void   Update(int index, IoModel* iomodel,int analysis_counter,int analysis_type,int finitelement);
  • issm/trunk-jpl/src/c/classes/Elements/Seg.h

    r16913 r16914  
    192192                void        ReduceMatrices(ElementMatrix* Ke,ElementVector* pe){_error_("not implemented yet");};
    193193                void          SmbGradients(){_error_("not implemented yet");};
    194                 IssmDouble  TMeltingPoint(IssmDouble pressure){_error_("not implemented yet");};
    195194                IssmDouble  SurfaceArea(void){_error_("not implemented yet");};
    196195                void        Update(int index, IoModel* iomodel,int analysis_counter,int analysis_type,int finitelement){_error_("not implemented yet");};
  • issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r16913 r16914  
    26592659          /*Update inputs*/
    26602660          this->inputs->AddInput(new TriaInput(SurfaceforcingsMassBalanceEnum,&smb[0],P1Enum));
    2661 }
    2662 /*}}}*/
    2663 /*FUNCTION Tria::TMeltingPoint{{{*/
    2664 IssmDouble Tria::TMeltingPoint(IssmDouble pressure){
    2665 
    2666         _assert_(matpar);
    2667         return this->matpar->TMeltingPoint(pressure);
    2668 
    26692661}
    26702662/*}}}*/
  • issm/trunk-jpl/src/c/classes/Elements/Tria.h

    r16913 r16914  
    119119                void          SmbGradients();
    120120           Element*    SpawnBasalElement(void);
    121                 IssmDouble  TMeltingPoint(IssmDouble pressure);
    122121                int         VelocityInterpolation();
    123122                IssmDouble  PureIceEnthalpy(IssmDouble pressure){_error_("not implemented yet");};
Note: See TracChangeset for help on using the changeset viewer.