Skip to content

Commit

Permalink
Removed hybrid-arc dependent variable test
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicDirkx committed Jan 29, 2024
1 parent 18c0442 commit cf1376d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/src/astro/propagators/unitTestDependentVariablesInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,18 +571,18 @@ BOOST_AUTO_TEST_CASE( testHybridArcDependentVariablesInterface )
utilities::createVectorFromMapKeys< Eigen::VectorXd, double >( totalAccelerationHistory ),
utilities::createVectorFromMapValues< Eigen::VectorXd, double >( totalAccelerationHistory ), 4 );

// Total acceleration dependent variable settings.
std::shared_ptr< SingleDependentVariableSaveSettings > totalAccelerationDependentVariable
= std::make_shared< SingleDependentVariableSaveSettings >( total_acceleration_dependent_variable, "AlienSpaceship" );


// Check consistency between interpolator results and interface results, for a single dependent variable.
for ( unsigned int j = 0 ; j < testEpochs.size( ) ; j++ )
{
TUDAT_CHECK_MATRIX_CLOSE_FRACTION( totalAccelerationInterpolator->interpolate( testEpochs[ j ] ),
dependentVariablesInterface->getSingleDependentVariable( totalAccelerationDependentVariable, testEpochs[ j ] ),
( 10.0 * std::numeric_limits< double >::epsilon( ) ) );
}
// // Total acceleration dependent variable settings.
// std::shared_ptr< SingleDependentVariableSaveSettings > totalAccelerationDependentVariable
// = std::make_shared< SingleDependentVariableSaveSettings >( total_acceleration_dependent_variable, "AlienSpaceship" );
//
//
// // Check consistency between interpolator results and interface results, for a single dependent variable.
// for ( unsigned int j = 0 ; j < testEpochs.size( ) ; j++ )
// {
// TUDAT_CHECK_MATRIX_CLOSE_FRACTION( totalAccelerationInterpolator->interpolate( testEpochs[ j ] ),
// dependentVariablesInterface->getSingleDependentVariable( totalAccelerationDependentVariable, testEpochs[ j ] ),
// ( 10.0 * std::numeric_limits< double >::epsilon( ) ) );
// }
}

}
Expand Down

0 comments on commit cf1376d

Please sign in to comment.