51 if(layout==Teuchos::null) {
55 "panzer::FieldLayoutLibrary::lookupBasis: cannot find field with name \"" + fieldName +
"\"!\n"+ss.str());
66 std::map<std::string,Teuchos::RCP<const panzer::PureBasis> >::const_iterator itr;
68 bases.push_back(itr->second);
80 typedef std::map<std::string,Teuchos::RCP<panzer::BasisIRLayout> > Map;
90 typedef std::map<std::string,Teuchos::RCP<panzer::BasisIRLayout> > Map;
93 std::string fieldName = itr->first;
96 os <<
"\"" << fieldName <<
"\"" <<
" {" << basis->name()
97 <<
"(dim=" << basis->dimension()
98 <<
",cells=" << basis->numCells()
99 <<
",points=" << basis->numPoints() <<
")} ";
105 typedef std::map<std::string,Teuchos::RCP<panzer::BasisIRLayout> > Map;
109 std::string fieldName = itr->first;
112 bases.push_back(std::make_pair(fieldName,basis));
120 typedef std::map<std::string,Teuchos::RCP<panzer::PureBasis> > Map;
125 return Teuchos::null;
133 std::map<std::string,Teuchos::RCP<const panzer::PureBasis> >::const_iterator itr;
135 bases.push_back(itr->second);
147 typedef std::map<std::string,Teuchos::RCP<panzer::PureBasis> > Map;
154 layoutLibrary->addFieldAndLayout(itr->first,layout);
157 return layoutLibrary;
162 typedef std::map<std::string,Teuchos::RCP<panzer::PureBasis> > Map;
165 std::string fieldName = itr->first;
168 os <<
"\"" << fieldName <<
"\"" <<
" {" << basis->name()
169 <<
"(dim=" << basis->dimension()
170 <<
",cells=" << basis->numCells() <<
") ";
177 typedef std::map<std::string,Teuchos::RCP<panzer::PureBasis> > Map;
181 std::string fieldName = itr->first;
184 bases.push_back(std::make_pair(fieldName,basis.
getConst()));