Interface for the constructor of the hyperedge type. It receives the order OR a list of nodes and returns a new hyperedge object.
Constructor for the hyperedge type. It initializes the ID and order of the hyperedge, and allocates memory for the nodes array. @param order The order of the hyperedge.
Note
This subroutine allocates memory for the nodes array based on the provided size.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in) | :: | order |
Constructor for the hyperedge type from a list of nodes.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in) | :: | nodes(:) |