Data Structures | Namespaces | Functions

/export/development/ViennaGrid/release/ViennaGrid-1.0.0/viennagrid/traits/point.hpp File Reference

Provides a generic layer for point operations. More...

#include "viennagrid/forwards.h"

Go to the source code of this file.

Data Structures

struct  dimension< point_t< CoordType, CoordinateSystem > >
 Returns the geometric dimension of a point. Specialization for a ViennaGrid point. More...
struct  coordinate_system< PointType >
 Returns the coordinate system of a point. Must be specialized for a user-provided point type. More...
struct  coordinate_system< point_t< CoordType, CoordinateSystem > >
 Returns the coordinate system of a point. Specialization for a ViennaGrid point. More...
struct  static_size< point_t< CoordType, CoordinateSystem > >
 Returns the static (compile time) size of a point. Specialization for a ViennaGrid point. More...
struct  value_type< point_t< CoordType, CoordinateSystem > >
 Value Type retrieval for a point. Returns the numeric type of each coordinate entry. Specialization for a ViennaGrid point. More...

Namespaces

namespace  viennagrid
 

The main ViennaGrid namespace. Most functionality resides in this namespace.


namespace  viennagrid::traits
 

A generic layer for accessing containers such as std::vector, std::deque, std::map, etc.


Functions

template<typename PointType >
std::size_t dynamic_size (PointType const &p)
 Returns the dynamic (run time) size of a point. Assumes a .size() member. Other cases must be provided with overloads.

Detailed Description

Provides a generic layer for point operations.