Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_LOCPair_GlobalEvaluationData.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_LOCPair_GlobalEvaluationData_hpp__
12 #define __Panzer_LOCPair_GlobalEvaluationData_hpp__
13 
14 #include "PanzerDiscFE_config.hpp"
15 #include "Panzer_Traits.hpp"
17 
18 namespace panzer {
19 
24 public:
27  int initParam) : lof_(lof)
28  {
29  globalLOC_ = lof_->buildLinearObjContainer();
30  ghostedLOC_ = lof_->buildGhostedLinearObjContainer();
31 
32  lof_->initializeContainer(initParam,*globalLOC_);
33  lof_->initializeGhostedContainer(initParam,*ghostedLOC_);
34  }
35 
36  virtual void ghostToGlobal(int mem) { lof_->ghostToGlobalContainer(*ghostedLOC_,*globalLOC_,mem); }
37  virtual void globalToGhost(int mem) { lof_->globalToGhostContainer(*globalLOC_,*ghostedLOC_,mem); }
38 
39  virtual void initializeData() { ghostedLOC_->initialize(); }
40 
43 
44  virtual bool requiresDirichletAdjustment() const { return false; }
45 
46 private:
48 
50 };
51 
52 }
53 
54 #endif
Teuchos::RCP< LinearObjContainer > getGlobalLOC() const
Teuchos::RCP< LinearObjContainer > getGhostedLOC() const
Teuchos::RCP< const LinearObjFactory< panzer::Traits > > lof_
LOCPair_GlobalEvaluationData(Teuchos::RCP< const LinearObjFactory< panzer::Traits > > lof, int initParam)