Basilisk CFD
Adaptive Cartesian mesh PDE framework
Loading...
Searching...
No Matches
parabola.h File Reference
#include "utils.h"
Include dependency graph for parabola.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ParabolaFit
 

Macros

#define PARABOLA_FIT_CENTER_WEIGHT   .1
 

Functions

static void parabola_fit_init (ParabolaFit *p, coord o, coord m)
 
static void parabola_fit_add (ParabolaFit *p, coord m, double w)
 
static double parabola_fit_solve (ParabolaFit *p)
 
static double parabola_fit_curvature (ParabolaFit *p, double kappamax, double *kmax)
 

Macro Definition Documentation

◆ PARABOLA_FIT_CENTER_WEIGHT

#define PARABOLA_FIT_CENTER_WEIGHT   .1

Definition at line 5 of file parabola.h.

Function Documentation

◆ parabola_fit_add()

static void parabola_fit_add ( ParabolaFit p,
coord  m,
double  w 
)
static

Definition at line 74 of file parabola.h.

References i, j, k, l, m(), p, pow(), w, vector::x, x, y, y1, and z.

Referenced by centroids_curvature_fit(), and height_curvature_fit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parabola_fit_curvature()

static double parabola_fit_curvature ( ParabolaFit p,
double  kappamax,
double kmax 
)
static

Definition at line 162 of file parabola.h.

References a, hx, hxx, kappa, p, pow(), sq(), and x.

Referenced by centroids_curvature_fit(), and height_curvature_fit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parabola_fit_init()

static void parabola_fit_init ( ParabolaFit p,
coord  o,
coord  m 
)
static

Definition at line 25 of file parabola.h.

References d, dimension, i, j, m(), max, n, normalize(), o, ParabolaFit::o, p, sq(), x, and coord::x.

Referenced by centroids_curvature_fit(), and height_curvature_fit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parabola_fit_solve()

static double parabola_fit_solve ( ParabolaFit p)
static

Definition at line 114 of file parabola.h.

References i, j, p, smatrix_inverse(), and x.

Referenced by centroids_curvature_fit(), and height_curvature_fit().

Here is the call graph for this function:
Here is the caller graph for this function: