27SymGrp::SymGrp(
size_t type,
ElementMap const& elementMap) :
29 elementMap (elementMap),
49 pf[
"index"] = make_pair(
"%4zu" ,
string(4,
' '));
50 pf[
"ec"] = make_pair(
"%2s" ,
string(2,
' '));
51 pf[
"type"] = make_pair(
"%2zu" ,
string(2,
' '));
52 pf[
"subtype"] = make_pair(
"%4s" ,
string(4,
' '));
53 pf[
"e1"] = make_pair(
"%2s" ,
string(2,
' '));
54 pf[
"e2"] = make_pair(
"%2s" ,
string(2,
' '));
55 pf[
"eta"] = make_pair(
"%9.3E" ,
string(9,
' '));
56 pf[
"rs/rl"] = make_pair(
"%10.3E",
string(10,
' '));
57 pf[
"rc"] = make_pair(
"%10.3E",
string(10,
' '));
58 pf[
"angleLeft"] = make_pair(
"%6.1f" ,
string(6,
' '));
59 pf[
"angleRight"] = make_pair(
"%6.1f" ,
string(6,
' '));
60 pf[
"lambda"] = make_pair(
"%2.0f" ,
string(2,
' '));
61 pf[
"zeta"] = make_pair(
"%4.1f" ,
string(4,
' '));
62 pf[
"alpha"] = make_pair(
"%4.2f" ,
string(4,
' '));
63 pf[
"lineNumber"] = make_pair(
"%5zu" ,
string(5,
' '));
64 pf[
"mindex"] = make_pair(
"%4zu" ,
string(4,
' '));
65 pf[
"sfindex"] = make_pair(
"%4zu" ,
string(4,
' '));
66 pf[
"calcexp"] = make_pair(
"%1d" ,
string(1,
' '));
75 po.push_back(
"index" );
77 po.push_back(
"type" );
78 po.push_back(
"subtype" );
82 po.push_back(
"rs/rl" );
84 po.push_back(
"angleLeft" );
85 po.push_back(
"angleRight");
86 po.push_back(
"lambda" );
87 po.push_back(
"zeta" );
88 po.push_back(
"alpha" );
89 po.push_back(
"lineNumber");
90 po.push_back(
"mindex" );
91 po.push_back(
"sfindex" );
92 po.push_back(
"calcexp" );
101 for (PrintOrder::const_iterator it =
printOrder.begin();
113 if (t.size () > 0) t.resize (t.size () - 1);
124 if (s.size () > 0) s.resize (s.size () - 1);
134 for (PrintOrder::const_iterator it =
printOrder.begin();
146 if (t.size () > 0) t.resize (t.size () - 1);
157 if (s.size () > 0) s.resize (s.size () - 1);
static PrintFormat const printFormat
Map of parameter format strings and empty strings.
static PrintFormat const initializePrintFormat()
Initialize static print format map for all possible parameters.
std::string getPrintFormatCommon() const
Get common parameter line format string.
std::map< std::string, std::pair< std::string, std::string > > PrintFormat
std::set< std::string > parametersCommon
Set of common parameters IDs.
std::vector< std::string > PrintOrder
std::string getPrintFormatMember() const
Get member parameter line format string.
std::set< std::string > parametersMember
Set of common parameters IDs.
static PrintOrder const printOrder
Vector of parameters in order of printing.
static PrintOrder const initializePrintOrder()
Initialize static print order vector for all possible parameters.
V const & safeFind(std::map< K, V > const &stdMap, typename std::map< K, V >::key_type const &key)
Safely access map entry.