Changeset 5930


Ignore:
Timestamp:
09/21/10 16:20:56 (14 years ago)
Author:
seroussi
Message:

pattynstokes type elements allowed in stokes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/src/c/objects/Elements/Penta.cpp

    r5929 r5930  
    34783478        if(IsOnWater()) return NULL;
    34793479        inputs->GetParameterValue(&approximation,ApproximationEnum);
    3480         if(approximation!=StokesApproximationEnum) return NULL;
     3480        if(approximation!=StokesApproximationEnum && approximation!=PattynStokesApproximationEnum) return NULL;
    34813481        ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters,StokesApproximationEnum);
    34823482
     
    35783578        if(IsOnWater() || !IsOnBed() || !IsOnShelf()) return NULL;
    35793579        inputs->GetParameterValue(&approximation,ApproximationEnum);
    3580         if(approximation!=StokesApproximationEnum) return NULL;
     3580        if(approximation!=StokesApproximationEnum && approximation!=PattynStokesApproximationEnum) return NULL;
    35813581        ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters,StokesApproximationEnum);
    35823582
Note: See TracChangeset for help on using the changeset viewer.