Viskores
1.0
include
viskores
cont
DefaultTypes.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
19
// The intention of the header file is to configure Viskores to compile its algorithms
20
// and filters for some set of types and data storage. You can customize the types
21
// for which Viskores is compiled for by setting the Viskores_DEFAULT_TYPES_HEADER CMake
22
// variable. This CMake variable can be set to a header file that defines one or
23
// more of the following macros:
24
//
25
// VISKORES_DEFAULT_TYPE_LIST - a viskores::List of value types for fields that filters
26
// should directly operate on (where applicable).
27
// VISKORES_DEFAULT_STORAGE_LIST - a viskores::List of storage tags for fields that
28
// filters should directly operate on.
29
// VISKORES_DEFAULT_CELL_SET_LIST_STRUCTURED - a viskores::List of viskores::cont::CellSet types
30
// that filters should operate on as a strutured cell set.
31
// VISKORES_DEFAULT_CELL_SET_LIST_UNSTRUCTURED - a viskores::List of viskores::cont::CellSet types
32
// that filters should operate on as an unstrutured cell set.
33
// VISKORES_DEFAULT_CELL_SET_LIST - a viskores::List of viskores::cont::CellSet types that filters
34
// should operate on (where applicable). The default of
35
// viskores::ListAppend<VISKORES_STRUCTURED_CELL_SET_LIST, VISKORES_DEFAULT_CELL_SET_LIST_UNSTRUCTURED>
36
// is usually correct.
37
//
38
// Note that if you specify Viskores_DEFAULT_TYPES_HEADER, that file will be copied
39
// to the Viskores build directory. Thus, be careful about editing the file included
40
// by this one (if it exists).
41
42
#ifndef viskores_cont_DefaultTypes_h
43
#define viskores_cont_DefaultTypes_h
44
45
/* #undef VISKORES_HAS_DEFAULT_TYPES_HEADER */
46
47
#ifdef VISKORES_HAS_DEFAULT_TYPES_HEADER
48
#include "internal/"
49
#endif
50
51
#ifndef VISKORES_DEFAULT_TYPE_LIST
52
#include <
viskores/TypeList.h
>
53
#define VISKORES_DEFAULT_TYPE_LIST ::viskores::TypeListCommon
54
#endif //VISKORES_DEFAULT_TYPE_LIST
55
56
#ifndef VISKORES_DEFAULT_STORAGE_LIST
57
#include <
viskores/cont/StorageList.h
>
58
#define VISKORES_DEFAULT_STORAGE_LIST ::viskores::cont::StorageListCommon
59
#endif // VISKORES_DEFAULT_STORAGE_LIST
60
61
#ifndef VISKORES_DEFAULT_CELL_SET_LIST_STRUCTURED
62
#include <
viskores/cont/CellSetList.h
>
63
#define VISKORES_DEFAULT_CELL_SET_LIST_STRUCTURED ::viskores::cont::CellSetListStructured
64
#endif // VISKORES_DEFAULT_CELL_SET_LIST_STRUCTURED
65
66
#ifndef VISKORES_DEFAULT_CELL_SET_LIST_UNSTRUCTURED
67
#include <
viskores/cont/CellSetList.h
>
68
#define VISKORES_DEFAULT_CELL_SET_LIST_UNSTRUCTURED ::viskores::cont::CellSetListUnstructured
69
#endif // VISKORES_DEFAULT_CELL_SET_LIST_UNSTRUCTURED
70
71
#ifndef VISKORES_DEFAULT_CELL_SET_LIST
72
namespace
viskores
73
{
74
namespace
cont
75
{
76
namespace
internal
77
{
78
79
using
CellSetList =
viskores::ListAppend<VISKORES_DEFAULT_CELL_SET_LIST_STRUCTURED, VISKORES_DEFAULT_CELL_SET_LIST_UNSTRUCTURED>
;
80
81
}
82
}
83
}
// namespace viskores::cont::internal
84
85
#define VISKORES_DEFAULT_CELL_SET_LIST ::viskores::cont::internal::CellSetList
86
#endif // VISKORES_CELL_SET_LIST
87
88
#endif //viskores_cont_DefaultTypes_h
CellSetList.h
viskores
Groups connected points that have the same field value.
Definition:
Atomic.h:27
TypeList.h
viskores::ListAppend
typename detail::ListAppendImpl< Lists... >::type ListAppend
Concatinates a set of lists into a single list.
Definition:
List.h:289
StorageList.h
Generated by
1.8.17