Make a copy of ``Ge.m'' called ``GeSolid.m'', and modify it as follows to carry out a calculation of solid germanium.
%# Get density
n=getn(Psi,gbl_f);
%# Basic slice from "100" edge of cell
sl=reshape(n(1:S(1)*S(2)),S(1),S(2));
ppm("100.ppm",sl*0.3,sl,sl); system("xli 100.ppm &"); %# Make and view image
%# 110 slice cutting bonds (assumes cube)
sl=reshape(n(find(M(:,2)==M(:,3))),S(1),S(2));
%# Expand by 2, drop data to restore (approximate) aspect ratio
sl=smooth(sl); li=find(rem([1:size(sl,1)],3)!=0); sl=sl(li,:);
ppm("110.ppm",sl,sl,sl*0.3); system("xli 110.ppm &"); %# Make and view image
and copy the utility files ``ppm.m'' and ``smooth.m'' from
Appendices D-E into your current
directory.