Only call n_active_elem() once outside the loop predicate.
Only call n_active_elem() once outside the loop predicate.

dschwen/libmesh,roystgnr/libmesh,libMesh/libmesh,BalticPinguin/libmesh,hrittich/libmesh,dschwen/libmesh,roystgnr/libmesh,jwpeterson/libmesh,hrittich/libmesh,hrittich/libmesh,roystgnr/libmesh,libMesh/libmesh,hrittich/libmesh,hrittich/libmesh,capitalaslash/libmesh,BalticPinguin/libmesh,capitalaslash/libmesh,BalticPinguin/libmesh,BalticPinguin/libmesh,dschwen/libmesh,capitalaslash/libmesh,hrittich/libmesh,jwpeterson/libmesh,libMesh/libmesh,BalticPinguin/libmesh,libMesh/libmesh,BalticPinguin/libmesh,jwpeterson/libmesh,libMesh/libmesh,capitalaslash/libmesh,libMesh/libmesh,roystgnr/libmesh,dschwen/libmesh,jwpeterson/libmesh,roystgnr/libmesh,hrittich/libmesh,BalticPinguin/libmesh,hrittich/libmesh,BalticPinguin/libmesh,libMesh/libmesh,libMesh/libmesh,jwpeterson/libmesh,capitalaslash/libmesh,capitalaslash/libmesh,dschwen/libmesh,dschwen/libmesh,roystgnr/libmesh,jwpeterson/libmesh,roystgnr/libmesh,jwpeterson/libmesh,capitalaslash/libmesh,dschwen/libmesh,roystgnr/libmesh,capitalaslash/libmesh,hrittich/libmesh,jwpeterson/libmesh,dschwen/libmesh