Public Types | Static Public Attributes | List of all members
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]

Public Types

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

Static Public Attributes

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

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 32 of file vpdt_field_traits.h.

Member Typedef Documentation

◆ field_type

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

the data type to represent a point in the field.

Definition at line 39 of file vpdt_field_traits.h.

◆ matrix_type

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

the data type used for square matrices.

Definition at line 43 of file vpdt_field_traits.h.

◆ scalar_type

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

The type used for scalar operations.

Definition at line 37 of file vpdt_field_traits.h.

◆ type_is_scalar

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

use this to disambiguate templates.

Definition at line 46 of file vpdt_field_traits.h.

◆ vector_type

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

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

Definition at line 41 of file vpdt_field_traits.h.

Member Data Documentation

◆ dimension

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

The compile time dimension of the field.

Definition at line 35 of file vpdt_field_traits.h.


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