52 const Teuchos::RCP<GlobalEvaluationData> & ged)
68 std::unordered_map<std::string,Teuchos::RCP<GlobalEvaluationData> >
::const_iterator itr;
76 ss <<
"Valid keys = ";
78 ss <<
"\"" << litr->first <<
"\" ";
80 TEUCHOS_TEST_FOR_EXCEPTION(
true,std::logic_error,
81 "In GlobalEvaluationDataContainer::getDataObject(key) failed to find the data object specified by \""+key+
"\"\n " + ss.str());
106 itr->second->ghostToGlobal(p);
113 itr->second->globalToGhost(p);
120 itr->second->initializeData();
const_iterator begin() const
void addDataObject(const std::string &key, const Teuchos::RCP< GlobalEvaluationData > &ged)
virtual ~GlobalEvaluationData()=0
bool containsDataObject(const std::string &key) const
std::unordered_map< std::string, Teuchos::RCP< GlobalEvaluationData > >::iterator iterator
std::unordered_map< std::string, Teuchos::RCP< GlobalEvaluationData > > lookupTable_
void initialize()
Call initialize on all containers.
void globalToGhost(int p)
Call global to ghost on all the containers.
Teuchos::RCP< GlobalEvaluationData > getDataObject(const std::string &key) const
std::unordered_map< std::string, Teuchos::RCP< GlobalEvaluationData > >::const_iterator const_iterator
void ghostToGlobal(int p)
Call ghost to global on all the containers.
const_iterator end() const