Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_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_GlobalEvaluationData_hpp__
12 #define __Panzer_GlobalEvaluationData_hpp__
13 
14 #include <iostream>
15 
16 namespace panzer {
17 
26 public:
27  virtual ~GlobalEvaluationData() = 0;
28 
29  virtual void ghostToGlobal(int mem) = 0;
30  virtual void globalToGhost(int mem) = 0;
31 
32  virtual bool requiresDirichletAdjustment() const = 0;
33 
34  virtual void initializeData() = 0;
35 
37  virtual void print(std::ostream & os) const
38  { os << "GlobalEvaluationData: print not implemented for derived type"; }
39 };
40 
45 public:
49 
50  virtual void ghostToGlobal(int /* mem */) {}
51  virtual void globalToGhost(int /* mem */) {}
52  virtual void initializeData() {}
53 
56 
57 private:
59 };
60 
65 public:
80  virtual void adjustForDirichletConditions(const GlobalEvaluationData & localBCRows,
81  const GlobalEvaluationData & globalBCRows) = 0;
82 
83 };
84 
85 }
86 
87 #endif
virtual void globalToGhost(int mem)=0
virtual void adjustForDirichletConditions(const GlobalEvaluationData &localBCRows, const GlobalEvaluationData &globalBCRows)=0
virtual void print(std::ostream &os) const
Diagnostic function for determinning what&#39;s in this object.
virtual bool requiresDirichletAdjustment() const =0
virtual void ghostToGlobal(int mem)=0
virtual void initializeData()=0
GlobalEvaluationData_Default(const GlobalEvaluationData_Default &s)