Ignore:
Timestamp:
06/30/13 17:32:20 (12 years ago)
Author:
Mathieu Morlighem
Message:

NEW:merged PentaHook and TriaHook into ElementHook

File:
1 edited

Legend:

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

    r15353 r15372  
    4141Tria::Tria(int tria_id, int tria_sid, int index, IoModel* iomodel,int nummodels)
    4242        :TriaRef(nummodels)
    43         ,TriaHook(nummodels,index+1,iomodel){
     43        ,ElementHook(nummodels,index+1,3,iomodel){
    4444
    4545                /*id: */
     
    8585        for(i=0;i<this->numanalyses;i++) tria->element_type_list[i]=this->element_type_list[i];
    8686
    87         //deal with TriaHook mother class
     87        //deal with ElementHook mother class
    8888        tria->numanalyses=this->numanalyses;
    8989        tria->hnodes=new Hook*[tria->numanalyses];
     
    27292729
    27302730        /*Intermediaries*/
    2731         int    i,j;
    2732         int    tria_node_ids[3];
    2733         int    tria_vertex_ids[3];
    2734         int    tria_type;
     2731        int        i                   ,j;
     2732        int        tria_node_ids[3];
     2733        int        tria_vertex_ids[3];
     2734        int        tria_type;
    27352735        IssmDouble nodeinputs[3];
    27362736        IssmDouble yts;
    2737         int    progstabilization,balancestabilization;
    2738         bool   dakota_analysis;
     2737        int        progstabilization,balancestabilization;
     2738        bool       dakota_analysis;
    27392739
    27402740        /*Checks if debuging*/
     
    27802780
    27812781        /*hooks: */
    2782         this->SetHookNodes(tria_node_ids,analysis_counter); this->nodes=NULL; //set hook to nodes, for this analysis type
     2782        this->SetHookNodes(tria_node_ids,3,analysis_counter); this->nodes=NULL; //set hook to nodes, for this analysis type
    27832783
    27842784        /*Fill with IoModel*/
Note: See TracChangeset for help on using the changeset viewer.