Changeset 218


Ignore:
Timestamp:
05/04/09 14:29:26 (16 years ago)
Author:
seroussi
Message:

for Mathieu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Penpair.cpp

    r217 r218  
    199199
    200200        if(numdofs==2){
    201                 /*We have a penalty for rift: */
    202                 /*Same for elements: */
     201                /* This is a rift so we need to link the load with the elements*/
    203202                ResolvePointers((Object**)&elements,element_ids,element_offsets,2,elementsin);
    204203        }
     
    233232#define __FUNCT__ "Penpair::PenaltyCreateKMatrix"
    234233void  Penpair::PenaltyCreateKMatrix(Mat Kgg,ParameterInputs* inputs,double kmax,int analysis_type){
    235         throw ErrorException(__FUNCT__," not implemented yet!");
     234        if(numdofs==1){
     235                throw ErrorException(__FUNCT__," not implemented yet!");
     236
     237        }
     238        else if (numdofs==2){
     239                throw ErrorException(__FUNCT__," not implemented yet!");
     240        }
    236241}
    237242               
Note: See TracChangeset for help on using the changeset viewer.