Bridge++
Version 1.5.4
|
Common parameter class: provides parameters as singleton. More...
#include <commonParameters.h>
Static Public Member Functions | |
static void | init (const std::vector< int > &lattice_size, const std::vector< int > &grid_size) |
initialization (Nc=3 is assumed). More... | |
static void | init (const std::vector< int > &lattice_size, const std::vector< int > &grid_size, const int Nc) |
initialization with a given value of Nc. More... | |
static void | init_Vlevel (Bridge::VerboseLevel vlevel) |
initialization for default verbose level. More... | |
static void | print_parameters () |
static int | Lx () |
static int | Ly () |
static int | Lz () |
static int | Lt () |
static long_t | Lvol () |
static int | NPEx () |
static int | NPEy () |
static int | NPEz () |
static int | NPEt () |
static int | NPE () |
static char * | Grid_map () |
static int | Nx () |
static int | Ny () |
static int | Nz () |
static int | Nt () |
static int | Nvol () |
static int | Lsize (const int dir) |
static int | Nsize (const int dir) |
static int | NPEsize (const int dir) |
static int | Nc () |
static int | Nd () |
static int | Ndim () |
static double | epsilon_criterion () |
static double | epsilon_criterion2 () |
static Bridge::VerboseLevel | Vlevel () |
Static Public Attributes | |
static const std::string | class_name = "CommonParameters" |
Private Member Functions | |
CommonParameters () | |
CommonParameters (const CommonParameters &) | |
CommonParameters & | operator= (const CommonParameters &) |
Static Private Member Functions | |
static bool | check_parameters () |
Static Private Attributes | |
static int | m_Nc = 3 |
static const int | m_Nd = 4 |
static const int | m_Ndim = 4 |
static const double | m_epsilon_criterion = 1.0e-16 |
static int | m_Lx = 0 |
static int | m_Ly = 0 |
static int | m_Lz = 0 |
static int | m_Lt = 0 |
static long_t | m_Lvol = 0 |
static int | m_NPEx = 0 |
static int | m_NPEy = 0 |
static int | m_NPEz = 0 |
static int | m_NPEt = 0 |
static int | m_NPE = 0 |
static char | m_map_grid [16] = "xyzt" |
static int | m_Nx = 0 |
static int | m_Ny = 0 |
static int | m_Nz = 0 |
static int | m_Nt = 0 |
static int | m_Nvol = 0 |
static bool | m_initialized = false |
static Bridge::VerboseLevel | m_vlevel = Bridge::GENERAL |
Common parameter class: provides parameters as singleton.
At present stage, several sets of parameters are explicitly given in the implementation file corresponding to some strings, for convenience of test. 28 Dec 2011 H.Matsufuru epsilon_criterion is implemented. [14 Nov 2012 Y.Namekawa] General value of Nc become available. [07 May 2014 H.Matsufuru]
Definition at line 42 of file commonParameters.h.
|
inlineprivate |
Definition at line 67 of file commonParameters.h.
|
inlineprivate |
Definition at line 68 of file commonParameters.h.
|
staticprivate |
Definition at line 185 of file commonParameters.cpp.
|
inlinestatic |
Definition at line 119 of file commonParameters.h.
|
inlinestatic |
Definition at line 120 of file commonParameters.h.
|
inlinestatic |
Definition at line 103 of file commonParameters.h.
|
static |
initialization (Nc=3 is assumed).
Definition at line 59 of file commonParameters.cpp.
|
static |
initialization with a given value of Nc.
Definition at line 67 of file commonParameters.cpp.
|
static |
initialization for default verbose level.
Definition at line 100 of file commonParameters.cpp.
|
static |
Definition at line 107 of file commonParameters.cpp.
|
inlinestatic |
Definition at line 94 of file commonParameters.h.
|
inlinestatic |
Definition at line 95 of file commonParameters.h.
|
inlinestatic |
Definition at line 91 of file commonParameters.h.
|
inlinestatic |
Definition at line 92 of file commonParameters.h.
|
inlinestatic |
Definition at line 93 of file commonParameters.h.
|
inlinestatic |
Definition at line 115 of file commonParameters.h.
|
inlinestatic |
Definition at line 116 of file commonParameters.h.
|
inlinestatic |
Definition at line 117 of file commonParameters.h.
|
inlinestatic |
Definition at line 101 of file commonParameters.h.
|
static |
Definition at line 159 of file commonParameters.cpp.
|
inlinestatic |
Definition at line 100 of file commonParameters.h.
|
inlinestatic |
Definition at line 97 of file commonParameters.h.
|
inlinestatic |
Definition at line 98 of file commonParameters.h.
|
inlinestatic |
Definition at line 99 of file commonParameters.h.
|
static |
Definition at line 133 of file commonParameters.cpp.
|
inlinestatic |
Definition at line 108 of file commonParameters.h.
|
inlinestatic |
Definition at line 109 of file commonParameters.h.
|
inlinestatic |
Definition at line 105 of file commonParameters.h.
|
inlinestatic |
Definition at line 106 of file commonParameters.h.
|
inlinestatic |
Definition at line 107 of file commonParameters.h.
|
private |
|
static |
Definition at line 261 of file commonParameters.cpp.
|
inlinestatic |
Definition at line 122 of file commonParameters.h.
|
static |
Definition at line 44 of file commonParameters.h.
|
staticprivate |
Definition at line 52 of file commonParameters.h.
|
staticprivate |
Definition at line 65 of file commonParameters.h.
|
staticprivate |
Definition at line 55 of file commonParameters.h.
|
staticprivate |
Definition at line 56 of file commonParameters.h.
|
staticprivate |
Definition at line 55 of file commonParameters.h.
|
staticprivate |
Definition at line 55 of file commonParameters.h.
|
staticprivate |
Definition at line 55 of file commonParameters.h.
|
staticprivate |
Definition at line 60 of file commonParameters.h.
|
staticprivate |
Definition at line 48 of file commonParameters.h.
|
staticprivate |
Definition at line 49 of file commonParameters.h.
|
staticprivate |
Definition at line 50 of file commonParameters.h.
|
staticprivate |
Definition at line 59 of file commonParameters.h.
|
staticprivate |
Definition at line 59 of file commonParameters.h.
|
staticprivate |
Definition at line 59 of file commonParameters.h.
|
staticprivate |
Definition at line 59 of file commonParameters.h.
|
staticprivate |
Definition at line 59 of file commonParameters.h.
|
staticprivate |
Definition at line 63 of file commonParameters.h.
|
staticprivate |
Definition at line 63 of file commonParameters.h.
|
staticprivate |
Definition at line 63 of file commonParameters.h.
|
staticprivate |
Definition at line 63 of file commonParameters.h.
|
staticprivate |
Definition at line 63 of file commonParameters.h.
|
staticprivate |
Definition at line 74 of file commonParameters.h.