copy Interface

interface
private module subroutine copy(this, source, sparse)

Arguments

Type IntentOptional Attributes Name
class(graph_type), intent(inout) :: this

Parent. Instance of the graph structure.

class(graph_type), intent(in) :: source

Source graph to be copied.

logical, intent(in), optional :: sparse

Boolean whether to copy the graph as sparse. Default is False.

Description

Interface for copying the graph.