Changeset 26207


Ignore:
Timestamp:
04/22/21 19:34:31 (4 years ago)
Author:
bulthuis
Message:

CGH:minor change in seed for transient sampling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/solutionsequences/solutionsequence_sampling.cpp

    r26005 r26207  
    7474    femmodel->parameters->FindParam(&step,StepEnum);
    7575    femmodel->parameters->FindParam(&phi,SamplingPhiEnum);
    76     seed = seed + 13923272*step; // change default seed for transient simulations (by considering an arbitrary shif based on the step number)
     76                if(seed>=0) seed = seed + 13923272*step; // change default seed for transient simulations (by considering an arbitrary shif based on the step number)
    7777
    7878    GetSolutionFromInputsx(&ug,femmodel);
Note: See TracChangeset for help on using the changeset viewer.