Changeset 3515 for issm/trunk


Ignore:
Timestamp:
04/12/10 13:54:37 (15 years ago)
Author:
seroussi
Message:

fixed problem with Beam Matpar

File:
1 edited

Legend:

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

    r3470 r3515  
    1717#include "../include/typedefs.h"
    1818#include "../include/macros.h"
     19extern int my_rank;
    1920
    2021/*Object constructors and destructor*/
     
    7778        /*hooks: */
    7879        beam_matice_id=i+1; //refers to the corresponding material property card
    79         beam_matpar_id=iomodel->numberofvertices-iomodel->numberofvertices+1;//refers to the corresponding matpar property card
     80        beam_matpar_id=iomodel->numberofvertices2d*(iomodel->numlayers-1)+1;//refers to the corresponding matpar property card
    8081        beam_numpar_id=1;
    8182        beam_node_ids[0]=i+1;
     
    130131        hmatpar.configure(materialsin);
    131132        hnumpar.configure(parametersin);
     133
    132134
    133135}
Note: See TracChangeset for help on using the changeset viewer.