----------------------- PLEASE READ THIS ---------------------------!!!

-- This input file is set up to run for regression check
-- Please make sure you DO NOT MODIFY AND PUSH it to the repository

--------------------------------------------------------------------!!!


-- Use this file as template. Do not modify this file for running some testcases

require "common"
print(nLength)

shepherd = true
if shepherd then
  stlFolder = '$!stl_path!$'
else
  stlFolder = './'
end


folder = 'mesh/'--..subprefix
NOdebug = {debugMode = true, debugFiles=true}
timing_file = 'sdr_timing.res'

-- boundingbox: two entries: origin and length in this
-- order, if no keys are used
bounding_cube = {origin = {-length_bnd/2.0, -length_bnd/2.0, -length_bnd/2.0-dx/2.0},
               length = length_bnd}
logging = {level=10}
minlevel = level

spatial_object = {
  {
    attribute = {
      kind = 'seed',   ----seed
    },
    geometry = {
      kind = 'canoND',
      object = {
        --origin = { -length_bnd/2.0+dx,-length_bnd/2.0+dx,-length_bnd/2.0+dx },
        origin = { 2*dia_inner,0.0,0.0},
        vec = { dia_outer/2.0 - 2*dia_inner, 0.0,0.0}
      }
    }
  },
  {
    attribute = {
      kind = 'boundary',
      label = 'z_wall',
    },
    geometry = {
      kind = 'canoND',
      object = {
        {
          origin = {-length_bnd/2.0,-length_bnd/2.0, -dx},
          vec = {
            {length_bnd, 0.0, 0.0},
            {0.0, length_bnd, 0.0}
          }
        },
        {
          origin = {-length_bnd/2.0,-length_bnd/2.0,dx},
          vec = {
            {length_bnd, 0.0, 0.0},
            {0.0, length_bnd, 0.0}
          }
        },
      }
    },
  },
  {
    attribute = {
      kind = 'boundary',
      label = 'inner',
      calc_dist = qVal,
      flood_diagonal = false
    },
    geometry = {
      kind = 'stl',
      object = {
        filename = stlFolder..'inner_cylinder.stl'
      }
    },
    transformation = {
      deformation = {1e-3,1e-3,1e-2}
    }
  },
  {
    attribute = {
      kind = 'boundary',
      label = 'outer',
      calc_dist = qVal,
      flood_diagonal = false
    },
    geometry = {
      kind = 'stl',
      object = {
        filename = stlFolder..'outer_cylinder.stl'
      }
    },
    transformation = {
      deformation = {1e-3,1e-3,1e-2}
    }
  },

}

