DOLFIN
DOLFIN C++ interface
dolfin
graph
Graph.h
1
// Copyright (C) 2010 Garth N. Wells
2
//
3
// This file is part of DOLFIN.
4
//
5
// DOLFIN is free software: you can redistribute it and/or modify
6
// it under the terms of the GNU Lesser General Public License as published by
7
// the Free Software Foundation, either version 3 of the License, or
8
// (at your option) any later version.
9
//
10
// DOLFIN is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU Lesser General Public License for more details.
14
//
15
// You should have received a copy of the GNU Lesser General Public License
16
// along with DOLFIN. If not, see <http://www.gnu.org/licenses/>.
17
//
18
// First added: 2010-11-16
19
// Last changed: 2010-11-25
20
21
#ifndef __GRAPH_TYPES_H
22
#define __GRAPH_TYPES_H
23
24
#include <vector>
25
26
#define BOOST_NO_HASH
27
28
#include <boost/graph/adjacency_list.hpp>
29
#include <dolfin/common/Set.h>
30
31
namespace
dolfin
32
{
33
35
37
typedef
dolfin::Set<int>
graph_set_type
;
39
typedef
std::vector<graph_set_type>
Graph
;
40
41
}
42
43
#endif
dolfin::Set
Definition:
Set.h:36
dolfin::graph_set_type
dolfin::Set< int > graph_set_type
Typedefs for simple graph data structures.
Definition:
Graph.h:37
dolfin::Graph
std::vector< graph_set_type > Graph
Vector of unordered Sets.
Definition:
Graph.h:39
dolfin
Definition:
adapt.h:29
Generated by
1.8.16