SSAGES  0.1
A MetaDynamics Package
Public Member Functions | Public Attributes | List of all members
SSAGES::Map Struct Reference

Map for histogram and coefficients. More...

#include <Basis.h>

Public Member Functions

 Map (const std::vector< int > &map, double value)
 Constructor. More...
 

Public Attributes

double value
 The coefficient value.
 
std::vector< int > map
 The mapping in an array of integers.
 

Detailed Description

Map for histogram and coefficients.

A clean mapping structure for both the histogram and the coefficients. All vectors are written as 1D with a row major mapping. In order to make iterating easier, the mapping of the 1D vectors are written here.

Definition at line 39 of file Basis.h.

Constructor & Destructor Documentation

SSAGES::Map::Map ( const std::vector< int > &  map,
double  value 
)
inline

Constructor.

Parameters
mapThe mapping in an array of integers.
valueThe coefficient value.

Definition at line 52 of file Basis.h.

53  :
54  value(value), map(map)
55  {}
double value
The coefficient value.
Definition: Basis.h:42
std::vector< int > map
The mapping in an array of integers.
Definition: Basis.h:45

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