mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
fix warning reorder
member initialization is executed in the order the members are defined in the class, hence the member initializer list in the constructor should be in the same order
This commit is contained in:
@ -59,6 +59,9 @@ MarkovPath::MarkovPath
|
||||
searchMinimum_(propsDict_.lookupOrDefault<bool>("searchMinimum",true)),
|
||||
currentDatabase_(0),
|
||||
numIntervals_(base.recM().numIntervals()),
|
||||
recSteps_(0),
|
||||
stepsInCurrentDatabase_(0),
|
||||
startIndex_(propsDict_.lookupOrDefault<label>("startIndex",0)),
|
||||
correlationSteps_(propsDict_.lookupOrDefault<labelList>("correlationStepsList",labelList(numIntervals_,0))),
|
||||
intervalSizes_(numIntervals_),
|
||||
intervalSizesCumulative_(numIntervals_),
|
||||
@ -66,9 +69,6 @@ MarkovPath::MarkovPath
|
||||
minIntervalSteps_(propsDict_.lookupOrDefault<labelList>("minIntervalStepsList",labelList(numIntervals_,0))),
|
||||
minStepsWithinDatabase_(propsDict_.lookupOrDefault<labelList>("minStepsWithinDatabase",labelList(numIntervals_,0))),
|
||||
numberOfIntervalsInEachDatabase_(numIntervals_),
|
||||
recSteps_(0),
|
||||
stepsInCurrentDatabase_(0),
|
||||
startIndex_(propsDict_.lookupOrDefault<label>("startIndex",0)),
|
||||
intervalWeights_(propsDict_.lookupOrDefault<scalarList>("intervalWeights",scalarList(numIntervals_,1.0))),
|
||||
intervalWeightsCumulative_(intervalWeights_),
|
||||
Pjump_(scalarList(numIntervals_,0.0)),
|
||||
|
||||
Reference in New Issue
Block a user