Re: [deal.II] Elementwise multiplication of Tensors
On 6/7/19 5:48 AM, 'Maxi Miller' via deal.II User Group wrote: > Something like this: https://github.com/dealii/dealii/pull/8307? Yes, exactly! Great start! W. -- Wolfgang Bangerth email: bange...@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/44e8fda9-2470-875f-2941-ec5ec1babce8%40colostate.edu. For more options, visit https://groups.google.com/d/optout.
Re: [deal.II] Elementwise multiplication of Tensors
Something like this: https://github.com/dealii/dealii/pull/8307? Am Donnerstag, 6. Juni 2019 00:38:59 UTC+2 schrieb Wolfgang Bangerth: > > On 6/5/19 3:22 PM, 'Maxi Miller' via deal.II User Group wrote: > > is there a function for the elementwise multiplication of Tensors? I > could > > only find functions for the scalar product, but not the schur product. > > You mean to compute >C_ij = A_ij * B_ij > ? No, there isn't one right now. But it should easy to implement. In > analogy > to scalar_product(), the best approach would probably a global function > schur_product(). Want to give this a try? We'd of course take the patch! > > Cheers > 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/985bb2a0-3408-4c6e-9e89-89ae8b7fd090%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [deal.II] Elementwise multiplication of Tensors
On 6/5/19 3:22 PM, 'Maxi Miller' via deal.II User Group wrote: > is there a function for the elementwise multiplication of Tensors? I could > only find functions for the scalar product, but not the schur product. You mean to compute C_ij = A_ij * B_ij ? No, there isn't one right now. But it should easy to implement. In analogy to scalar_product(), the best approach would probably a global function schur_product(). Want to give this a try? We'd of course take the patch! Cheers W. -- Wolfgang Bangerth email: bange...@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/73b35f71-5084-a161-312a-b54ff7108611%40colostate.edu. For more options, visit https://groups.google.com/d/optout.
[deal.II] Elementwise multiplication of Tensors
Hei, is there a function for the elementwise multiplication of Tensors? I could only find functions for the scalar product, but not the schur product. Thanks! -- 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/734ec1b2-bee8-45bf-ac5b-2c8e3cc77cba%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.