Flow123d  master-f44eb46
Classes | Functions
sparse_graph.hh File Reference

Distributed sparse graphs, partitioning. More...

#include <vector>
#include <stack>
#include <ostream>
#include <petscmat.h>
#include "mpi.h"
#include "petscistypes.h"
#include "la/distribution.hh"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SparseGraph
 Virtual class for construction and partitioning of a distributed sparse graph. More...
 
struct  SparseGraph::Edge
 
class  SparseGraphPETSC
 
class  SparseGraphMETIS
 

Functions

ostream & operator<< (ostream &out, const SparseGraph &sg)
 Output a sparse graph. More...
 

Detailed Description

Distributed sparse graphs, partitioning.

 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file sparse_graph.hh.

Function Documentation

◆ operator<<()

ostream& operator<< ( ostream &  out,
const SparseGraph sg 
)

Output a sparse graph.

Returns
Changed ostream.

Definition at line 313 of file sparse_graph.cc.