Accessing elements and nodes from c++

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

Moderators: silvia, selimgunay, Moderators

Post Reply
rjaeger
Posts: 102
Joined: Thu Aug 31, 2006 9:57 pm
Location: UC Davis

Accessing elements and nodes from c++

Post by rjaeger »

Hi,

How can I access elements and nodes from c++? I would like to be able to loop through all of the nodes and elements in a given model and be able to call their member functions.

Thanks,
Robbie
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

you can use the global variable OPS_TheActiveDomain to get the current Domain .. then use methods in the domain class to access the nodes and elements.
Post Reply