On Thu, 28 Jun 2018, Renato Poli wrote:
How can I do this (I am not a MPI guy at all, so please be patient ...):
> ... after each processor makes its own local vector, just
> allgather those into a giant serial vector ...
I'm not a big fan of MPI myself, which is why we've got it wrapped
On Tue, 12 Jun 2018, Vinicius C. Reis wrote:
Hi John, I pasted a somewhat smaller version of my code below. By playing
with the refinement steps limit and the commented out init() and reinit()
lines you should be able to reproduce the two exceptions I got.
Got it reproduced.
The exceptions
> By duplicated, you just mean the multiple DoFs "at" (in a Lagrangian
> evaluation sense) each node?
Correct.
> And integration points are only on sides, so you don't have to worry
> about edges/nodes where more than two elements meet?
Correct.
> 1) You're not using a solution vector, you're u
On Thu, 28 Jun 2018, Renato Poli wrote:
I have a DG system (duplicated DOFs).
By duplicated, you just mean the multiple DoFs "at" (in a Lagrangian
evaluation sense) each node?
I calculate the aperture at the DOFs sharing coordinates
Aperture meaning the jump in values between the solutio
Ok, I see Roy's point.
Let's start over.
I have a DG system (duplicated DOFs).
I calculate the aperture at the DOFs sharing coordinates
(position_at_the_element _minus_ position_at_the_neighbor).
I do that for all integration points.
I need an ordered vector with the bigger apertures first, and I
On Thu, 28 Jun 2018, Renato Poli wrote:
Should I copy-paste code from NumericVector to build mine?
Any suggestion?
We're pretty far into XY Problem territory at this point.
http://xyproblem.info/
What you've said about your vector is that you'll need to be able to
do a maxloc() on it, that
On Thu, Jun 28, 2018 at 9:49 AM, Renato Poli wrote:
> Should I copy-paste code from NumericVector to build mine?
> Any suggestion?
>
I definitely suggest _not_ copy/pasting code!
Another alternative is to sync the solution vector to all processors so
> that everybody can do the same calculatio
Should I copy-paste code from NumericVector to build mine?
Any suggestion?
Another alternative is to sync the solution vector to all processors so
that everybody can do the same calculation.
Seems a little inefficient, but is simple-and-easy.
rgds,
Renato
On Wed, Jun 27, 2018 at 8:21 PM, John Pe