Teuchos - Trilinos Tools Package
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
comm
src
Teuchos_XMLParameterListHelpers.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Teuchos: Common Tools Package
4
//
5
// Copyright 2004 NTESS and the Teuchos contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef TEUCHOS_XML_PARAMETER_LIST_HELPERS_HPP
11
#define TEUCHOS_XML_PARAMETER_LIST_HELPERS_HPP
12
13
17
18
19
#include "
Teuchos_XMLParameterListCoreHelpers.hpp
"
20
#include "Teuchos_Comm.hpp"
21
22
23
namespace
Teuchos
{
24
25
46
TEUCHOSCOMM_LIB_DLL_EXPORT
47
void
updateParametersFromXmlFileAndBroadcast
(
48
const
std::string &xmlFileName,
49
const
Ptr<ParameterList>
¶mList,
50
const
Comm<int>
&comm,
51
bool
overwrite =
true
52
);
53
54
55
}
// namespace Teuchos
56
57
58
#endif
// TEUCHOS_XML_PARAMETER_LIST_HELPERS_HPP
Teuchos_XMLParameterListCoreHelpers.hpp
Simple helper functions that make it easy to read and write XML to and from a parameterlist.
Teuchos::Comm
Abstract interface for distributed-memory communication.
Definition
Teuchos_Comm.hpp:282
Teuchos::ParameterList::updateParametersFromXmlFileAndBroadcast
TEUCHOSCOMM_LIB_DLL_EXPORT void updateParametersFromXmlFileAndBroadcast(const std::string &xmlFileName, const Ptr< ParameterList > ¶mList, const Comm< int > &comm, bool overwrite=true)
On processor rank = 0, reads XML parameters from a file and broadcasts them to all other processors....
Teuchos::Ptr
Simple wrapper class for raw pointers to single objects where no persisting relationship exists.
Definition
Teuchos_PtrDecl.hpp:71
Teuchos
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
Generated by
1.17.0