SpectraRust/scripts/migrate_atmosphere.sh
2026-03-25 18:34:41 +08:00

47 lines
1.2 KiB
Bash

#!/bin/bash
# 批量迁移 atmosphere 模块
cd src/tlusty/math
# 创建目录
mkdir -p atmosphere/convection
mkdir -p atmosphere/temperature
mkdir -p atmosphere/depth
mkdir -p atmosphere/hydrostatic
mkdir -p atmosphere/grey
mkdir -p atmosphere/odf
# convection
mv convec.rs atmosphere/convection
mv concor.rs atmosphere/convection
mv conout.rs atmosphere/convection
mv conref.rs atmosphere/convection
mv contmd.rs atmosphere/convection
mv contmp.rs atmosphere/convection
# temperature
mv temper.rs atmosphere/temperature
mv temcor.rs atmosphere/temperature
mv tlocal.rs atmosphere/temperature
mv lucy.rs atmosphere/temperature
mv tdpini.rs atmosphere/temperature
# depth
mv newdm.rs atmosphere/depth
mv newdmt.rs atmosphere/depth
mv dmder.rs atmosphere/depth
mv dmeval.rs atmosphere/depth
mv zmrho.rs atmosphere/depth
mv column.rs atmosphere/depth
mv gridp.rs atmosphere/depth
# hydrostatic
mv hesolv.rs atmosphere/hydrostatic
mv hesol6.rs atmosphere/hydrostatic
mv betah.rs atmosphere/hydrostatic
# grey
mv greyd.rs atmosphere/grey
# odf
mv odf1.rs atmosphere/odf
mv odffr.rs atmosphere/odf
mv odfhst.rs atmosphere/odf
mv odfhyd.rs atmosphere/odf
mv odfhys.rs atmosphere/odf
mv odfmer.rs atmosphere/odf
echo "Done"