![]() |
v0.15.0 |
#include <petscsys.h>#include <cblas.h>#include <definitions.h>#include <fem_tools.h>#include <base_functions.h>#include <h1_hdiv_hcurl_l2.h>Go to the source code of this file.
Functions | |
| PetscErrorCode | L2_Ainsworth_ShapeFunctions_MBTRI (int p, double *N, double *diffN, double *L2N, double *diff_L2N, int GDIM, PetscErrorCode(*base_polynomials)(int p, double s, double *diff_s, double *L, double *diffL, const int dim)) |
| Get base functions on triangle for L2 space. | |
| PetscErrorCode | L2_Ainsworth_ShapeFunctions_MBTET (int p, double *N, double *diffN, double *L2N, double *diff_L2N, int GDIM, PetscErrorCode(*base_polynomials)(int p, double s, double *diff_s, double *L, double *diffL, const int dim)) |
| Get base functions on tetrahedron for L2 space. | |
Variables | |
| static PetscErrorCode | ierr |
Based on Hierarchic Finite Element Bases on Unstructured Tetrahedral Meshes, by Mark Ainsworth and Joe Coyle Shape functions for MBTRI and H1 approximation
Definition in file l2.c.
| PetscErrorCode L2_Ainsworth_ShapeFunctions_MBTET | ( | int | p, |
| double * | N, | ||
| double * | diffN, | ||
| double * | L2N, | ||
| double * | diff_L2N, | ||
| int | GDIM, | ||
| PetscErrorCode(*)(int p, double s, double *diff_s, double *L, double *diffL, const int dim) | base_polynomials | ||
| ) |
Get base functions on tetrahedron for L2 space.
| p | polynomial order |
| N | barycentric coordinates (shape functions) at integration points |
| diffN | derivatives of barycentric coordinates, i.e. derivatives of shape functions |
| L2N | values of L2 base at integration points |
| diff_L2N | dirvatives of base functions at integration points |
| GDIM | number of integration points |
| base_polynomials | polynomial base used to construct L2 base on element |
Definition at line 74 of file l2.c.
| PetscErrorCode L2_Ainsworth_ShapeFunctions_MBTRI | ( | int | p, |
| double * | N, | ||
| double * | diffN, | ||
| double * | L2N, | ||
| double * | diff_L2N, | ||
| int | GDIM, | ||
| PetscErrorCode(*)(int p, double s, double *diff_s, double *L, double *diffL, const int dim) | base_polynomials | ||
| ) |
Get base functions on triangle for L2 space.
| p | polynomial order |
| N | barycentric coordinates (shape functions) at integration points |
| diffN | derivatives of barycentric coordinates, i.e. derivatives of shape functions |
| L2N | values of L2 base at integration points |
| diff_L2N | dirvatives of base functions at integration points |
| GDIM | number of integration points |
| base_polynomials | polynomial base used to construct L2 base on element |
Definition at line 19 of file l2.c.