Пример #1
0
 public LaplacianScheme(string[] array) : base(array[0])
 {
     discretisation = (DiscretisationType) Enum.Parse(typeof (DiscretisationType), array[1]);
     interpolation = (InterpolationType) Enum.Parse(typeof (InterpolationType), array[2]);
     snGradScheme = (SurfaceNormalGradientType) Enum.Parse(typeof (SurfaceNormalGradientType), array[3]);
 }
Пример #2
0
 public LaplacianScheme(string[] array) : base(array[0])
 {
     discretisation = (DiscretisationType)Enum.Parse(typeof(DiscretisationType), array[1]);
     interpolation  = (InterpolationType)Enum.Parse(typeof(InterpolationType), array[2]);
     snGradScheme   = (SurfaceNormalGradientType)Enum.Parse(typeof(SurfaceNormalGradientType), array[3]);
 }
Пример #3
0
 public LaplacianScheme()
 {
     discretisation = DiscretisationType.Gauss;
     interpolation  = InterpolationType.none;
     snGradScheme   = SurfaceNormalGradientType.none;
 }
Пример #4
0
 public LaplacianScheme()
 {
     discretisation = DiscretisationType.Gauss;
     interpolation  = InterpolationType.none;
     snGradScheme   = SurfaceNormalGradientType.none;
 }
Пример #5
0
 public SurfaceNormalGradientScheme(string[] array) : base(array[0])
 {
     type = (SurfaceNormalGradientType)Enum.Parse(typeof(SurfaceNormalGradientType), array[1]);
 }
Пример #6
0
 public SurfaceNormalGradientScheme()
 {
     type = SurfaceNormalGradientType.limited;
 }
 public SurfaceNormalGradientScheme()
 {
     type = SurfaceNormalGradientType.limited;
 }
 public SurfaceNormalGradientScheme(string[] array) : base(array[0])
 {
     type = (SurfaceNormalGradientType)Enum.Parse(typeof(SurfaceNormalGradientType), array[1]);
 }