Re: [deal.II] SymmetricTensor rank 6 implementation issue

2019-05-03 Thread Wolfgang Bangerth
On 5/3/19 3:34 PM, Hamed Babaei wrote: > > I believe it will be less time-consuming if I simply avoid using the > SymmetricTensor class and use the Tensor class instead and insert the > symmetric elements manually. For sure. And for once I'm not even going to argue that this might be a nice

Re: [deal.II] SymmetricTensor rank 6 implementation issue

2019-05-03 Thread Hamed Babaei
Dear Wolfgang, I believe it will be less time-consuming if I simply avoid using the SymmetricTensor class and use the Tensor class instead and insert the symmetric elements manually. Thanks anyway for your incredible support! -- The deal.II project is located at http://www.dealii.org/ For

Re: [deal.II] SymmetricTensor rank 6 implementation issue

2019-05-03 Thread Wolfgang Bangerth
On 5/3/19 2:07 PM, Hamed Babaei wrote: > > $ *SymmetricTensor<6, dim> C; * > > > The error is: > > /home/hbabaei/deal.ii-candi/deal.II-v9.0.1/include/deal.II/base/symmetric_tensor.h:563:29: > > error: incomplete type > ‘dealii::internal::SymmetricTensorAccessors::StorageType<6, 3, double>’

[deal.II] SymmetricTensor rank 6 implementation issue

2019-05-03 Thread Hamed Babaei
Hello, I am planning to use a symmetric tensor rank-6 for third-order elastic constants in a nonlinear elasticity code. The tensor is supposed to be symmetric within each three pair indices as well as all possible orders of pair permutations. Namely, C_ijklmn = C_jiklmn = C_ijlkmn = C_ijklnm