public static BoundaryCharacteristic Parse(string str)
 {
     string[] items = str.Split();
     BoundaryCharacteristic res = new BoundaryCharacteristic(double.Parse(items[0]), double.Parse(items[1]), double.Parse(items[2]), double.Parse(items[3]));
     res.Condition = (BoundaryCondition)Enum.Parse(typeof(BoundaryCondition), items[4]);
     return res;
 }
 public Boundary(int N)
 {
     this.characteristic = new BoundaryCharacteristic[N];
     this.N = N;
     for (int i = 0; i < N; i++)
     {
         characteristic[i] = new BoundaryCharacteristic();
     }
 }