Changeset 25575


Ignore:
Timestamp:
09/15/20 09:35:51 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: counting of active variables should be done AFTER transient step

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/cores/transient_core.cpp

    r25574 r25575  
    334334                }
    335335
     336                /*Run transient step!*/
     337                transient_step(femmodel);
     338
     339                /*Go through our dependent variables, and compute the response:*/
     340                for(Object* & object:dependent_objects->objects){
     341                        DependentObject* dep=(DependentObject*)object;
     342                        dep->Responsex(&output_value,femmodel);
     343                        dep->AddValue(output_value);
     344                }
     345
    336346                if(VerboseSolution()) _printf0_("   counting number of active variables\n");
    337347                hdl_countdoubles = new CountDoublesFunctor();
     
    339349                if(hdl_countdoubles->DoubleCount()>Ysize) Ysize= hdl_countdoubles->DoubleCount();
    340350                delete hdl_countdoubles;
    341 
    342                 /*Run transient step!*/
    343                 transient_step(femmodel);
    344 
    345                 /*Go through our dependent variables, and compute the response:*/
    346                 for(Object* & object:dependent_objects->objects){
    347                         DependentObject* dep=(DependentObject*)object;
    348                         dep->Responsex(&output_value,femmodel);
    349                         dep->AddValue(output_value);
    350                 }
    351351        }
    352352
Note: See TracChangeset for help on using the changeset viewer.