Looping over Elements??

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
rgrayeli
Posts: 20
Joined: Fri Mar 14, 2008 8:18 am
Location: UC Berkeley
Contact:

Looping over Elements??

Post by rgrayeli »

I'm trying to use "ElementIter" class to loop over all specified elements. my question is, what is the best method to distinguish solid (quads), beam as well as zerolength elements.

Thank
Roozbeh
PhD student
GeoEngineering
UC, Berkeley
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Looping over Elements??

Post by fmk »

you could invoke getType() .. each should return a string, the methods are typically defined in the .h file
Post Reply