26 auto it =
fs.find(tag);
27 if(it !=
fs.end()) {
return it->second; }
47 Msg::Error(
"Unknown type of element %d (in BasisFactory)", tag);
52 std::pair<std::map<int, nodalBasis *>::const_iterator,
bool> inserted;
55 inserted =
fs.insert(std::make_pair(tag,
F));
56 if(!inserted.second)
delete F;
59 return inserted.first->second;
66 auto it =
js.find(data);
67 if(it !=
js.end())
return it->second;
70 js.insert(std::make_pair(data, J));
92 tag,
FuncSpaceData(type,
false, jacOrder + 2, jacOrder,
false));
97 auto it =
cs.find(tag);
98 if(it !=
cs.end())
return it->second;
101 cs.insert(std::make_pair(tag, M));
109 auto it =
gs.find(data);
110 if(it !=
gs.end())
return it->second;
113 gs.insert(std::make_pair(data, G));
132 auto it =
bs.find(data);
133 if(it !=
bs.end())
return it->second;
136 bs.insert(std::make_pair(data, B));
152 auto itF =
fs.begin();
153 while(itF !=
fs.end()) {
159 auto itJ =
js.begin();
160 while(itJ !=
js.end()) {
166 auto itC =
cs.begin();
167 while(itC !=
cs.end()) {
173 auto itG =
gs.begin();
174 while(itG !=
gs.end()) {
180 auto itB =
bs.begin();
181 while(itB !=
bs.end()) {