1 #include <boost/math/constants/constants.hpp>
11 typedef Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic>
dMatrix;
12 typedef Eigen::Matrix<double, Eigen::Dynamic, 1> dVector;
13 typedef Eigen::Matrix<unsigned, Eigen::Dynamic, Eigen::Dynamic> uMatrix;
21 auto const &tst_space = space;
23 size_t n = space.get_num_dofs();
24 std::cout <<
"number of DOFs: " << n << std::endl;
33 float nu = .3f, mu = 1.0f;
37 II << tst_space * I[space];
38 LL << tst_space * L[space];
39 MM << tst_space * M[space];
41 std::cout << II.topLeftCorner(10, 10) << std::endl << std::endl;
42 std::cout << LL.topLeftCorner(10, 10) << std::endl << std::endl;
43 std::cout << MM.topLeftCorner(10, 10) << std::endl;