Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_GlobalDataAcceptor_DefaultImpl.hpp
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
11#ifndef PANZER_GLOBAL_DATA_ACCEPTOR_DEFAULT_IMPL_HPP
12#define PANZER_GLOBAL_DATA_ACCEPTOR_DEFAULT_IMPL_HPP
13
14#include "Teuchos_RCP.hpp"
16
17namespace panzer {
18
21
22 public:
23
25
26 GlobalDataAcceptorDefaultImpl(const Teuchos::RCP<panzer::GlobalData>& gd);
27
29
30 void setGlobalData(const Teuchos::RCP<panzer::GlobalData>& gd);
31
32 Teuchos::RCP<panzer::GlobalData> getGlobalData() const;
33
34 private:
35
36 Teuchos::RCP<panzer::GlobalData> m_gd;
37
38 };
39
40}
41
42#endif
Default implementation for accessing the GlobalData object.
void setGlobalData(const Teuchos::RCP< panzer::GlobalData > &gd)
Teuchos::RCP< panzer::GlobalData > getGlobalData() const
Interface for accessing the GlobalData object.