1 // SWIG file AdaptiveDirectionalStratification.i 2 3 %{ 4 #include "openturns/AdaptiveDirectionalStratification.hxx" 5 %} 6 7 %include AdaptiveDirectionalStratification_doc.i 8 9 %include openturns/AdaptiveDirectionalStratification.hxx AdaptiveDirectionalStratification(const AdaptiveDirectionalStratification & other)10namespace OT { %extend AdaptiveDirectionalStratification { AdaptiveDirectionalStratification(const AdaptiveDirectionalStratification & other) { return new OT::AdaptiveDirectionalStratification(other); } } } 11 12 %pythoncode %{ 13 def AdaptiveDirectionalSampling(event): 14 openturns.common.Log.Warn('class AdaptiveDirectionalSampling is deprecated in favor of AdaptiveDirectionalStratification') 15 return openturns.simulation.AdaptiveDirectionalSampling(event) 16 %} 17 18