Re: [deal.II] Shape function derivative wrt to a different cell

2018-03-15 Thread Wolfgang Bangerth
On 03/15/2018 03:32 PM, RAJAT ARORA wrote: I created a triangulation object with a single cell (Let's call it cell2) and associated it with a new dofhandler for 1 dof per node. Whenever I needed the derivative of the shape functions with respect to an element whose vertices were given by th

Re: [deal.II] Shape function derivative wrt to a different cell

2018-03-15 Thread RAJAT ARORA
Hello Professor, Thanks for the reply. There is nothing wrong with using compute_projection_from_quadrature_points_matrix(). I just wanted to do it this way. I understand it is complicated. This is what I came up with and tried, but it doesn't work. I created a triangulation object with a sin

Re: [deal.II] Shape function derivative wrt to a different cell

2018-03-07 Thread Wolfgang Bangerth
On 03/07/2018 12:19 PM, RAJAT ARORA wrote: I want to do the following thing: I have a scalar quantity available only at the Gauss points of a cell. (cell = 2d rectangular element) I want to get the derivative of this quantity at the center of the cell. One way to do this is to locally project t

[deal.II] Shape function derivative wrt to a different cell

2018-03-07 Thread RAJAT ARORA
Hello all, I am using deal.ii to solve a 2d solid mechanics problem. I want to do the following thing: I have a scalar quantity available only at the Gauss points of a cell. (cell = 2d rectangular element) I want to get the derivative of this quantity at the center of the cell. One way to do thi