9814a9f3e1db3b8a735c33d92072ff0426756c98,framework/Samplers/SparseGridCollocation.py,SparseGridCollocation,_generateQuadsAndPolys,#SparseGridCollocation#Any#,212

Before Change


      self.raiseAnError(IOError,"variables "+str(romVars)+" specified in ROM but not sampler! Collocation requires all vars in both.")
    for v in ROMdata.keys():
      if v not in self.axisName:
        self.raiseAnError(IOError,"variable "+v+" given interpolation rules but "+v+" not in sampler!")
      else:
        self.gridInfo[v] = ROMdata[v] //quad, poly, weight
    //set defaults, then replace them if they"re asked for
    for v in self.axisName:

After Change


      self.raiseAnError(IOError,"variables "+str(romVars)+" specified in ROM but not sampler! Collocation requires all vars in both.")
    for v in ROMdata.keys():
      if v not in self.axisName:
        self.raiseAnError(IOError,"variable "{}" given interpolation rules but variable not in sampler!".format(v))
      else:
        self.gridInfo[v] = ROMdata[v] //quad, poly, weight
    //set defaults, then replace them if they"re asked for
    for v in self.axisName:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: idaholab/raven
Commit Name: 9814a9f3e1db3b8a735c33d92072ff0426756c98
Time: 2018-09-10
Author: paul.talbot@inl.gov
File Name: framework/Samplers/SparseGridCollocation.py
Class Name: SparseGridCollocation
Method Name: _generateQuadsAndPolys


Project Name: idaholab/raven
Commit Name: 4f44a7889439637184a84b408a7580a8927ce7b7
Time: 2017-09-11
Author: paul.talbot@inl.gov
File Name: framework/Optimizers/Optimizer.py
Class Name: Optimizer
Method Name: _readMoreXMLbase


Project Name: idaholab/raven
Commit Name: 756c644d6e99115d1f2e2391a597dd579bfe3af7
Time: 2019-11-15
Author: Jia.Zhou@inl.gov
File Name: framework/Optimizers/Optimizer.py
Class Name: Optimizer
Method Name: _readMoreXMLbase