Re: [deal.II] Writing outputs of type tensor in cells

2021-07-19 Thread Wolfgang Bangerth
On 7/16/21 1:39 PM, shahab.g...@gmail.com wrote: I have a parameter of type Tensor<1, dim> for each active cell in the triangulation. When I write this parameter as output, I face some difficulties: 1, Vectors in deal.II do not accept tensor elements. 2, add_data_vector does not work for

[deal.II] Writing outputs of type tensor in cells

2021-07-16 Thread shahab.g...@gmail.com
Dear All, I have a parameter of type Tensor<1, dim> for each active cell in the triangulation. When I write this parameter as output, I face some difficulties: 1, Vectors in deal.II do not accept tensor elements. 2, add_data_vector does not work for std::vectors. 3, I tried using