Changeset 23487


Ignore:
Timestamp:
11/29/18 15:58:48 (6 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixing AMR tests

File:
1 edited

Legend:

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

    r23486 r23487  
    589589
    590590        /*If we already have the right analysis, return*/
    591         if(this->analysis_counter==index) return;
     591        //if(this->analysis_counter==index) return;
    592592        this->analysis_counter=index;
    593593
     
    25212521
    25222522        int index=AnalysisIndex(config_type);
     2523        _assert_(this->analysis_type_list[index]==config_type);
    25232524
    25242525        /*start module: */
     
    26352636        int nodecounter         =0;
    26362637        int constraintcounter=0;
     2638        this->analysis_counter=-1;
    26372639        for(int i=0;i<this->nummodels;i++){//create nodes for each analysis in analysis_type_list
    26382640
     
    26462648                this->CreateNodes(newnumberofvertices,my_vertices,nodecounter,analysis_enum,new_nodes);
    26472649                this->CreateConstraints(new_vertices,nodecounter,constraintcounter,analysis_enum,new_constraints_list[i]);
    2648                 //this->UpdateElements(newnumberofelements,newelementslist,my_elements,nodecounter,i,new_elements);
     2650                this->UpdateElements(newnumberofelements,newelementslist,my_elements,nodecounter,i,new_elements);
    26492651
    26502652                if(new_nodes->Size()) nodecounter=new_nodes->MaximumId();
Note: See TracChangeset for help on using the changeset viewer.