The Conley-Morse Graphs Software
Functions
dataconv.h File Reference

Data conversion for sending/receiving. More...

#include <string>
#include <sstream>
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/multiwork/mw.h"
#include "config.h"
#include "typedefs.h"
#include "typedyns.h"
#include "utils.h"
#include "eigenval.h"

Go to the source code of this file.

Functions

chomp::multiwork::mwData & operator<< (chomp::multiwork::mwData &data, const theConleyIndexType &ind)
 Writes a Conley index to a MultiWork data structure. More...
 
chomp::multiwork::mwData & operator>> (chomp::multiwork::mwData &data, theConleyIndexType &ind)
 Reads a Conley index from a MultiWork data structure. More...
 
chomp::multiwork::mwData & operator<< (chomp::multiwork::mwData &data, const IndexEigenValues &eigenValues)
 Writes a set of Conley index eigenvalues to a MultiWork data structure. More...
 
chomp::multiwork::mwData & operator>> (chomp::multiwork::mwData &data, IndexEigenValues &eigenValues)
 Reads a set of Conley index eigenvalues from a MultiWork data structure. More...
 
chomp::multiwork::mwData & operator<< (chomp::multiwork::mwData &data, const parCube &q)
 Writes a parameter cube to a MultiWork data structure. More...
 
chomp::multiwork::mwData & operator>> (chomp::multiwork::mwData &data, parCube &q)
 Reads a parameter cube from a MultiWork data structure. More...
 
chomp::multiwork::mwData & operator<< (chomp::multiwork::mwData &data, const parCubes &X)
 Writes a set of parameter cubes to a MultiWork data structure. More...
 
chomp::multiwork::mwData & operator>> (chomp::multiwork::mwData &data, parCubes &X)
 Reads a set of parameter cubes from a MultiWork data structure. More...
 
chomp::multiwork::mwData & operator<< (chomp::multiwork::mwData &data, const spcCube &q)
 Writes a phase space cube to a MultiWork data structure. More...
 
chomp::multiwork::mwData & operator>> (chomp::multiwork::mwData &data, spcCube &q)
 Reads a phase space cube from a MultiWork data structure. More...
 
chomp::multiwork::mwData & operator<< (chomp::multiwork::mwData &data, const chomp::homology::diGraph<> &g)
 Writes a directed graph to a MultiWork data structure. More...
 
chomp::multiwork::mwData & operator>> (chomp::multiwork::mwData &data, chomp::homology::diGraph<> &g)
 Reads a directed graph from a MultiWork data structure. More...
 

Detailed Description

Data conversion for sending/receiving.

This file contains the definitions of the operators << and >> for encoding some variables to the binary data structure and retrieving them. This binary data structure is used in the communication between the coordinator and workers.

Author
Pawel Pilarczyk

Definition in file dataconv.h.

Function Documentation

◆ operator<<() [1/6]

chomp::multiwork::mwData & operator<< ( chomp::multiwork::mwData &  data,
const chomp::homology::diGraph<> &  g 
)
inline

Writes a directed graph to a MultiWork data structure.

Definition at line 245 of file dataconv.h.

◆ operator<<() [2/6]

chomp::multiwork::mwData & operator<< ( chomp::multiwork::mwData &  data,
const IndexEigenValues eigenValues 
)
inline

Writes a set of Conley index eigenvalues to a MultiWork data structure.

Definition at line 86 of file dataconv.h.

◆ operator<<() [3/6]

chomp::multiwork::mwData & operator<< ( chomp::multiwork::mwData &  data,
const parCube q 
)
inline

Writes a parameter cube to a MultiWork data structure.

Definition at line 134 of file dataconv.h.

◆ operator<<() [4/6]

chomp::multiwork::mwData & operator<< ( chomp::multiwork::mwData &  data,
const parCubes X 
)
inline

Writes a set of parameter cubes to a MultiWork data structure.

Definition at line 174 of file dataconv.h.

◆ operator<<() [5/6]

chomp::multiwork::mwData & operator<< ( chomp::multiwork::mwData &  data,
const spcCube q 
)
inline

Writes a phase space cube to a MultiWork data structure.

Definition at line 207 of file dataconv.h.

◆ operator<<() [6/6]

chomp::multiwork::mwData & operator<< ( chomp::multiwork::mwData &  data,
const theConleyIndexType ind 
)
inline

Writes a Conley index to a MultiWork data structure.

Definition at line 60 of file dataconv.h.

◆ operator>>() [1/6]

chomp::multiwork::mwData & operator>> ( chomp::multiwork::mwData &  data,
chomp::homology::diGraph<> &  g 
)
inline

Reads a directed graph from a MultiWork data structure.

Definition at line 271 of file dataconv.h.

◆ operator>>() [2/6]

chomp::multiwork::mwData & operator>> ( chomp::multiwork::mwData &  data,
IndexEigenValues eigenValues 
)
inline

Reads a set of Conley index eigenvalues from a MultiWork data structure.

Definition at line 106 of file dataconv.h.

◆ operator>>() [3/6]

chomp::multiwork::mwData & operator>> ( chomp::multiwork::mwData &  data,
parCube q 
)
inline

Reads a parameter cube from a MultiWork data structure.

Definition at line 149 of file dataconv.h.

References custom::difference::paramDim.

◆ operator>>() [4/6]

chomp::multiwork::mwData & operator>> ( chomp::multiwork::mwData &  data,
parCubes X 
)
inline

Reads a set of parameter cubes from a MultiWork data structure.

Definition at line 185 of file dataconv.h.

◆ operator>>() [5/6]

chomp::multiwork::mwData & operator>> ( chomp::multiwork::mwData &  data,
spcCube q 
)
inline

Reads a phase space cube from a MultiWork data structure.

Definition at line 220 of file dataconv.h.

References custom::difference::paramDim, and custom::difference::spaceDim.

◆ operator>>() [6/6]

chomp::multiwork::mwData & operator>> ( chomp::multiwork::mwData &  data,
theConleyIndexType ind 
)
inline

Reads a Conley index from a MultiWork data structure.

Definition at line 70 of file dataconv.h.