<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>Jing,</div>
</div>
</div>
<div><br>
</div>
<div>I'm having a little trouble conceptualizing exactly how you are planning to use it, but I suspect you are going to run into several problems because it sounds like you are breaking some of the assumptions of VTK and ParaView.</div>
<div><br>
</div>
<div>First, I'm not sure how you could attach an array describing 2x2x2 values to 4x4x4 blocks. There is no convention in VTK to specify a field arrangement other than 1 to 1. All filters will assume the array is 4x4x4, which will cause bad data access and
could potentially crash ParaView.</div>
<div><br>
</div>
<div>Second, trying to modify an array interactively in the view and then access it through filters in the pipeline is not going to work very well. The pipeline will not catch the changes and the changed values will not appear in the visualization. ParaView
additionally has update suppressors to prevent updates that were not modified by the ParaView system.</div>
<div><br>
</div>
<div>I suspect that for whatever it is you are trying to do to work right you will need to create a custom view or representation that internally handles this numpy array.</div>
<div><br>
</div>
<div>-Ken</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>jlih <<a href="mailto:jlih@masonlive.gmu.edu">jlih@masonlive.gmu.edu</a>><br>
<span style="font-weight:bold">Date: </span>Monday, December 1, 2014 at 9:03 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>
<span style="font-weight:bold">Subject: </span>[EXTERNAL] [Paraview] Data updates in Paraview+MPI<br>
</div>
<div><br>
</div>
<div><style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
<div dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Dear all, <br>
</p>
<p>I am using the Paraview with MPI enabled to visualize a NetCDF dataset and need some suggestions on developing the following application. </p>
<p><br>
</p>
<p>If I want to modify the NetCDF array based on the data values from another numpy array (not in NetCDF format), do I need to store the numpy array in a NetCDF in every computing node with MPI installed? The dimensions of the numpy array are not the same
as the NetCDF array (e.g., numpy 2*2*2; NetCDF 4*4*4, one element from the numpy array corresponds to 8 elements in the NetCDF array ). </p>
<p><br>
</p>
<p>Also, the numpy array is updated during the interactive manipulation of the view. Whenever the view changes (e.g., zoom), the values are updated. If I store the numpy array as files, I am not sure how much communication overhead will be introduced. Is
it possible to store the numpy array in memory and update the array on the fly? I'm not sure how the shared memory works in this case..<br>
</p>
<p><br>
</p>
<p>Any suggestions are highly appreciated. Thanks in advance. <br>
</p>
<p><br>
</p>
<p>Jing <br>
</p>
</div>
</div>
</div>
</span>
</body>
</html>