[LOG]:量子化学计算FORTRAN程序设计(STO-3G and 3-21G)


Section 1

矩阵的行列数:
行数=列数,其中行数等于:各原子s轨道个数+p轨道个数*3之和。
CH4 C H 4 ,C有1s,2s,2p轨道,H有1s轨道,则矩阵的行列数为1*(1+1+1*3)+4*1=9

任务目标1:

根据自己要做的分子,先计算矩阵的行列数n。将1到 n2 n 2 顺次填入这个矩阵,并显示到控制台上。


Section 2

输入文件格式::

nBasis
ng am
alpha[1],c[1]
.
.
.
alpha[ng],c[ng]
ng,am
alpha[1],c[1]
.
.
.
alpha[ng],c[ng]

...共有nBasis组
每组是一个shell,依次递增

ng是the number of Gaussian Function(高斯函数的个数)am是角动量

每个shell类型应包含:

type shell_type                          !shell has the same alpha,coeff,iatom,am                           
        integer              :: am             !quantum number l
        integer              :: ng             !number of gauss function
        integer              :: iatom          !number of atom
        integer              :: nicart         !( ( am_read + 1 ) * ( am_read + 2 ) ) / 2, number of orbital
        Integer basis1,basis2

        real*8,allocatable :: alpha(:)
        real*8,allocatable :: coeff(:)
    end type 
  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值