v0.14.0 |
#include <cblas.h>
#include <petscsys.h>
#include <phg-quadrule/quad.h>
#include <definitions.h>
#include <base_functions.h>
Go to the source code of this file.
Functions | |
PetscErrorCode | Legendre_polynomials (int p, double s, double *diff_s, double *L, double *diffL, const int dim) |
Calculate Legendre approximation basis. More... | |
PetscErrorCode | Jacobi_polynomials (int p, double alpha, double x, double t, double *diff_x, double *diff_t, double *L, double *diffL, const int dim) |
Calculate Jacobi approximation basis. More... | |
PetscErrorCode | IntegratedJacobi_polynomials (int p, double alpha, double x, double t, double *diff_x, double *diff_t, double *L, double *diffL, const int dim) |
Calculate integrated Jacobi approximation basis. More... | |
PetscErrorCode | Lobatto_polynomials (int p, double s, double *diff_s, double *L, double *diffL, const int dim) |
Calculate Lobatto base functions [28]. More... | |
static double | f_phi0 (double x) |
static double | f_phi1 (double x) |
static double | f_phi2 (double x) |
static double | f_phi3 (double x) |
static double | f_phi4 (double x) |
static double | f_phi5 (double x) |
static double | f_phi6 (double x) |
static double | f_phi7 (double x) |
static double | f_phi8 (double x) |
static double | f_phi9 (double x) |
static double | f_phi0x (double x) |
static double | f_phi1x (double x) |
static double | f_phi2x (double x) |
static double | f_phi3x (double x) |
static double | f_phi4x (double x) |
static double | f_phi5x (double x) |
static double | f_phi6x (double x) |
static double | f_phi7x (double x) |
static double | f_phi8x (double x) |
static double | f_phi9x (double x) |
PetscErrorCode | LobattoKernel_polynomials (int p, double s, double *diff_s, double *L, double *diffL, const int dim) |
Calculate Kernel Lobatto base functions. More... | |
Variables | |
static PetscErrorCode | ierr |
static double(* | f_phi [])(double x) |
static double(* | f_phix [])(double x) |
Definition at line 233 of file base_functions.c.
Definition at line 247 of file base_functions.c.
Definition at line 234 of file base_functions.c.
Definition at line 248 of file base_functions.c.
Definition at line 235 of file base_functions.c.
Definition at line 249 of file base_functions.c.
Definition at line 236 of file base_functions.c.
Definition at line 250 of file base_functions.c.
Definition at line 237 of file base_functions.c.
Definition at line 251 of file base_functions.c.
Definition at line 238 of file base_functions.c.
Definition at line 252 of file base_functions.c.
Definition at line 239 of file base_functions.c.
Definition at line 253 of file base_functions.c.
Definition at line 240 of file base_functions.c.
Definition at line 254 of file base_functions.c.
Definition at line 241 of file base_functions.c.
Definition at line 255 of file base_functions.c.
Definition at line 242 of file base_functions.c.
Definition at line 256 of file base_functions.c.
PetscErrorCode IntegratedJacobi_polynomials | ( | int | p, |
double | alpha, | ||
double | x, | ||
double | t, | ||
double * | diff_x, | ||
double * | diff_t, | ||
double * | L, | ||
double * | diffL, | ||
const int | dim | ||
) |
Calculate integrated Jacobi approximation basis.
For more details see [29]
p | is approximation order |
alpha | polynomial parameter |
x | is position \(s\in[0,t]\) |
t | range of polynomial |
diff_x | derivatives of shape functions, i.e. \(\frac{\partial x}{\partial \xi_i}\) |
diff_t | derivatives of shape functions, i.e. \(\frac{\partial t}{\partial \xi_i}\) |
L | approximation functions |
diffL | derivatives, i.e. \(\frac{\partial L}{\partial \xi_i}\) |
dim | dimension |
Definition at line 134 of file base_functions.c.
PetscErrorCode Jacobi_polynomials | ( | int | p, |
double | alpha, | ||
double | x, | ||
double | t, | ||
double * | diff_x, | ||
double * | diff_t, | ||
double * | L, | ||
double * | diffL, | ||
const int | dim | ||
) |
Calculate Jacobi approximation basis.
For more details see [29]
p | is approximation order |
alpha | polynomial parameter |
x | is position \(s\in[0,t]\) |
t | range of polynomial |
diff_x | derivatives of shape functions, i.e. \(\frac{\partial x}{\partial \xi_i}\) |
diff_t | derivatives of shape functions, i.e. \(\frac{\partial t}{\partial \xi_i}\) |
L | approximation functions |
diffL | derivatives, i.e. \(\frac{\partial L}{\partial \xi_i}\) |
dim | dimension |
Definition at line 67 of file base_functions.c.
|
static |
Definition at line 13 of file base_functions.c.