vpdt_dist_traits.h
Go to the documentation of this file.
1 // This is core/vpdl/vpdt/vpdt_dist_traits.h
2 #ifndef vpdt_dist_traits_h_
3 #define vpdt_dist_traits_h_
4 //:
5 // \file
6 // \author Matthew Leotta
7 // \brief specialized template trait classes for properties of a distribution type
8 // \date March 5, 2009
9 //
10 // Provides a short cut to vpdt_field_traits<typename dist::vector>::*
11 //
12 // \verbatim
13 // Modifications
14 // None
15 // \endverbatim
16 
18 
19 
20 
21 //: The distribution traits class
22 // traits are taken from vpdt_field_traits
23 template <class dist>
25 {
26  //: the data type to represent a point in the field
28  //: The compile time dimension of the distribution
30  //: The type used for scalar operations
32  //: the data type used for vectors (difference between points)
34  //: the data type used for square matrices
36 
37 };
38 
39 
40 template <class dist>
42 {
43  static const bool value = false;
44 };
45 
46 
47 #endif // vpdt_dist_traits_h_
vpdt_field_traits< typename dist::field_type >::field_type field_type
the data type to represent a point in the field.
The distribution traits class.
T field_type
the data type to represent a point in the field.
static const bool value
vpdt_field_traits< field_type >::matrix_type matrix_type
the data type used for square matrices.
vpdt_field_traits< field_type >::vector_type vector_type
the data type used for vectors (difference between points).
specialized template trait classes for properties of a field type
The field traits class (scalar).
static const unsigned int dimension
The compile time dimension of the distribution.
vpdt_field_traits< field_type >::scalar_type scalar_type
The type used for scalar operations.