43 #ifndef PANZER_BCSTRATEGY_DIRCHLET_UTILITIES_HPP
44 #define PANZER_BCSTRATEGY_DIRCHLET_UTILITIES_HPP
46 #include "Phalanx_FieldManager.hpp"
77 template<
typename EvalT>
82 const std::string comma_sep_closure_model_list,
87 std::vector<std::string> closure_model_vector;
91 std::list<std::string> closure_model_list;
92 for (std::vector<std::string>::iterator i=closure_model_vector.begin(); i != closure_model_vector.end(); ++i)
93 closure_model_list.push_back(*i);
99 std::list<std::string>::iterator search =
100 std::find(closure_model_list.begin(), closure_model_list.end(), model->first);
102 if (search != closure_model_list.end()) {
103 closure_model_list.erase(search);
104 models_to_build.
sublist(model->first) = models.
sublist(model->first);
107 models_to_build.
sublist(model->first);
111 "Error - the list of closure models \"" << comma_sep_closure_model_list <<
"\" contains an invalid model.");