SuperLU 6.0.1
Functions
sp_coletree.c File Reference

Tree layout and computation routines. More...

#include <stdio.h>
#include <stdlib.h>
#include "slu_ddefs.h"
Include dependency graph for sp_coletree.c:

Functions

static int * mxCallocInt (int n)
 
static void initialize_disjoint_sets (int n, int **pp)
 
static int make_set (int i, int *pp)
 
static int link (int s, int t, int *pp)
 
static int find (int i, int *pp)
 
static void finalize_disjoint_sets (int *pp)
 
int sp_coletree (int_t *acolst, int_t *acolend, int_t *arow, int nr, int nc, int *parent)
 
static void nr_etdfs (int n, int *parent, int *first_kid, int *next_kid, int *post, int postnum)
 
int * TreePostorder (int n, int *parent)
 
int sp_symetree (int *acolst, int *acolend, int *arow, int n, int *parent)
 

Detailed Description

Copyright (c) 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy)

All rights reserved.

The source code is distributed under BSD license, see the file License.txt at the top-level directory.

 -- SuperLU routine (version 3.1) --
 Univ. of California Berkeley, Xerox Palo Alto Research Center,
 and Lawrence Berkeley National Lab.
 August 1, 2008

 Copyright (c) 1994 by Xerox Corporation.  All rights reserved.

 THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY
 EXPRESSED OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.

 Permission is hereby granted to use or copy this program for any
 purpose, provided the above notices are retained on all copies.
 Permission to modify the code and to distribute modified code is
 granted, provided the above notices are retained, and a notice that
 the code was modified is included with the above copyright notice.
 

Function Documentation

◆ finalize_disjoint_sets()

static void finalize_disjoint_sets ( int *  pp)
static

◆ find()

static int find ( int  i,
int *  pp 
)
static

◆ initialize_disjoint_sets()

static void initialize_disjoint_sets ( int  n,
int **  pp 
)
static
Here is the call graph for this function:

◆ link()

static int link ( int  s,
int  t,
int *  pp 
)
static

◆ make_set()

static int make_set ( int  i,
int *  pp 
)
static

◆ mxCallocInt()

static int * mxCallocInt ( int  n)
static

◆ nr_etdfs()

static void nr_etdfs ( int  n,
int *  parent,
int *  first_kid,
int *  next_kid,
int *  post,
int  postnum 
)
static

◆ sp_coletree()

int sp_coletree ( int_t acolst,
int_t acolend,
int_t arow,
int  nr,
int  nc,
int *  parent 
)
Here is the call graph for this function:

◆ sp_symetree()

int sp_symetree ( int *  acolst,
int *  acolend,
int *  arow,
int  n,
int *  parent 
)
Here is the call graph for this function:

◆ TreePostorder()

int * TreePostorder ( int  n,
int *  parent 
)
Here is the call graph for this function: