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

Go to the source code of this file.

Namespaces

 Compadre
 
 Compadre::ScalarTaylorPolynomialBasis
 Definition of scalar Taylor polynomial basis.
 

Functions

KOKKOS_INLINE_FUNCTION int Compadre::ScalarTaylorPolynomialBasis::getSize (const int degree, const int dimension)
 Returns size of basis. More...
 
KOKKOS_INLINE_FUNCTION void Compadre::ScalarTaylorPolynomialBasis::evaluate (const member_type &teamMember, double *delta, double *workspace, const int dimension, const int max_degree, 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 scalar Taylor polynomial basis delta[j] = weight_of_original_value * delta[j] + weight_of_new_value * (calculation of this function) More...
 
KOKKOS_INLINE_FUNCTION void Compadre::ScalarTaylorPolynomialBasis::evaluatePartialDerivative (const member_type &teamMember, double *delta, double *workspace, const int dimension, const int max_degree, 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 scalar Taylor polynomial basis delta[j] = weight_of_original_value * delta[j] + weight_of_new_value * (calculation of this function) More...
 
KOKKOS_INLINE_FUNCTION void Compadre::ScalarTaylorPolynomialBasis::evaluateSecondPartialDerivative (const member_type &teamMember, double *delta, double *workspace, const int dimension, const int max_degree, 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 scalar Taylor polynomial basis delta[j] = weight_of_original_value * delta[j] + weight_of_new_value * (calculation of this function) More...