/// <summary> /// /// </summary> public static void Add(this IDiscreteField <Vec3d> f0, IDiscreteField <Vec3d> f1, IDiscreteField <Vec3d> result, bool parallel = false) { if (parallel) { ArrayMath.AddParallel(f0.Values, f1.Values, f0.Count, result.Values); } else { ArrayMath.Add(f0.Values, f1.Values, f0.Count, result.Values); } }