Sorry, in the code I was comparing
*mesh.n_nodes_on_proc()*, not the elements*. *
I messed up when copy and pasting in the email. Thus, in the code I'm still
having trouble.
- Namu​
On Mon, Aug 24, 2015 at 6:08 PM, namu patel wrote:
> Hello Everyone,
>
> In my code, I am trying to loop over al
Hello Everyone,
In my code, I am trying to loop over all the local nodes and then sum them
up to make sure that the all the nodes are accounted for. To do so, I am
using a simple loop:
*int num_nodes = 0; *
*for (MeshBase::node_iterator n_it = mesh.local_nodes_begin(); n_it !=
mesh.local_nodes_en