Viskores
1.0
viskores
cont
CellSetList.h
Go to the documentation of this file.
1
//============================================================================
2
// The contents of this file are covered by the Viskores license. See
3
// LICENSE.txt for details.
4
//
5
// By contributing to this file, all contributors agree to the Developer
6
// Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7
//============================================================================
8
9
//============================================================================
10
// Copyright (c) Kitware, Inc.
11
// All rights reserved.
12
// See LICENSE.txt for details.
13
//
14
// This software is distributed WITHOUT ANY WARRANTY; without even
15
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16
// PURPOSE. See the above copyright notice for more information.
17
//============================================================================
18
#ifndef viskores_cont_CellSetList_h
19
#define viskores_cont_CellSetList_h
20
21
#include <
viskores/List.h
>
22
23
#include <
viskores/cont/CellSetExplicit.h
>
24
#include <
viskores/cont/CellSetExtrude.h
>
25
#include <
viskores/cont/CellSetSingleType.h
>
26
#include <
viskores/cont/CellSetStructured.h
>
27
28
namespace
viskores
29
{
30
namespace
cont
31
{
32
33
using
CellSetListStructured1D
=
viskores::List<viskores::cont::CellSetStructured<1>
>;
34
35
using
CellSetListStructured2D
=
viskores::List<viskores::cont::CellSetStructured<2>
>;
36
37
using
CellSetListStructured3D
=
viskores::List<viskores::cont::CellSetStructured<3>
>;
38
39
40
template
<
typename
ShapesStorageTag =
VISKORES_DEFAULT_SHAPES_STORAGE_TAG
,
41
typename
ConnectivityStorageTag =
VISKORES_DEFAULT_CONNECTIVITY_STORAGE_TAG
,
42
typename
OffsetsStorageTag =
VISKORES_DEFAULT_OFFSETS_STORAGE_TAG
>
43
using
CellSetListExplicit
=
viskores::List
<
44
viskores::cont::CellSetExplicit<ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag>
>;
45
46
using
CellSetListExplicitDefault
=
CellSetListExplicit<>
;
47
48
using
CellSetListCommon
=
viskores::List<viskores::cont::CellSetStructured<2>
,
49
viskores::cont::CellSetStructured<3>
,
50
viskores::cont::CellSetExplicit<>
,
51
viskores::cont::CellSetSingleType<>
>;
52
53
using
CellSetListStructured
=
54
viskores::List<viskores::cont::CellSetStructured<2>
,
viskores::cont::CellSetStructured<3>
>;
55
56
using
CellSetListUnstructured
=
57
viskores::List<viskores::cont::CellSetExplicit<>
,
viskores::cont::CellSetSingleType<>
>;
58
}
59
}
// namespace viskores::cont
60
61
#endif //viskores_cont_CellSetList_h
CellSetExplicit.h
CellSetExtrude.h
VISKORES_DEFAULT_SHAPES_STORAGE_TAG
#define VISKORES_DEFAULT_SHAPES_STORAGE_TAG
Definition:
CellSetExplicit.h:66
viskores::List
A template used to hold a list of types.
Definition:
List.h:47
viskores
Groups connected points that have the same field value.
Definition:
Atomic.h:27
VISKORES_DEFAULT_OFFSETS_STORAGE_TAG
#define VISKORES_DEFAULT_OFFSETS_STORAGE_TAG
Definition:
CellSetExplicit.h:74
viskores::cont::CellSetExplicit
Defines an irregular collection of cells.
Definition:
CastAndCall.h:44
viskores::cont::CellSetStructured
Defines a 1-, 2-, or 3-dimensional structured grid of points.
Definition:
CastAndCall.h:40
CellSetStructured.h
viskores::cont::CellSetSingleType
An explicit cell set with all cells of the same shape.
Definition:
CastAndCall.h:42
CellSetSingleType.h
List.h
VISKORES_DEFAULT_CONNECTIVITY_STORAGE_TAG
#define VISKORES_DEFAULT_CONNECTIVITY_STORAGE_TAG
Definition:
CellSetExplicit.h:70
Generated by
1.8.17