Class MeshConnectivity¶
Defined in File mesh_connectivity.h
Class Documentation¶
-
class MeshConnectivity¶
MeshConnectivity class stores the various connectivities for a mesh object.
Public Types
Public Functions
-
inline MeshConnectivity()¶
-
inline explicit MeshConnectivity(uint_t n)¶
\detailed ctor construct by setting the size of the connectivity
-
inline explicit MeshConnectivity(const std::vector<uint_t> &conn)¶
\detailed cto construct by passing the std::vector that holds the global connection indices
-
inline MeshConnectivity(const MeshConnectivity &o)¶
\detailed copy constructor
-
inline MeshConnectivity &operator=(const MeshConnectivity &o)¶
\detailed copy assignement operator
-
inline void assign_connections(const std::vector<uint_t> &connections)¶
\detailed assign the global indices of the MeshEntities that the MeshEntity this MeshConnectivity corresponds to
-
inline void set_connection(uint_t i, uint_t connection_idx)¶
\detailed set the connection at position
itoconnection_idx
-
void invalidate_connections()¶
\detailed invalidate the connections
-
inline void clear_connections()¶
\detailed clear the connections returns to a state just like when calling the default ctor
-
inline bool empty() const¶
\detailed true iff the
connections_.empty()returstrue
-
inline std::ostream &print_connectivity_info(std::ostream &o) const¶
\detailed print the connectivity info
-
inline connectivity_iterator connectivity_begin()¶
-
inline connectivity_iterator connectivity_end()¶
-
inline const_connectivity_iterator connectivity_begin() const¶
-
inline const_connectivity_iterator connectivity_end() const¶
-
inline MeshConnectivity()¶