Constructor for a new node, sets the column and element attributes.
The element passed is polymorphic, but will be cast to complex in the node itself.
No nodes are linked yet; the pointer to the next node is initialised to null()
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | column | column index |
||
class(*), | intent(in) | :: | element | element added to the node |
new node with given column and element attributes