You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
639 B

//
// Created by Wei Chen on 3/2/22
//
#ifndef MATERIAL_HPP
#define MATERIAL_HPP
#include <Eigen/Eigen>
namespace ssim{
class Material{
public:
static void computeN_tet(const Eigen::RowVector3d &P, const Eigen::Matrix<double, 4, 3> &X,
Eigen::Matrix<double, 3, 12> &N);
static void computeB_tet(const Eigen::Matrix<double, 4, 3> &X, Eigen::Matrix<double, 6, 12> &B);
static void computeKe_tet(const Eigen::Matrix<double, 4, 3> &X, const Eigen::Matrix<double, 6, 6> &D,
Eigen::Matrix<double, 12, 12> &Ke, double &Vol);
};
} // namespace SIM
#endif // MATERIAL_HPP