ana3AIMEC.aimecTools.splitSection

splitSection(DB, i)[source]

Splits the ith segment of domain boundary DB in the s direction (direction of the path)

Parameters
  • DB (dict) –

    domain Boundary dictionary:
    DBXl: 1D numpy array

    x coord of the left boundary

    DBXr: 1D numpy array

    x coord of the right boundary

    DBYl: 1D numpy array

    y coord of the left boundary

    DBYr: 1D numpy array

    y coord of the right boundary

  • i (int) – index of the segment of DB to split

Returns

  • (x,y) coordinates of the ith left and right splited Boundaries

  • bxl (1D numpy array)

  • byl (1D numpy array)

  • bxr (1D numpy array)

  • byr (1D numpy array)

  • m (int) – number of elements on the new segments