我有这个输入文件。我想将其作为代码块:
&control
calculation = 'scf',
prefix = 'copper',
pseudo_dir = '/home/ccevallos/pslibrary.1.0.0/pz/PSEUDOPOTENTIALS/',
outdir = './tmp'
wf_collect=.true.
/
&system
ibrav = 2,
celldm(1) = 6.678,
nat = 1,
ntyp = 1,
ecutwfc = 40,
ecutrho = 300, occupations = 'smearing', smearing = 'mp',
degauss = 0.01,
/
&electrons
/
ATOMIC_SPECIES
Cu 63.546 Cu.pz-dn-rrkjus_psl.1.0.0.UPF
ATOMIC_POSITIONS alat
Cu 0.00 0.00 0.00
K_POINTS automatic
8 8 8 1 1 1
答案 0 :(得分:2)
@Axeman是正确的。这样就解决了:
```{bash, eval=FALSE}
[insert code here]
```