Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_PointGenerator.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_PointGenerator_hpp__
12 #define __Panzer_PointGenerator_hpp__
13 
14 #include "Kokkos_DynRankView.hpp"
15 
16 namespace panzer {
17 
23 public:
25  virtual Kokkos::DynRankView<double> getPoints(const shards::CellTopology & topo) const = 0;
26 
28  virtual int numPoints(const shards::CellTopology & topo) const = 0;
29 
31  virtual bool hasPoints(const shards::CellTopology & topo) const = 0;
32 };
33 
34 }
35 
36 #endif
virtual Kokkos::DynRankView< double > getPoints(const shards::CellTopology &topo) const =0
Get the points for a particular topology.
virtual int numPoints(const shards::CellTopology &topo) const =0
Get the points for a particular topology.
virtual bool hasPoints(const shards::CellTopology &topo) const =0
Check if the generator can generate points for the given topology.