Choral
Private Member Functions | List of all members
csr_fromgraph::csr Interface Reference

constructor More...

Collaboration diagram for csr_fromgraph::csr:
Collaboration graph

Private Member Functions

type(csr) function csr_create_fromgraph (g)
 Constructor for the type csr. More...
 

Detailed Description

constructor

Definition at line 28 of file csr_fromGraph.f90.

Member Function/Subroutine Documentation

◆ csr_create_fromgraph()

type(csr) function csr_fromgraph::csr::csr_create_fromgraph ( type(graph), intent(in)  g)
private

Constructor for the type csr.

Allocate memory for matrix 'm' and defines 'm%row', 'm%col'.

Entries can be given afterwards.

  • OUTPUT:
    • m = csr matrix
  • INPUT:
    • g = graph (the pattern of m)

Definition at line 47 of file csr_fromGraph.f90.


The documentation for this interface was generated from the following file: