Grid 0.7.0
MetaData.h File Reference
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <map>
#include <unistd.h>
#include <sys/utsname.h>
#include <pwd.h>

Go to the source code of this file.

Data Structures

class  GaugeStatistics< Impl >
struct  BinarySimpleUnmunger< fobj, sobj >
struct  BinarySimpleMunger< fobj, sobj >
struct  GaugeSimpleMunger< fobj, sobj >
struct  GaugeSimpleUnmunger< fobj, sobj >
struct  GaugeDoubleStoredMunger< fobj, sobj >
struct  GaugeDoubleStoredUnmunger< fobj, sobj >
struct  Gauge3x2munger< fobj, sobj >
struct  Gauge3x2unmunger< fobj, sobj >
struct  GaugeSUmunger< fobj, sobj, false >
struct  GaugeSUmunger< fobj, sobj, true >
struct  GaugeSUunmunger< fobj, sobj >
struct  GaugeSpmunger< fobj, sobj >
struct  GaugeSpunmunger< fobj, sobj >
struct  GaugeUnMunger< vobj, group_name, MatrixFormat::FULL, fp_fmt >
struct  GaugeUnMunger< vobj, GroupName::SU, MatrixFormat::REDUCED, fp_fmt >
struct  GaugeUnMunger< vobj, GroupName::Sp, MatrixFormat::REDUCED, fp_fmt >

Macros

#define dump_meta_data(field, s)

Typedefs

typedef GaugeStatistics< PeriodicGimplDPeriodicGaugeStatistics
typedef GaugeStatistics< ConjugateGimplDConjugateGaugeStatistics
template<typename vtype>
using iLorentzColour2x3
typedef iLorentzColour2x3< ComplexLorentzColour2x3
typedef iLorentzColour2x3< ComplexFLorentzColour2x3F
typedef iLorentzColour2x3< ComplexDLorentzColour2x3D
template<typename vtype>
using iLorentzColourNx2N
typedef iLorentzColourNx2N< ComplexFLorentzColourNx2NF
typedef iLorentzColourNx2N< ComplexDLorentzColourNx2ND

Enumerations

enum struct  FloatingPointFormat { IEEE64BIG , IEEE32BIG }
enum struct  MatrixFormat { FULL , REDUCED }

Functions

 NAMESPACE_BEGIN (Grid)
template<class vobj>
static std::string getFormatString (void)
void GridMetaData (GridBase *grid, FieldMetaData &header)
void MachineCharacteristics (FieldMetaData &header)
template<class vobj>
void PrepareMetaData (Lattice< vobj > &field, FieldMetaData &header)
template<>
void PrepareMetaData< vLorentzColourMatrixD > (Lattice< vLorentzColourMatrixD > &field, FieldMetaData &header)
void reconstruct3 (LorentzColourMatrix &cm)
void reconstructSU (LorentzColourMatrix &cm)
bool is_perm_even (std::vector< int > &v)
void unique_reconstructSU (LorentzColourMatrix &cm)
void reconstructSp (LorentzColourMatrix &cm)
 NAMESPACE_END (Grid)

Macro Definition Documentation

◆ dump_meta_data

#define dump_meta_data ( field,
s )

Definition at line 144 of file MetaData.h.

Referenced by NerscIO::writeHeader().

Typedef Documentation

◆ PeriodicGaugeStatistics

◆ ConjugateGaugeStatistics

◆ iLorentzColour2x3

template<typename vtype>
using iLorentzColour2x3

Definition at line 348 of file MetaData.h.

◆ LorentzColour2x3

Definition at line 349 of file MetaData.h.

◆ LorentzColour2x3F

Definition at line 350 of file MetaData.h.

◆ LorentzColour2x3D

Definition at line 351 of file MetaData.h.

◆ iLorentzColourNx2N

template<typename vtype>
using iLorentzColourNx2N

Definition at line 354 of file MetaData.h.

◆ LorentzColourNx2NF

Definition at line 355 of file MetaData.h.

◆ LorentzColourNx2ND

Definition at line 356 of file MetaData.h.

Enumeration Type Documentation

◆ FloatingPointFormat

enum struct FloatingPointFormat
strong
Enumerator
IEEE64BIG 
IEEE32BIG 

Definition at line 551 of file MetaData.h.

◆ MatrixFormat

enum struct MatrixFormat
strong
Enumerator
FULL 
REDUCED 

Definition at line 552 of file MetaData.h.

Function Documentation

◆ NAMESPACE_BEGIN()

NAMESPACE_BEGIN ( Grid )

◆ getFormatString()

template<class vobj>
std::string getFormatString ( void )
static

Definition at line 45 of file MetaData.h.

Referenced by PrepareMetaData(), and PrepareMetaData< vLorentzColourMatrixD >().

◆ GridMetaData()

◆ MachineCharacteristics()

void MachineCharacteristics ( FieldMetaData & header)
inline

◆ PrepareMetaData()

template<class vobj>
void PrepareMetaData ( Lattice< vobj > & field,
FieldMetaData & header )
inline

◆ PrepareMetaData< vLorentzColourMatrixD >()

◆ reconstruct3()

void reconstruct3 ( LorentzColourMatrix & cm)
inline

Definition at line 205 of file MetaData.h.

References adj(), Nc, and Nd.

Referenced by Gauge3x2munger< fobj, sobj >::operator()().

◆ reconstructSU()

void reconstructSU ( LorentzColourMatrix & cm)
inline

Definition at line 229 of file MetaData.h.

References adj(), Determinant(), Nc, Nd, peekIndex(), and pokeIndex().

Referenced by GaugeSUmunger< fobj, sobj, false >::operator()().

◆ is_perm_even()

bool is_perm_even ( std::vector< int > & v)
inline

Definition at line 256 of file MetaData.h.

Referenced by unique_reconstructSU().

◆ unique_reconstructSU()

void unique_reconstructSU ( LorentzColourMatrix & cm)
inline

Definition at line 292 of file MetaData.h.

References conjugate(), is_perm_even(), Nc, Nd, and perm.

Referenced by GaugeSUmunger< fobj, sobj, true >::operator()().

◆ reconstructSp()

void reconstructSp ( LorentzColourMatrix & cm)
inline

Definition at line 332 of file MetaData.h.

References adj(), Nc, and Nd.

Referenced by GaugeSpmunger< fobj, sobj >::operator()().

◆ NAMESPACE_END()

NAMESPACE_END ( Grid )