MPI Scatterv c++ vectors
Questions tagged [scatterview]
70 questions
10
votes
2 answers
What is the displs argument in MPI_Scatterv?
The displs argument from MPI_Scatterv() function is said to be an "integer array (of length group size). Entry i specifies the displacement (relative to sendbuf from which to take the outgoing data to process i".
Let's say then that I have…

bcsta
- 1,963
- 3
- 22
- 61
5
votes
3 answers
ScatterViewItems Containing Surface Interactive Elements
This is an age old problem of interactive elements inside interactive elements, but I want a ScatterViewItem to contain other surface interactive elements such as a SurfaceButton or SurfaceCheckBox. I've got all my elements in there and they react…

James Hay
- 12,580
- 8
- 44
- 67
4
votes
2 answers
Deleting files which have been used in a C# LibraryStack in a Scatterview
I'm new to C#/WPF/Surface programming.
I'm using a LibraryStack in a ScatterViewItem in a ScatterView:

fabschu
- 121
- 2
- 8
4
votes
1 answer
Surface ScatterViewItem background not transparent
I'm working on a Microsoft Surface and attaching a round image object to a ScatterViewItem. I'm having an issue hiding the background of the square ScatterViewItem. If I go in and set the background to transparent, it's not transparent, it's more…
Joe G
3
votes
1 answer
WPF: Reset the positions of scatterviewitems?
I have a scatterview with some items in it which I place with Orientation und Center.
Now I want to have the possibility to reset the positions of the scatterviewitems after scaling, rotating and moving them, while the program is running.
At the…

sofri
- 285
- 1
- 3
- 10
2
votes
2 answers
How make a Screenshot of UIElement in WPF
I have a problem with creating a screenshot of a scatterview. My screenshot always contains a black frame.
Here's my XAML-Code:

Dennis Schneider
- 71
- 1
- 1
- 6
2
votes
1 answer
Dimensioning in MPI Scattering
So I am working on a simple matrix multiplication code using MPI. One of the problems I am facing is in scattering one of the matrices to all the processors. I am assuming that the dimension of my matrix might not be divisible by the number of…

Utsav Jain
- 21
- 3
2
votes
0 answers
Translating mpi_send/recv into mpi_scatterv with 4D Fortran arrays
I'm currently trying to convert the following mpi_send/recv calls into one mpi_scatterv, because I'm experiencing a pretty significant performance hit by copying my array into a temporary buffer and sending that temp buffer. It's still worth it over…

Thomas
- 89
- 6
2
votes
1 answer
Dissociate Control zone from Image in a ScatterViewItem
I would like to make a selection zone smaller than the ScatterViewItem himself.
I tried many things but nothing worked.I have the following image as a ScatterViewItem :
I'd like to make ONLY the red circle (and the insideof it) clickable
as a…

Adrien Brunelat
- 4,492
- 4
- 29
- 42
1
vote
3 answers
throwing out touches in WPF
I'm trying to eliminate TouchDevices in a WPF for Surface so I can ignore non-finger touches because blobs seem to trigger events I don't want.
At first I had something simple like this
private void SurfaceWindow1_PreviewTouchDown(object sender,…

aleatoric
- 68
- 9
1
vote
1 answer
TouchDown Events of ScatterViewItem never raised
I am using Surface Toolkit for Windows Touch Beta. I have a problem to handle the TouchEvent of a ScatterViewItem.
In my code I create a ScatterViewItem and add it to the ScatterView. So far no problem.
But I want to handle a Touch on this…

Dennis Schneider
- 71
- 1
- 1
- 6
1
vote
2 answers
MouseDoubleClick & Touch on a ScatterViewItem
I develop a WPF4 touch aplication which use some Microsoft Surface controls. I would like to catch the MouseDoubleClick event on a ScatterViewItem. The event fires when i use the mouse, but when i use my finger, the event is never raised. Why…

Nico
- 575
- 3
- 8
- 19
1
vote
1 answer
Datagrid inside Scatterview Surface2 application WPF
I have a datagrid placed inside a scatterview in WPF. I cant touch and select a row from the datagrid. In the touchdown event, its returning the value in the selected cell. But its not selecting the entire row or highlighting it.

sony
- 1,453
- 3
- 35
- 79
1
vote
2 answers
C# ScatterView, how to bind two items together to behave as one?
I have a scatterview control into which I load rather large images from a URL. The images are of different size, and sometimes the image is too large to grab in one piece and I have to download two halves of it as individual images. I'm trying to…

Egor
- 1,622
- 12
- 26
1
vote
2 answers
Remove shadow from a ScatterViewItem in C# (not XAML)
I am developing an application on Microsoft Surface.
I add programmatically many PNG images as ScatterViewItems. Even though I set the item to be transparent, it shows a shadow.
How do I remove the shadow in C#? (not in XAML).
Thank you in advance,

Yuval
- 11
- 1