We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
depsrc
deprcv
propagate.c
1 parent 5af08bc commit 143ef60Copy full SHA for 143ef60
pygrt/C_extension/src/dynamic/propagate.c
@@ -418,7 +418,7 @@ void grt_kernel(
418
419
// 对一些特殊情况的修正
420
// 当震源和场点均位于地表时,可理论验证DS分量恒为0,这里直接赋0以避免后续的精度干扰
421
- if(mod1d->Dep[mod1d->isrc] == 0.0 && mod1d->Dep[mod1d->ircv] == 0.0)
+ if(mod1d->depsrc == 0.0 && mod1d->deprcv == 0.0)
422
{
423
for(MYINT c=0; c<GRT_QWV_NUM; ++c){
424
QWV[GRT_SRC_M_DS_INDEX][c] = 0.0;
0 commit comments