"sous la forme (assemblage combustible, DKLib)"),
ang=("Association between the core elements and the neutronic libraries "
"in the form (fuel assembly, DKLib)"),
- statut="o",
+ statut="f",
typ=Tuple(2),
# TODO: Check if the attribute assembly_type of the
# Assembly object is 'REF' then the type of the
sectionPropagation = etapeIncertitude.getChildOrChildInBloc('Propagation')[0]
self.Methode = sectionPropagation.getChildOrChildInBloc('Methode').valeur
self.Result = sectionPropagation.getChildOrChildInBloc('Result')[0]
- self.critereArret = sectionPropagation.getChildOrChildInBloc('CritereArret')[0]
- # self.SimulationsNumber = self.critereArret.getChildOrChildInBloc('SimulationsNumber')[0]
- # self.MaximumElapsedTime = self.critereArret.getChildOrChildInBloc('MaximumElapsedTime')[0]
- # self.Accuracy = self.critereArret.getChildOrChildInBloc('Accuracy')[0]
- sectionEvaluationParameter = sectionPropagation.getChildOrChildInBloc('EvaluationParameter')[0]
- self.Blocksize = sectionEvaluationParameter.getChildOrChildInBloc('BlockSize').valeur
- self.advancedParameter = sectionPropagation.getChildOrChildInBloc('AdvancedParameter')
- if self.advancedParameter != None:
- self.advancedParameter = self.advancedParameter[0]
- # self.ComputeConfidenceIntervalAt = self.advancedParameter.getChildOrChildInBloc('ComputeConfidenceIntervalAt')[0]
- # self.Seed = self.advancedParameter.getChildOrChildInBloc('Seed')[0]
+ if (self.Methode == 'MonteCarlo'):
+ self.critereArret = sectionPropagation.getChildOrChildInBloc('CritereArret')[0]
+ # self.SimulationsNumber = self.critereArret.getChildOrChildInBloc('SimulationsNumber')[0]
+ # self.MaximumElapsedTime = self.critereArret.getChildOrChildInBloc('MaximumElapsedTime')[0]
+ # self.Accuracy = self.critereArret.getChildOrChildInBloc('Accuracy')[0]
+ sectionEvaluationParameter = sectionPropagation.getChildOrChildInBloc('EvaluationParameter')[0]
+ self.Blocksize = sectionEvaluationParameter.getChildOrChildInBloc('BlockSize').valeur
+ self.advancedParameter = sectionPropagation.getChildOrChildInBloc('AdvancedParameter')
+ if self.advancedParameter != None:
+ self.advancedParameter = self.advancedParameter[0]
+ # self.ComputeConfidenceIntervalAt = self.advancedParameter.getChildOrChildInBloc('ComputeConfidenceIntervalAt')[0]
+ # self.Seed = self.advancedParameter.getChildOrChildInBloc('Seed')[0]
self.lesVariablesOutput = sectionOutput.getChildOrChildInBloc('VariableDeSortie')
self.variablesOutput = {}