[Paraview] [EXT] Re: Did we change vtk/numpy_interface/internal_algorithms dot routine?

Dennis Conklin dennis_conklin at goodyear.com
Tue Sep 26 07:35:06 EDT 2017


Berk,

Thanks – I know what to do next!

Dennis

From: Berk Geveci [mailto:berk.geveci at kitware.com]
Sent: Monday, September 25, 2017 3:47 PM
To: Dennis Conklin <dennis_conklin at goodyear.com>
Cc: Paraview (paraview at paraview.org) <paraview at paraview.org>
Subject: [EXT] Re: [Paraview] Did we change vtk/numpy_interface/internal_algorithms dot routine?

 WARNING - External email; exercise caution.



Yes, in 2014, I added a dot function that is better suited to what folks expect out of ParaView (do a dot of each vector on each point or cell). If you want the numpy.dot, you can do:

import numpy
numpy.dot(a,b)

rather than just
dot(a,b)

In general, I would recommend not ever doing from numpy import * and always using the numpy.XXX form.

Best,
-berk


On Mon, Sep 25, 2017 at 3:19 PM, Dennis Conklin <dennis_conklin at goodyear.com<mailto:dennis_conklin at goodyear.com>> wrote:
All,

I have a Paraview plugin which works in v4.4 but gives an error message (attached) in v5.4.1 (both Linux).

Did we add some assertions in the dot routine, or did we switch from the native numpy dot to a vtk implementation.

I am not at liberty to release the plugin to the general public, but it basically transforms global Cartesian strains into cylindrical coordinate strains.

Any ideas?

Dennis

_______________________________________________
Powered by www.kitware.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C1976484f043b479895a508d5044e3c9e%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=3a0bYGza07hQfakROV%2B%2FsCCKWzoEy%2B0QyMKshfPApL4%3D&reserved=0>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C1976484f043b479895a508d5044e3c9e%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=sWgj9HPpHih6GViB0bhxC%2BTRrUmduoz4QkoI6LL2sdc%3D&reserved=0>

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fparaview.org%2FWiki%2FParaView&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C1976484f043b479895a508d5044e3c9e%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=hVr8Rrovi2jCaRLA%2ByFUNAoCGjMCSbI6N7atdyyLeok%3D&reserved=0>

Search the list archives at: http://markmail.org/search/?q=ParaView<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3DParaView&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C1976484f043b479895a508d5044e3c9e%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=cY4p996GaOc0BZX1JeCzMCHrYOrJuRXzil4KNCPp3bQ%3D&reserved=0>

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fparaview&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C1976484f043b479895a508d5044e3c9e%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=yhVwL73E9CApmvmovL1cHJ7LlCMWxK8zWNyoGpwTJdE%3D&reserved=0>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170926/d3ab8eaa/attachment.html>


More information about the ParaView mailing list