Changeset 16648


Ignore:
Timestamp:
11/06/13 16:13:54 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: do not forget to collapse p if MINI condensed

File:
1 edited

Legend:

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

    r16647 r16648  
    390390        if(pe){
    391391                /*Static condensation if requested*/
    392                 if(this->element_type==P1bubblecondensedEnum){
     392                if(this->element_type==MINIcondensedEnum){
     393                        int indices[2]={6,7};
     394                        this->element_type=MINIEnum;
     395                        ElementMatrix* Ke = CreateKMatrixStressbalanceFS();
     396                        this->element_type=MINIcondensedEnum;
     397
     398                        pe->StaticCondensation(Ke,2,&indices[0]);
     399                        delete Ke;
     400                }
     401                else if(this->element_type==P1bubblecondensedEnum){
    393402                        int size   = nodes[3]->GetNumberOfDofs(NoneApproximationEnum,GsetEnum);
    394403                        int offset = 0;
Note: See TracChangeset for help on using the changeset viewer.