function [ adj, t1_ij ] = tile218_adjacency ( )

%*****************************************************************************80
%
%% tile218_adjacency() returns adjacency information for tile #218.
%
%  Discussion:
%
%    Tile #218 is Tile #5 in the Serenity test.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 February 2022
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    integer ADJ(36,3): ADJ(I,J) describes the J-th neighbor of the 
%    I-th 30-60-90 triangle.  Neighbor J=1 is across from the 30 degree angle,
%    J=2 from the 60 degree angle, and J=3 from the 90 degree angle.
%
%    integer t1_ij(3,2), the (i,j) vertex coordinates of 30-60-90 triangle #1.
%
  adj = [ ...
     2, -1,  6; ... % 1
     1, -1,  3; ... % 2
     4, -1,  2; ... % 3
     3, -1,  5; ... % 4
     6, 12,  4; ... % 5
     5, 11,  1; ... % 6
%
     8, 35, 12; ... % 7
     7, 34,  9; ... % 8
    10, -1,  8; ... % 9
     9, -1, 11; ... % 10
    12,  6, 10; ... % 11
    11,  5,  7; ... % 12
%
    14, -1, 18; ... % 13
    13, -1, 15; ... % 14
    16, -1, 14; ... % 15
    15, -1, 17; ... % 16
    18, 24, 16; ... % 17
    17, 23, 13; ... % 18
%
    20, 26, 24; ... % 19
    19, 25, 21; ... % 20
    22, -1, 20; ... % 21
    21, 36, 23; ... % 22
    24, 18, 22; ... % 23
    23, 17, 19; ... % 24
%
    26, 20, 30; ... % 25
    25, 19, 27; ... % 26
    28, -1, 26; ... % 27
    27,  1, 29; ... % 28
    30, 31, 28; ... % 29
    29, 32, 25; ... % 30
%
    32, 24, -1; ... % 31
    31, 30, 33; ... % 32
    -1, -1, 32; ... % 33
%
    35,  8, -1; ... % 34
    34,  7, 36; ... % 35
    -1, 22, 35 ];   % 36

  t1_ij = [ ...
    0, 0; ...
    2, 2; ...
    2, 0 ];

  return
end

