Compadre  1.5.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Protected Attributes | List of all members
Compadre::Quadrature Class Reference

Quadrature. More...

Detailed Description

Quadrature.

This class sets and manages quadrature orders, rules, etc...

Definition at line 25 of file Compadre_Quadrature.hpp.

#include <Compadre_Quadrature.hpp>

Public Member Functions

Instantiation / Destruction
 Quadrature ()
 
 Quadrature (const int order, const int dimension=0, std::string quadrature_type="LINE")
 
Accessors

Retrieve member variables through public member functions

KOKKOS_INLINE_FUNCTION bool validQuadrature () const
 
KOKKOS_INLINE_FUNCTION int getNumberOfQuadraturePoints () const
 
KOKKOS_INLINE_FUNCTION int getOrderOfQuadraturePoints () const
 
KOKKOS_INLINE_FUNCTION int getDimensionOfQuadraturePoints () const
 
KOKKOS_INLINE_FUNCTION
QuadratureType 
getQuadratureType () const
 
decltype(_quadrature_weightsgetWeights () const
 
decltype(_parameterized_quadrature_sitesgetSites () const
 
KOKKOS_INLINE_FUNCTION double getWeight (const int index) const
 
KOKKOS_INLINE_FUNCTION double getSite (const int index, const int component) const
 

Static Public Member Functions

Public Utility
static QuadratureType parseQuadratureType (std::string quadrature_type)
 

Protected Member Functions

Private Modifiers

Private function because information lives on the device

void generateQuadrature (const int order, const int dimension)
 Generates quadrature. More...
 

Protected Attributes

bool _is_initialized
 
int _number_of_quadrature_points
 
int _order_of_quadrature_points
 
int _dimension_of_quadrature_points
 
Kokkos::View< double
*, layout_right
_quadrature_weights
 
Kokkos::View< double
**, layout_right
_parameterized_quadrature_sites
 
QuadratureType _qt
 

Constructor & Destructor Documentation

Compadre::Quadrature::Quadrature ( )
inline

Definition at line 3202 of file Compadre_Quadrature.hpp.

Compadre::Quadrature::Quadrature ( const int  order,
const int  dimension = 0,
std::string  quadrature_type = "LINE" 
)
inline

Definition at line 3210 of file Compadre_Quadrature.hpp.

Member Function Documentation

void Compadre::Quadrature::generateQuadrature ( const int  order,
const int  dimension 
)
inlineprotected

Generates quadrature.

Definition at line 42 of file Compadre_Quadrature.hpp.

KOKKOS_INLINE_FUNCTION int Compadre::Quadrature::getDimensionOfQuadraturePoints ( ) const
inline

Definition at line 3267 of file Compadre_Quadrature.hpp.

KOKKOS_INLINE_FUNCTION int Compadre::Quadrature::getNumberOfQuadraturePoints ( ) const
inline

Definition at line 3257 of file Compadre_Quadrature.hpp.

KOKKOS_INLINE_FUNCTION int Compadre::Quadrature::getOrderOfQuadraturePoints ( ) const
inline

Definition at line 3262 of file Compadre_Quadrature.hpp.

KOKKOS_INLINE_FUNCTION QuadratureType Compadre::Quadrature::getQuadratureType ( ) const
inline

Definition at line 3272 of file Compadre_Quadrature.hpp.

KOKKOS_INLINE_FUNCTION double Compadre::Quadrature::getSite ( const int  index,
const int  component 
) const
inline

Definition at line 3290 of file Compadre_Quadrature.hpp.

decltype(_parameterized_quadrature_sites) Compadre::Quadrature::getSites ( ) const
inline

Definition at line 3280 of file Compadre_Quadrature.hpp.

KOKKOS_INLINE_FUNCTION double Compadre::Quadrature::getWeight ( const int  index) const
inline

Definition at line 3285 of file Compadre_Quadrature.hpp.

decltype(_quadrature_weights) Compadre::Quadrature::getWeights ( ) const
inline

Definition at line 3276 of file Compadre_Quadrature.hpp.

static QuadratureType Compadre::Quadrature::parseQuadratureType ( std::string  quadrature_type)
inlinestatic

Definition at line 3231 of file Compadre_Quadrature.hpp.

KOKKOS_INLINE_FUNCTION bool Compadre::Quadrature::validQuadrature ( ) const
inline

Definition at line 3252 of file Compadre_Quadrature.hpp.

Member Data Documentation

int Compadre::Quadrature::_dimension_of_quadrature_points
protected

Definition at line 31 of file Compadre_Quadrature.hpp.

bool Compadre::Quadrature::_is_initialized
protected

Definition at line 28 of file Compadre_Quadrature.hpp.

int Compadre::Quadrature::_number_of_quadrature_points
protected

Definition at line 29 of file Compadre_Quadrature.hpp.

int Compadre::Quadrature::_order_of_quadrature_points
protected

Definition at line 30 of file Compadre_Quadrature.hpp.

Kokkos::View<double**, layout_right> Compadre::Quadrature::_parameterized_quadrature_sites
protected

Definition at line 33 of file Compadre_Quadrature.hpp.

QuadratureType Compadre::Quadrature::_qt
protected

Definition at line 34 of file Compadre_Quadrature.hpp.

Kokkos::View<double*, layout_right> Compadre::Quadrature::_quadrature_weights
protected

Definition at line 32 of file Compadre_Quadrature.hpp.


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