Changeset 3550


Ignore:
Timestamp:
04/16/10 09:56:24 (15 years ago)
Author:
seroussi
Message:

fixed problem for Stokes diagnostic and steadystate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/ModelProcessorx/DiagnosticStokes/CreateElementsNodesAndMaterialsDiagnosticStokes.cpp

    r3476 r3550  
    5959
    6060                if(iomodel->my_elements[i]){
     61                         if (*(iomodel->elements_type+2*i+1)==StokesFormulationEnum()){
    6162
    62                         /*Create and add penta element to elements dataset: */
    63                         elements->AddObject(new Penta(i,iomodel));
     63                                 /*Create and add penta element to elements dataset: */
     64                                 elements->AddObject(new Penta(i,iomodel));
    6465
    65                         /*Create and add material property to materials dataset: */
    66                         materials->AddObject(new Matice(i,iomodel,6));
     66                                 /*Create and add material property to materials dataset: */
     67                                 materials->AddObject(new Matice(i,iomodel,6));
     68                         }
    6769
    6870                }
Note: See TracChangeset for help on using the changeset viewer.