Panzer Version of the Day
Loading...
Searching...
No Matches
panzer::PointGenerator Class Referenceabstract

#include <Panzer_PointGenerator.hpp>

Public Member Functions

virtual Kokkos::DynRankView< double, PHX::Device > 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.

Detailed Description

A class that uses run time polymorphism to generate the reference cell points. This is a utility for PointDescriptor.

Definition at line 23 of file Panzer_PointGenerator.hpp.

Member Function Documentation

◆ getPoints()

virtual Kokkos::DynRankView< double, PHX::Device > panzer::PointGenerator::getPoints ( const shards::CellTopology & topo) const
pure virtual

Get the points for a particular topology.

The view is on PHX::Device rather than on Kokkos' default device. Those are the same device in most configurations, but not when Phalanx_DEFAULT_EXECUTION_SPACE names a host space on a GPU build, and these points are handed to Intrepid2::Basis, whose view type is built from the device panzer asked for.

◆ numPoints()

virtual int panzer::PointGenerator::numPoints ( const shards::CellTopology & topo) const
pure virtual

Get the points for a particular topology.

◆ hasPoints()

virtual bool panzer::PointGenerator::hasPoints ( const shards::CellTopology & topo) const
pure virtual

Check if the generator can generate points for the given topology.


The documentation for this class was generated from the following file: