1#ifndef IO_ParameterList_decl_hpp
2#define IO_ParameterList_decl_hpp
30 using ParameterList_Type = Teuchos::ParameterList;
31 using ParameterListPtr_Type = Teuchos::RCP<ParameterList_Type>;
42 const std::string &fileName,
43 const std::string &fileType =
"yaml") :
48 parameterList_ = parseParameterListFiles(
parameterList_,
"ParameterLists File Names",
"ParameterLists File Paths",
"ParameterLists File Types");
57 ParameterListPtr_Type ¶meterList) :
61 parameterList_ = parseParameterListFiles(
parameterList_,
"ParameterLists File Names",
"ParameterLists File Paths",
"ParameterLists File Types");
67 std::ostream&
print(std::ostream &os,
int indent=0,
bool showTypes=
false,
bool showFlags=
true,
bool showDefault=
true)
69 os <<
name_ << std::endl;
70 for (
size_t i = 0; i <
name_.length(); i++)
75 return parameterList_->print(os,indent,showTypes,showFlags,showDefault);
std::ostream & print(std::ostream &os, int indent=0, bool showTypes=false, bool showFlags=true, bool showDefault=true)
Print parameter list.
Definition IO_ParameterList_decl.hpp:67
ParameterList(const std::string &name, ParameterListPtr_Type ¶meterList)
Construct FEDD::IO::ParameterList from Teuchos::ParameterList.
Definition IO_ParameterList_decl.hpp:56
ParameterListPtr_Type operator()()
Access to the underlying Teuchos::ParamterList.
Definition IO_ParameterList_decl.hpp:81
ParameterList(const std::string &name, const std::string &fileName, const std::string &fileType="yaml")
Read FEDD::IO::ParameterList from yaml or xml input file.
Definition IO_ParameterList_decl.hpp:41
ParameterListPtr_Type parameterList_
Teuchos::RCP of the underlying Teuchos::ParameterList.
Definition IO_ParameterList_decl.hpp:90
const std::string name_
Name of the parameter list.
Definition IO_ParameterList_decl.hpp:88
Adaptive Mesh Refinement.
Definition AdaptiveMeshRefinement.cpp:5