22 #include <boost/test/unit_test.hpp> 26 #include "examples/fsi/beam_flutter_solution/beam_euler_fsi_flutter_solution.h" 27 #include "tests/base/test_comparisons.h" 29 #include "elasticity/structural_discipline.h" 39 MAST::BeamEulerFSIFlutterAnalysis)
59 V0 = this->solve(
false);
72 for (
unsigned int i=0; i<this->_params_for_sensitivity.size(); i++ ) {
79 this->solve(
false, 1.e-4, 100);
80 dV = this->sensitivity_solve(f);
86 (fabs(p0) > 0)? dp=delta*p0 : dp=delta;
90 dV_fd = this->solve(
false);
99 BOOST_TEST_MESSAGE(
" ** dV_F/dp (total) wrt : " << f.
name() <<
" **");
104 BOOST_AUTO_TEST_SUITE_END()
const std::string & name() const
returns the name of this function
BOOST_FIXTURE_TEST_SUITE(BeamFSISmallDisturbanceEulerFlutterAnalysis, MAST::BeamEulerFSIFlutterAnalysis) BOOST_AUTO_TEST_CASE(BeamFSISmallDisturbanceEulerFlutterSensitivityAnalysis)
This is a scalar function whose value can be changed and one that can be used as a design variable in...
BOOST_AUTO_TEST_CASE(InternalForceJacobianZeroFreq)
bool compare_value(const Real v0, const Real v, const Real tol)