Thanks, and sorry for not checking the list first!
Jens
On 02/18/2013 11:22 PM, David Knezevic wrote:
> This came up the other day as well. A Node is a DofObject, so you can
> call node->n_comp(sys_num, var_num) to see how many components are
> associated with the node. So you just need to make s
This came up the other day as well. A Node is a DofObject, so you can
call node->n_comp(sys_num, var_num) to see how many components are
associated with the node. So you just need to make sure that
node->n_comp(sys_num, var_num) > 0 before you try to call node->dof_number.
David
On 02/18/201
I'm looping over nodes in a mesh. My mesh has HEX20 elements to
accommodate 2nd-order approximation, but currently my approximation is
1st order. What's the proper way to loop over the nodes in the mesh (to
get the dof indices) in this case?
Currently I'm doing
for( MeshBase::node_iterator nod