Medusa  1.1
Coordinate Free Mehless Method implementation
mm::scalar_type< scalar_field_t > Struct Template Reference

#include <traits.hpp>

Detailed Description

template<typename scalar_field_t>
struct mm::scalar_type< scalar_field_t >

Type trait for scalar fields to obtain their underlying scalar type.

This trait should be defined for each type you want to use as a scalar field with explicit operators. It is already defined for Range, std::vector and ScalarField.

Definition at line 17 of file traits.hpp.

Public Types

typedef scalar_field_t::Scalar type
 Default scalar type. More...
 

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