Changeset 27650


Ignore:
Timestamp:
03/18/23 13:18:18 (2 years ago)
Author:
Mathieu Morlighem
Message:

CHG: enabling extrusion of P0 inputs

File:
1 edited

Legend:

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

    r27485 r27650  
    177177                        }
    178178                }
    179                 else _error_("not implemented yet");
     179                else if(interpolation_enum==P0Enum){
     180                        Penta* penta=this;
     181                        for(;;){
     182                                penta->AddInput(input_enum,&values[0],interpolation_enum);
     183                                if (penta->IsOnSurface()) break;
     184                                penta=penta->GetUpperPenta(); _assert_(penta->Id()!=this->id);
     185                        }
     186                }
     187                else _error_("Interpolation "<<EnumToStringx(interpolation_enum)<<" not implemented yet");
    180188        }
    181189
Note: See TracChangeset for help on using the changeset viewer.