Description
Iterator for iterating on ChDomain finite elements (virtual iterator).
Also, as a bonus, it can return reference to the per-element data, per-materialpoint data, and shortcut references to per-node data for the referenced nodes; all those data retrieved as base classes, so you may need downcasting. This data can be also obtained through the ElementData(std::shared_ptr<ChFieldElement> melement) function, that does not require downcasting, but such function is not available here in ChDomain base class.
#include <ChDomain.h>
Inherited by chrono::fea::ChDomainImpl< T_per_node, T_per_matpoint_aux, T_per_element >::IteratorOnElements.
Public Member Functions | |
| virtual std::shared_ptr< ChFieldElement > | get_element ()=0 |
| virtual ChElementData & | get_data_per_element ()=0 |
| virtual ChFieldData * | get_data_per_matpoint (unsigned int i_matpoint)=0 |
| virtual ChFieldData * | get_data_per_matpoint_aux (unsigned int i_matpoint)=0 |
| virtual ChFieldDataState * | get_data_per_node (unsigned int i_node, unsigned int i_field)=0 |
| virtual void | next ()=0 |
| virtual bool | is_end () const =0 |
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/fea/ChDomain.h