# doc-cache created by Octave 9.2.0
# name: cache
# type: cell
# rows: 3
# columns: 2
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 4
demo


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 188
 % The lattice constants
 %%  trigonal crystal system
 latconts = [4.5 3.6 4.2 80 45 72]; % a, b, c, alpha, beta, gamma 
 % The Miller indices of the crystal direction
 hkl     = [1 0 1];



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
 % The lattice constants
 %%  trigonal crystal system
 latconts = [4.5 3.6 4....



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
dir2Plane


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 535
  ========================== Calculate a plane perpendicular to the direction [hkl] ================================
    Input parameter: 
                    latconts: [a, b, c, alpha, beta, gamma], the lattice constants.
                    hkl: [h,k,l],  the Miller indices of the crystal direction.
    Out parameter: 
                    Phkl: One of the planes perpendicular to the direction [hkl]
    Note: Phkl is not an integer array in most cases, so if you need to convert it to an integer, please do your own calculations.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
  ========================== Calculate a plane perpendicular to the direction...





