Patterned Growth of Carbon Nanotubes or NanofibersA method and apparatus for the growth of carbon nanotubes or nanofibers in a desired pattern has been invented. The essence of the method is to grow the nanotubes or nanofibers by chemical vapor deposition (CVD) onto a patterned catalyst supported by a substrate. The figure schematically depicts salient aspects of the method and apparatus in a typical application. A substrate is placed in a chamber that contains both ion-beam sputtering and CVD equipment. The substrate can be made of any of a variety of materials that include several forms of silicon or carbon, and selected polymers, metals, ceramics, and even some natural minerals and similar materials. Optionally, the substrate is first coated with a noncatalytic metal layer (which could be a single layer or could comprise multiple different sublayers) by ion-beam sputtering. The choice of metal(s) and thickness(es) of the first layer (if any) and its sublayers (if any) depends on the chemical and electrical properties required for subsequent deposition of the catalyst and the subsequent CVD of the carbon nanotubes. A typical first-sublayer metal is Pt, Pd, Cr, Mo, Ti, W, or an alloy of two or more of these elements. A typical metal for the second sublayer or for an undivided first layer is Al at a thickness .1 nm or Ir at a thickness .5 nm. Proper choice of the metal for a second sublayer of a first layer makes it possible to use a catalyst that is chemically incompatible with the substrate. In the next step, a mask having holes in the desired pattern is placed over the coated substrate. The catalyst is then deposited on the coated substrate by ion-beam sputtering through the mask. Optionally, the catalyst could be deposited by a technique other than sputtering and/or patterned by use of photolithography, electron- beam lithography, or another suitable technique. The catalytic metal can be Fe, Co, Ni, or an alloy of two or more of these elements, deposited to a typical thickness in the range from 0.1 to 20 nm.