#include <assert.h>#include <math.h>#include "bft_mem.h"#include "cs_log.h"#include "cs_quadrature.h"#include "cs_scheme_geometry.h"#include "cs_basis_func.h" Include dependency graph for cs_basis_func.c:
 Include dependency graph for cs_basis_func.c:| Functions | |
| cs_basis_func_t * | cs_basis_func_create (cs_flag_t flag, short int k, short int dim) | 
| Allocate a cs_basis_func_t structure.  More... | |
| cs_basis_func_t * | cs_basis_func_grad_create (const cs_basis_func_t *ref) | 
| Allocate a cs_basis_func_t structure which is associated to an existing set of basis functions. Up to now, only cell basis functions are handled. Building a projection matrix is not possible in this case.  More... | |
| void | cs_basis_func_copy_setup (const cs_basis_func_t *ref, cs_basis_func_t *rcv) | 
| Copy the center and the different axis from the reference basis Up to now, only cell basis functions are handled.  More... | |
| cs_basis_func_t * | cs_basis_func_free (cs_basis_func_t *pbf) | 
| Free a cs_basis_func_t structure.  More... | |
| void | cs_basis_func_set_hho_flag (cs_flag_t face_flag, cs_flag_t cell_flag) | 
| Set options for basis functions when using HHO schemes.  More... | |
| void | cs_basis_func_get_hho_flag (cs_flag_t *face_flag, cs_flag_t *cell_flag) | 
| Get options for basis functions when using HHO schemes.  More... | |
| void | cs_basis_func_dump (const cs_basis_func_t *pbf) | 
| Dump a cs_basis_func_t structure.  More... | |
| void | cs_basis_func_fprintf (FILE *fp, const char *fname, const cs_basis_func_t *pbf) | 
| Print a cs_basis_func_t structure Print into the file f if given otherwise open a new file named fname if given otherwise print into the standard output.  More... | |
| void cs_basis_func_copy_setup | ( | const cs_basis_func_t * | ref, | 
| cs_basis_func_t * | rcv | ||
| ) | 
Copy the center and the different axis from the reference basis Up to now, only cell basis functions are handled.
| [in] | ref | set of basis function used as a reference | 
| [in,out] | rcv | set of basis function where members are set | 
| cs_basis_func_t* cs_basis_func_create | ( | cs_flag_t | flag, | 
| short int | k, | ||
| short int | dim | ||
| ) | 
Allocate a cs_basis_func_t structure.
| [in] | flag | metadata related to the way of building basis functions | 
| [in] | k | polynomial order | 
| [in] | dim | 2 or 3 w.r.t. the geometrical dimension | 
| void cs_basis_func_dump | ( | const cs_basis_func_t * | pbf | ) | 
Dump a cs_basis_func_t structure.
| [in] | pbf | pointer to the cs_basis_func_t structure to dump | 
| void cs_basis_func_fprintf | ( | FILE * | fp, | 
| const char * | fname, | ||
| const cs_basis_func_t * | pbf | ||
| ) | 
Print a cs_basis_func_t structure Print into the file f if given otherwise open a new file named fname if given otherwise print into the standard output.
| [in] | fp | pointer to a file structure or NULL | 
| [in] | fname | filename or NULL | 
| [in] | pbf | pointer to the cs_basis_func_t structure to dump | 
| cs_basis_func_t* cs_basis_func_free | ( | cs_basis_func_t * | pbf | ) | 
Free a cs_basis_func_t structure.
| [in,out] | pbf | pointer to the cs_basis_func_t structure to free | 
Get options for basis functions when using HHO schemes.
| [out] | face_flag | pointer to options related to face basis functinos | 
| [out] | cell_flag | pointer to options related to cell basis functinos | 
| cs_basis_func_t* cs_basis_func_grad_create | ( | const cs_basis_func_t * | ref | ) | 
Allocate a cs_basis_func_t structure which is associated to an existing set of basis functions. Up to now, only cell basis functions are handled. Building a projection matrix is not possible in this case.
| [in] | ref | set of basis function used as a reference |