Ignore:
Timestamp:
11/19/13 14:25:55 (11 years ago)
Author:
Mathieu Morlighem
Message:

NEW: added mass transport

File:
1 edited

Legend:

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

    r16831 r16832  
    30113011        this->InputDepthAverageAtBase(MaterialsRheologyBEnum,MaterialsRheologyBbarEnum,MaterialsEnum);
    30123012        this->InputDepthAverageAtBase(DamageDEnum,DamageDbarEnum,MaterialsEnum);
     3013        if(this->inputs->GetInput(VxEnum)) this->InputDepthAverageAtBase(VxEnum,VxAverageEnum);
     3014        if(this->inputs->GetInput(VyEnum)) this->InputDepthAverageAtBase(VyEnum,VyAverageEnum);
    30133015        Tria* tria=(Tria*)SpawnTria(0); //lower face is 0, upper face is 1.
    30143016        this->material->inputs->DeleteInput(MaterialsRheologyBbarEnum);
    30153017        this->material->inputs->DeleteInput(DamageDbarEnum);
     3018        this->inputs->DeleteInput(VxAverageEnum);
     3019        this->inputs->DeleteInput(VyAverageEnum);
    30163020
    30173021        return tria;
Note: See TracChangeset for help on using the changeset viewer.