22 #include <boost/test/unit_test.hpp> 26 #include "examples/structural/beam_piston_theory_flutter/beam_piston_theory_flutter.h" 27 #include "tests/base/test_comparisons.h" 29 #include "elasticity/structural_discipline.h" 39 MAST::BeamPistonTheoryFlutterAnalysis)
97 this->init(libMesh::EDGE2,
false);
103 V0 = this->solve(
false);
116 for (
unsigned int i=0; i<this->_params_for_sensitivity.size(); i++ ) {
123 this->solve(
false, 1.e-4, 100);
124 dV = this->sensitivity_solve(f);
130 (fabs(p0) > 0)? dp=delta*p0 : dp=delta;
134 dV_fd = this->solve(
false);
143 BOOST_TEST_MESSAGE(
" ** dV_F/dp (total) wrt : " << f.
name() <<
" **");
148 BOOST_AUTO_TEST_SUITE_END()
const std::string & name() const
returns the name of this function
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)
BOOST_FIXTURE_TEST_SUITE(Structural1DBeamPistonTheoryFlutterAnalysis, MAST::BeamPistonTheoryFlutterAnalysis) BOOST_AUTO_TEST_CASE(BeamPistonTheoryFlutterSolutionSensitivity)