22 #include <boost/test/unit_test.hpp> 26 #include "examples/structural/plate_piston_theory_flutter/plate_piston_theory_flutter.h" 27 #include "tests/base/test_comparisons.h" 29 #include "elasticity/structural_discipline.h" 39 MAST::PlatePistonTheoryFlutterAnalysis)
91 this->init(libMesh::QUAD4,
false);
107 V0 = this->solve(
false);
120 for (
unsigned int i=0; i<this->_params_for_sensitivity.size(); i++ ) {
127 this->solve(
false, 1.0e-4, 100);
128 dV = this->sensitivity_solve(f);
134 (fabs(p0) > 0)? dp=delta*p0 : dp=delta;
138 dV_fd = this->solve(
false);
147 BOOST_TEST_MESSAGE(
" ** dV_F/dp (total) wrt : " << f.
name() <<
" **");
152 BOOST_AUTO_TEST_SUITE_END()
const std::string & name() const
returns the name of this function
BOOST_FIXTURE_TEST_SUITE(Structural2DPlatePistonTheoryFlutterAnalysis, MAST::PlatePistonTheoryFlutterAnalysis) BOOST_AUTO_TEST_CASE(PlatePistonTheoryFlutterSolutionSensitivity)
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)