Re: [deal.II] Re: casting a 4th order symm tensor to Tensor

2016-08-11 Thread Wolfgang Bangerth
On 06/14/2016 08:01 AM, Anup Basak wrote: Thanks for the reply. Yes, I have already done what you suggested. But I think that casting operation should be incorporated. It will be once the following patch (or a variant of it) will be merged: https://github.com/dealii/dealii/pull/2950 This wil

Re: [deal.II] Re: casting a 4th order symm tensor to Tensor

2016-06-14 Thread Anup Basak
Hello Jean, Thanks for the reply. Yes, I have already done what you suggested. But I think that casting operation should be incorporated. Many thanks, Regards, Anup. On Tue, Jun 14, 2016 at 12:22 AM, Jean-Paul Pelteret wrote: > Hi Anup, > > It looks like there's no constructor from which one

[deal.II] Re: casting a 4th order symm tensor to Tensor

2016-06-13 Thread Jean-Paul Pelteret
Hi Anup, It looks like there's no constructor from which one can create a rank 4 tensor from a rank 4 symmetric tensor, nor an assignment operator. I've opened up an issue on GitHub here . It looks like you'll just have to copy out the entries manu