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

Go to the source code of this file.

Namespaces

 Compadre
 
 Compadre::DivergenceFreePolynomialBasis
 Definition of the divergence-free polynomial basis.
 

Functions

KOKKOS_INLINE_FUNCTION int Compadre::DivergenceFreePolynomialBasis::getSize (const int degree, const int dimension)
 Returns size of basis. More...
 
KOKKOS_INLINE_FUNCTION void Compadre::DivergenceFreePolynomialBasis::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 divergence-free polynomial basis delta[j] = weight_of_original_value * delta[j] + weight_of_new_value * (calculation of this function) More...
 
KOKKOS_INLINE_FUNCTION void Compadre::DivergenceFreePolynomialBasis::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 divergence-free polynomial basis delta[j] = weight_of_original_value * delta[j] + weight_of_new_value * (calculation of this function) More...
 
KOKKOS_INLINE_FUNCTION void Compadre::DivergenceFreePolynomialBasis::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 divergence-free polynomial basis delta[j] = weight_of_original_value * delta[j] + weight_of_new_value * (calculation of this function) More...
 
KOKKOS_INLINE_FUNCTION XYZ Compadre::DivergenceFreePolynomialBasis::evaluate (int np, const double sx, const double sy, const double sz)
 Evaluates the hard-coded divergence-free polynomial basis up to order 4 for 3D. More...
 
KOKKOS_INLINE_FUNCTION XYZ Compadre::DivergenceFreePolynomialBasis::evaluate (int np, const double sx, const double sy)
 Evaluates the hard-coded divergence-free polynomial basis up to order 4 for 2D. More...
 
KOKKOS_INLINE_FUNCTION XYZ Compadre::DivergenceFreePolynomialBasis::evaluatePartialDerivative (int np, const int partial_direction, const double h, const double sx, const double sy, const double sz)
 Evaluates the hard-coded first partial derivative of the divergence-free polynomial basis up to order 4 for 3D. More...
 
KOKKOS_INLINE_FUNCTION XYZ Compadre::DivergenceFreePolynomialBasis::evaluatePartialDerivative (int np, const int partial_direction, const double h, const double sx, const double sy)
 Evaluates the hard-coded first partial derivative of the divergence-free polynomial basis up to order 4 for 2D. More...