Changeset 6003


Ignore:
Timestamp:
09/23/10 15:52:32 (14 years ago)
Author:
Mathieu Morlighem
Message:

Fix if Kfs is NULL (happens when there ssize=0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/Reduceloadx/Reduceloadx.cpp

    r5895 r6003  
    1919        PetscScalar a;
    2020        bool fromlocalsize=true;
     21        int  verbose=1;
     22
     23        //parameters->FindParam(&verbose,VerboseEnum);
     24        if (verbose) _printf_("   Dirichlet lifting applied to load vector\n");
    2125       
    22         if(pf){
     26        if(pf && Kfs){
    2327
    2428                /*pf = pf - Kfs * y_s;*/
Note: See TracChangeset for help on using the changeset viewer.