Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_ElementBlockIdToPhysicsIdMap.cpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Panzer: A partial differential equation assembly
4// engine for strongly coupled complex multiphysics systems
5//
6// Copyright 2011 NTESS and the Panzer contributors.
7// SPDX-License-Identifier: BSD-3-Clause
8// *****************************************************************************
9// @HEADER
10
12#include "Teuchos_ParameterList.hpp"
13
14namespace panzer {
15
16 void buildBlockIdToPhysicsIdMap(std::map<std::string,std::string>& b_to_p,
17 const Teuchos::ParameterList& p)
18 {
19 for (Teuchos::ParameterList::ConstIterator entry = p.begin();
20 entry != p.end(); ++entry) {
21 std::string dummy_type;
22 b_to_p[entry->first] = entry->second.getValue(&dummy_type);
23 }
24 }
25
26}
void buildBlockIdToPhysicsIdMap(std::map< std::string, std::string > &b_to_p, const Teuchos::ParameterList &p)