Compadre  1.5.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
Compadre_BernsteinPolynomial.hpp File Reference
#include "Compadre_GMLS.hpp"
#include "Compadre_ScalarTaylorPolynomial.hpp"

Go to the source code of this file.

Namespaces

 Compadre
 
 Compadre::BernsteinPolynomialBasis
 Definition of scalar Bernstein polynomial basis.
 

Functions

KOKKOS_INLINE_FUNCTION int Compadre::BernsteinPolynomialBasis::getSize (const int degree, const int dimension)
 Returns size of basis. More...
 
KOKKOS_INLINE_FUNCTION void Compadre::BernsteinPolynomialBasis::evaluate (const member_type &teamMember, double *delta, double *workspace, const int dimension, const int max_degree, const int component, const double h, const double x, const double y, const double z, const int starting_order=0, const double weight_of_original_value=0.0, const double weight_of_new_value=1.0)
 Evaluates the Bernstein polynomial basis delta[j] = weight_of_original_value * delta[j] + weight_of_new_value * (calculation of this function) More...
 
KOKKOS_INLINE_FUNCTION void Compadre::BernsteinPolynomialBasis::evaluatePartialDerivative (const member_type &teamMember, double *delta, double *workspace, const int dimension, const int max_degree, const int component, const int partial_direction, const double h, const double x, const double y, const double z, const int starting_order=0, const double weight_of_original_value=0.0, const double weight_of_new_value=1.0)
 Evaluates the first partial derivatives of the Bernstein polynomial basis delta[j] = weight_of_original_value * delta[j] + weight_of_new_value * (calculation of this function) More...
 
KOKKOS_INLINE_FUNCTION void Compadre::BernsteinPolynomialBasis::evaluateSecondPartialDerivative (const member_type &teamMember, double *delta, double *workspace, const int dimension, const int max_degree, const int component, const int partial_direction_1, const int partial_direction_2, const double h, const double x, const double y, const double z, const int starting_order=0, const double weight_of_original_value=0.0, const double weight_of_new_value=1.0)
 Evaluates the second partial derivatives of the Bernstein polynomial basis delta[j] = weight_of_original_value * delta[j] + weight_of_new_value * (calculation of this function) More...