Compadre  1.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 17 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 3194 of file Compadre_Quadrature.hpp.

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

Definition at line 3202 of file Compadre_Quadrature.hpp.

Member Function Documentation

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

Generates quadrature.

Definition at line 34 of file Compadre_Quadrature.hpp.

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

Definition at line 3258 of file Compadre_Quadrature.hpp.

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

Definition at line 3248 of file Compadre_Quadrature.hpp.

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

Definition at line 3253 of file Compadre_Quadrature.hpp.

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

Definition at line 3263 of file Compadre_Quadrature.hpp.

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

Definition at line 3281 of file Compadre_Quadrature.hpp.

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

Definition at line 3271 of file Compadre_Quadrature.hpp.

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

Definition at line 3276 of file Compadre_Quadrature.hpp.

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

Definition at line 3267 of file Compadre_Quadrature.hpp.

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

Definition at line 3222 of file Compadre_Quadrature.hpp.

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

Definition at line 3243 of file Compadre_Quadrature.hpp.

Member Data Documentation

int Compadre::Quadrature::_dimension_of_quadrature_points
protected

Definition at line 23 of file Compadre_Quadrature.hpp.

bool Compadre::Quadrature::_is_initialized
protected

Definition at line 20 of file Compadre_Quadrature.hpp.

int Compadre::Quadrature::_number_of_quadrature_points
protected

Definition at line 21 of file Compadre_Quadrature.hpp.

int Compadre::Quadrature::_order_of_quadrature_points
protected

Definition at line 22 of file Compadre_Quadrature.hpp.

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

Definition at line 25 of file Compadre_Quadrature.hpp.

QuadratureType Compadre::Quadrature::_qt
protected

Definition at line 26 of file Compadre_Quadrature.hpp.

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

Definition at line 24 of file Compadre_Quadrature.hpp.


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