This paper describes a computer code, RYLLA, which models the depositon of x-rays into thin metal slabs, and transports the resulting photoelectrons, finding the distribution of electrons leaving the slab from both the front and back surfaces. The slab must be homogeneous, but can contain a mixture of up to 5 different elements. Due to the short electron mean free path at low electron energies, RYLLA should be used only for studying thin slabs, roughly < 100 mo/cm 2 for low Z metals, and < 10 mg/cm* for high Z metals. X-ray energies should be in the range of 1 to 150 kev, as they are deposited only via photoionization and Compton scattering processes. Following pbotoionization, a hole exists in the electron cloud of the absorbing atom. This fills either by Auger or fluoresence, resulting in lower energy holes which are also filled. Fluoresence photons are transported and absorbed in the same manner as the primary photons, except that they are isotropically origined. Once all photons have been transported and absorbed, and all holes have been filled, a space-and energy-dependent electron source spectrum has been obtained. This is used in a discrete ordinate expansion solution of the 1-D transport equation, which gives the output electron spectra at the two slab surfaces. This paper discusses both the physics and coding of RYLLA. Examples of user input will be given, as will some comparisons with other codes. DISCLAIMER This report was prepared s> MI account of work sponsored by an agency or the United Statea Government Neither the United Sutca Government nor any agency thereof, nor any of their ' ettpkiyeea, makes any warranty, express or implied, or assumes my le»sl liability or responsi bility tor the accuracy, coropteieoaa, ot usefulness of any information, apparatus, product, or proctaa dacloaed, or rcpreaeata that iU UK would not infringe privately owned rhjhts. Refer ence herein to any specific commeranl product, process, or service by trade same, trademark, manufacturer, or other** dots not neceatariry constitute or imply its endorsement, reeoni-mendMioo, or fewwuuj by the United States Government or any agency thereof. The views and opinio™ of authors eiprcssed herein do not necessarily state or reflect those of the United States Government or any ajency thereof. frSIRIBimiW Of »SS CMMMI | S mma Deposition and Transport of X-Rajrs This section covers the x-ray source specification, and the transport and deposition of these x-rays. X-rays resulting from fluoresence and Compton scattering are also trans ported and deposited. There currently exist 4 different ways to specify an x-ray source spectrum. These all assume a steady state spectrum; due to the short transit time for high energy electrons through the thin slabs of interest, this assumption is valid even for picosecond-scale x-ray flux variations. The incoming x-rays may be inclined to the slab normal; their intensity as given in the x-ray input is always referenced to an area normal to the incoming beam, not necessarily normal to the slab. Option 1 : ...