13#include <unordered_map>
32namespace SmallDeformation
36template <
typename ShapeFunction,
int DisplacementDim>
62 std::size_t
const n_variables,
63 std::size_t
const local_matrix_size,
64 std::vector<unsigned>
const& dofIndex_to_localIndex,
66 bool const is_axially_symmetric,
70 std::vector<double>
const& ,
71 std::vector<double>
const& ,
72 std::vector<double>& ,
73 std::vector<double>& ,
74 std::vector<double>& )
override
77 "SmallDeformationLocalAssembler: assembly without jacobian is not "
82 Eigen::VectorXd
const& local_u,
83 Eigen::VectorXd& local_b,
84 Eigen::MatrixXd& local_J)
override;
88 double const )
override
90 unsigned const n_integration_points =
93 for (
unsigned ip = 0; ip < n_integration_points; ip++)
100 double const t, Eigen::VectorXd
const& local_x)
override;
103 const unsigned integration_point)
const override
108 return Eigen::Map<const Eigen::RowVectorXd>(N.data(), N.size());
113 std::vector<GlobalVector*>
const& x,
114 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_table,
115 std::vector<double>& cache)
const override;
119 std::vector<GlobalVector*>
const& x,
120 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_table,
121 std::vector<double>& cache)
const override;
125 std::vector<GlobalVector*>
const& ,
126 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& ,
127 std::vector<double>& cache)
const override
135 std::vector<GlobalVector*>
const& ,
136 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& ,
137 std::vector<double>& cache)
const override
154 Eigen::aligned_allocator<IntegrationPointDataType>>
171 DisplacementDim, ShapeFunction::NPOINTS, ShapeFunction,
unsigned getNumberOfPoints() const
MatrixType< _kelvin_vector_size, _number_of_dof > BMatrixType
MatrixType< 3, ShapeFunction::NPOINTS > BBarMatrixType
MatrixType< _number_of_dof, _number_of_dof > StiffnessMatrixType
VectorType< _number_of_dof > NodalForceVectorType
Rhs residual.
BBarMatrixType computeDilatationalBbar(std::vector< IpData, Eigen::aligned_allocator< IpData > > const &ip_data, MeshLib::Element const &element, NumLib::GenericIntegrationMethod const &integration_method, const bool is_axially_symmetric)
NumLib::ShapeMatrices< NodalRowVectorType, DimNodalMatrixType, DimMatrixType, GlobalDimNodalMatrixType > ShapeMatrices
MatrixType< ShapeFunction::NPOINTS, ShapeFunction::NPOINTS > NodalMatrixType
VectorType< ShapeFunction::NPOINTS > NodalVectorType