Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_EdgeFieldPattern.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_EdgeFieldPattern_hpp__
12 #define __Panzer_EdgeFieldPattern_hpp__
13 
14 #include "PanzerDofMgr_config.hpp"
15 
16 #include <ostream>
17 #include <vector>
18 
19 #include "Panzer_FieldPattern.hpp"
20 
21 #include "Shards_CellTopology.hpp"
22 
23 namespace panzer {
24 
29 public:
30 
32 
33  EdgeFieldPattern(const shards::CellTopology & ct);
34 
36  virtual ~EdgeFieldPattern() {}
37 
39  void setCellTopology(const shards::CellTopology & ct);
40 
50  virtual int getSubcellCount(int dim) const;
51 
63  virtual const std::vector<int> & getSubcellIndices(int dim,int cellIndex) const;
64 
75  virtual void getSubcellClosureIndices(int dim,int cellIndex,std::vector<int> & indices) const;
76 
81  virtual int getDimension() const;
82 
85  virtual shards::CellTopology getCellTopology() const
86  { return cellTopo_; }
87 
88 public:
89  shards::CellTopology cellTopo_;
90  std::vector<std::vector<int> > edgeIndices_;
91  std::vector<int> empty_;
92 };
93 
94 }
95 
96 #endif
virtual void getSubcellClosureIndices(int dim, int cellIndex, std::vector< int > &indices) const
virtual ~EdgeFieldPattern()
Do nothing destructor.
virtual const std::vector< int > & getSubcellIndices(int dim, int cellIndex) const
virtual shards::CellTopology getCellTopology() const
std::vector< std::vector< int > > edgeIndices_
void setCellTopology(const shards::CellTopology &ct)
Set the cell topology for this field pattern.
virtual int getSubcellCount(int dim) const