# Read the BulkConfiguration of the primitive cell of the
# first material
configuration_1 = nlread('InAs.py',BulkConfiguration)[-1]
# Read the BulkConfiguration of the primitive cell of the
# second material
configuration_2 = nlread('Al.py',BulkConfiguration)[-1]

# Run the GeneralizedLatticeMatch method
generalized_lattice_match = GeneralizedLatticeMatch(
                            configuration_1,
                            configuration_2,
                            max_strain=0.02,
                            maximum_miller_index=3,
                            longest_surface_lattice_vector=50*Angstrom,
                            max_surface_area=200.0*Angstrom**2,
                            user_given_miller_index=None
                            )
