Public Types | Static Public Attributes
vpdt_field_traits< T > Struct Template Reference

The field traits class (scalar). More...

#include <vpdt_field_traits.h>

Inheritance diagram for vpdt_field_traits< T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef T scalar_type
 The type used for scalar operations.
typedef T field_type
 the data type to represent a point in the field.
typedef T vector_type
 the data type used for vectors (difference between points).
typedef T matrix_type
 the data type used for square matrices.
typedef void type_is_scalar
 use this to disambiguate templates.

Static Public Attributes

static const unsigned int dimension = 1
 The compile time dimension of the field.

Detailed Description

template<class T>
struct vpdt_field_traits< T >

The field traits class (scalar).

The default is to treat it as a 1-d (scalar) field

Definition at line 29 of file vpdt_field_traits.h.


Member Typedef Documentation

template<class T>
typedef T vpdt_field_traits< T >::field_type

the data type to represent a point in the field.

Definition at line 36 of file vpdt_field_traits.h.

template<class T>
typedef T vpdt_field_traits< T >::matrix_type

the data type used for square matrices.

Definition at line 40 of file vpdt_field_traits.h.

template<class T>
typedef T vpdt_field_traits< T >::scalar_type

The type used for scalar operations.

Definition at line 34 of file vpdt_field_traits.h.

template<class T>
typedef void vpdt_field_traits< T >::type_is_scalar

use this to disambiguate templates.

Definition at line 43 of file vpdt_field_traits.h.

template<class T>
typedef T vpdt_field_traits< T >::vector_type

the data type used for vectors (difference between points).

Definition at line 38 of file vpdt_field_traits.h.


Member Data Documentation

template<class T>
const unsigned int vpdt_field_traits< T >::dimension = 1 [static]

The compile time dimension of the field.

Definition at line 32 of file vpdt_field_traits.h.


The documentation for this struct was generated from the following file: