public RegularizedQuadRuleFactory(IQuadRuleFactory <QuadRule> baseFactory, LevelSetTracker tracker, int levSetIndex, RegularizationPolynomoial polynomial, double width) { this.baseFactory = baseFactory; this.polynomial = polynomial; this.width = width; this.tracker = tracker; if (tracker.LevelSets.Count <= levSetIndex) { throw new ArgumentOutOfRangeException("Please specify a valid index for the level set."); } this.levSetIndex = levSetIndex; }
public RegularizedQuadRuleFactory(IQuadRuleFactory <QuadRule> baseFactory, LevelSetTracker tracker, RegularizationPolynomoial polynomial, double width) : this(baseFactory, tracker, 0, polynomial, width) { }