scene:
  schema: metaclaw.antenna-scene/1
  id: free-space-rectangular-antenna
  revision: 1
  name: Free-space PEC arms with selectable end extensions
  units: m
  provenance:
    origin: API example; no matching or convergence claim
  # Materials: free-space background; no assigned dielectric volumes.
  materials: []
  dielectrics: []
  # Geometry & selections: PEC sheets, with fixed terminals and design options.
  conductors:
    - id: positive
      kind: sheet
      role: fixed
      bounds_m:
        - -0.003
        - -0.001
        - -0.001
        - 0
        - 0
        - 0
    - id: negative
      kind: sheet
      role: fixed
      bounds_m:
        - 0.001
        - 0.003
        - -0.001
        - 0
        - 0
        - 0
    - id: left
      kind: sheet
      role: design
      bounds_m:
        - -0.004
        - -0.003
        - -0.001
        - 0
        - 0
        - 0
    - id: right
      kind: sheet
      role: design
      bounds_m:
        - 0.003
        - 0.004
        - -0.001
        - 0
        - 0
        - 0
  initial_conductor_ids:
    - left
  # Excitations: one finite 50-ohm Lumped Port and its independent drive.
  ports:
    - id: drive
      type: lumped
      reference_ohm: 50
      positive_conductor_ids:
        - positive
      negative_conductor_ids:
        - negative
      sheet_bounds_m:
        - -0.001
        - 0.001
        - -0.001
        - 0
        - 0
        - 0
      integration_line_m:
        -
          - -0.001
          - -0.0005
          - 0
        -
          - 0.001
          - -0.0005
          - 0
      deembed_m: 0
  excitations:
    - id: source-1
      kind: lumped_voltage
      port_id: drive
      amplitude_v: 1
      phase_rad: 0
  # Analysis & frequency sweep: explicit samples and matching objectives.
  frequencies_hz:
    - 11000000000
    - 12000000000
    - 13000000000
  targets:
    - id: example-band
      start_hz: 11000000000
      stop_hz: 13000000000
      max_s11_db: -10
      weight: 1
  # Mesh: explicit Cartesian nodes; the outer two cells form each PML layer.
  mesh:
    axes_m:
      x:
        - -0.01
        - -0.009
        - -0.008
        - -0.007
        - -0.006
        - -0.005
        - -0.004
        - -0.003
        - -0.002
        - -0.001
        - 0
        - 0.001
        - 0.002
        - 0.003
        - 0.004
        - 0.005
        - 0.006
        - 0.007
        - 0.008
        - 0.009
        - 0.01
      'y':
        - -0.01
        - -0.009
        - -0.008
        - -0.007
        - -0.006
        - -0.005
        - -0.004
        - -0.003
        - -0.002
        - -0.001
        - 0
        - 0.001
        - 0.002
        - 0.003
        - 0.004
        - 0.005
        - 0.006
        - 0.007
        - 0.008
        - 0.009
        - 0.01
      z:
        - -0.01
        - -0.009
        - -0.008
        - -0.007
        - -0.006
        - -0.005
        - -0.004
        - -0.003
        - -0.002
        - -0.001
        - 0
        - 0.001
        - 0.002
        - 0.003
        - 0.004
        - 0.005
        - 0.006
        - 0.007
        - 0.008
        - 0.009
        - 0.01
    pml_cells: 2
  # Boundary conditions: open domain with PML; conductors above impose PEC.
  boundary:
    type: open
    padding_m: 0.004
candidate:
  id: example-001
  conductor_ids:
    - left
solver: harp_v1
settings:
  harp_mode: direct
  seconds: 600
  duration_ns: 2
  host_memory_bytes: 34359738368
  device_memory_bytes: 17179869184
  storage_bytes: 68719476736
  time_steps: 500000
