Hello Wolfgang, thanks for your message.
Currently,I tried to implement adding local stiffness matrix into global stiffness matrix. 1.May I know which parameter can control the index of cells and add the local stiffness matrix of cell into global matrix? 2.Whether is each cell matrix a kind of FullMatrix<double> and local_dof_indices a local index parameter? >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> template <int dim,typename NumberType> struct Assembler_Base { virtual ~Assembler_Base() {} // Here we deal with the tangent matrix assembly structures. The // PerTaskData object stores local contributions. struct PerTaskData_ASM { const Solid<dim,NumberType> *solid; FullMatrix<double> cell_matrix; Vector<double> cell_rhs; std::vector<types::global_dof_index> local_dof_indices; PerTaskData_ASM(const Solid<dim,NumberType> *solid) : solid (solid), cell_matrix(solid->dofs_per_cell, solid->dofs_per_cell), cell_rhs(solid->dofs_per_cell), local_dof_indices(solid->dofs_per_cell) {} <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< I will appreciate it if you could provide any hint or suggestions. I wish I could receive your reply. Best regards Lance On Monday, June 12, 2023 at 12:43:40 AM UTC+2 Wolfgang Bangerth wrote: > On 6/11/23 05:00, Lance Zhang wrote: > > > > If I want to describe a deformation when the rectangular cuboid object > > receives a force F , how could I control the mesh moving during the > force > > deformation ? Should I use cell or node in the surface of rectangular > cuboid > > to represent the displacement?I s there any function in dealII for mesh > control? > > Lance: > You will want to read step-18. > Best > W. > > -- > ------------------------------------------------------------------------ > Wolfgang Bangerth email: bang...@colostate.edu > www: http://www.math.colostate.edu/~bangerth/ > > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/ba64ffc1-edca-4164-8af0-530b006d99fdn%40googlegroups.com.