Nektar++
|
A composite is a collection of elements. More...
#include <MeshElements.h>
Public Member Functions | |
Composite () | |
std::string | GetXmlString (bool doSort=true) |
Generate the list of IDs of elements within this composite. |
Public Attributes | |
unsigned int | m_id |
ID of composite. | |
std::string | m_tag |
Element type tag. | |
bool | m_reorder |
Determines whether items can be reordered. | |
std::vector< ElementSharedPtr > | m_items |
List of elements in this composite. |
A composite is a collection of elements.
All elements should be of the same type, i.e. have the same tag.
Definition at line 1107 of file MeshElements.h.
|
inline |
Definition at line 1109 of file MeshElements.h.
string Nektar::Utilities::Composite::GetXmlString | ( | bool | doSort = true | ) |
Generate the list of IDs of elements within this composite.
Generate a Nektar++ string describing the composite.
The list of composites may include individual element IDs or ranges of element IDs.
Definition at line 330 of file MeshElements.cpp.
References Nektar::iterator, m_items, and m_tag.
unsigned int Nektar::Utilities::Composite::m_id |
ID of composite.
Definition at line 1115 of file MeshElements.h.
std::vector<ElementSharedPtr> Nektar::Utilities::Composite::m_items |
List of elements in this composite.
Definition at line 1121 of file MeshElements.h.
Referenced by GetXmlString().
bool Nektar::Utilities::Composite::m_reorder |
Determines whether items can be reordered.
Definition at line 1119 of file MeshElements.h.
std::string Nektar::Utilities::Composite::m_tag |