energy.h

根据每层界面垂直波函数,计算能量积分和群速度

Author

Zhu Dengda (zhudengda@mail.iggcas.ac.cn)

Date

2025-07

Functions

void grt_energy_integrals_Rayl(const MODEL1D_STATE *mstat, const cplx_t (*mod_potRaylLove_Down)[GRT_RAYL_DIM], const cplx_t (*mod_potRaylLove_Up)[GRT_RAYL_DIM], const EIGENFN_INFO *eigfnmet, EIGENFN *eigfn)

计算 Rayleigh 波的能量积分和敏感核

参数:
  • mstat[in] 模型结构体指针

  • mod_potRaylLove_Down[in] 每层 z_j+ 的垂直波函数

  • mod_potRaylLove_Up[in] 每层 z_j- 的垂直波函数

  • eigfnmet[in] 本征函数数据结构体指针

  • eigfn[out] 某频率某本征值的本征函数及相关

void grt_energy_integrals_Love(const MODEL1D_STATE *mstat, const cplx_t (*mod_potRaylLove_Down)[GRT_LOVE_DIM], const cplx_t (*mod_potRaylLove_Up)[GRT_LOVE_DIM], const EIGENFN_INFO *eigfnmet, EIGENFN *eigfn)

计算 Love 波的能量积分和敏感核

参数:
  • mstat[in] 模型结构体指针

  • mod_potRaylLove_Down[in] 每层 z_j+ 的垂直波函数

  • mod_potRaylLove_Up[in] 每层 z_j- 的垂直波函数

  • eigfnmet[in] 本征函数数据结构体指针

  • eigfn[out] 某频率某本征值的本征函数及相关

void grt_energy_integrals(const MODEL1D_STATE *mstat, const DISPER_TYPE wtype, const size_t ncols, const cplx_t (*mod_potRaylLove_Down)[ncols], const cplx_t (*mod_potRaylLove_Up)[ncols], const EIGENFN_INFO *eigfnmet, EIGENFN *eigfn)

计算能量积分, 合并 energy_integrals_Rayl(Love)