Skip to content

Commit 684681f

Browse files
committed
missing file
1 parent 2fbdc3f commit 684681f

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

src/math/ordinal_typedef.hpp

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
//
2+
// Canadian Hydrological Model - The Canadian Hydrological Model (CHM) is a novel
3+
// modular unstructured mesh based approach for hydrological modelling
4+
// Copyright (C) 2018 Christopher Marsh
5+
//
6+
// This file is part of Canadian Hydrological Model.
7+
//
8+
// Canadian Hydrological Model is free software: you can redistribute it and/or
9+
// modify
10+
// it under the terms of the GNU General Public License as published by
11+
// the Free Software Foundation, either version 3 of the License, or
12+
// (at your option) any later version.
13+
//
14+
// Canadian Hydrological Model is distributed in the hope that it will be useful,
15+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
// GNU General Public License for more details.
18+
//
19+
// You should have received a copy of the GNU General Public License
20+
// along with Canadian Hydrological Model. If not, see
21+
// <http://www.gnu.org/licenses/>.
22+
//
23+
24+
#pragma once
25+
26+
#include <Tpetra_Core.hpp>
27+
28+
29+
30+
31+
typedef Tpetra::Details::DefaultTypes::global_ordinal_type global_ordinal_type;
32+
33+
// essentially only ever used when a) the entire mesh is loaded or b) cell Id in MPI
34+
// but the mesh neded to exceed local_ordinal_type is too big for most machines
35+
typedef Tpetra::Details::DefaultTypes::local_ordinal_type local_ordinal_type;

0 commit comments

Comments
 (0)