Skip to content

Commit

Permalink
VTI unit test: uncomment adjoint propagator parts
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertbk committed Jun 6, 2024
1 parent 3114b8f commit b4d9fd3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ TEST_F( AcousticVTIFletcherWaveEquationSEMTest, SeismoTrace )
avg /= 8.0;
ASSERT_TRUE( std::abs( pReceivers[i][8] - avg ) < 0.00001 );
}
// (not supported yet) run adjoint solver
/*
//run adjoint solver

for( int i = 0; i < 10; i++ )
{
propagator->explicitStepBackward( time_n, dt, i, domain, false );
Expand All @@ -283,7 +283,7 @@ TEST_F( AcousticVTIFletcherWaveEquationSEMTest, SeismoTrace )
}
avg /= 8.0;
ASSERT_TRUE( std::abs( pReceivers[i][8] - avg ) < 0.00001 );
}*/
}
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ TEST_F( AcousticVTIZhangWaveEquationSEMTest, SeismoTrace )
avg /= 8.0;
ASSERT_TRUE( std::abs( pReceivers[i][8] - avg ) < 0.00001 );
}
// (not supported yet) run adjoint solver
/* for( int i = 0; i < 10; i++ )
// run adjoint solver
for( int i = 0; i < 10; i++ )
{
propagator->explicitStepBackward( time_n, dt, i, domain, false );
time_n += dt;
Expand All @@ -275,7 +275,7 @@ TEST_F( AcousticVTIZhangWaveEquationSEMTest, SeismoTrace )
}
avg /= 8.0;
ASSERT_TRUE( std::abs( pReceivers[i][8] - avg ) < 0.00001 );
}*/
}
}


Expand Down

0 comments on commit b4d9fd3

Please sign in to comment.