quadgrid 0.1
simple cartesian quad grid with particles for c++/octave
low_level_functions.cc File Reference
#include <octave/oct.h>
#include "low_level_functions.h"
#include <iostream>

Functions

octave_idx_type findspan (int n, int p, double u, const RowVector &U)
 
void basisfun (int i, double u, int p, const RowVector &U, RowVector &N)
 
void basisfunder (int i, int pl, double u, const RowVector &u_knotl, int nders, NDArray &ders)
 
int curvederivcpts (octave_idx_type n, octave_idx_type p, const RowVector &U, const NDArray &P, octave_idx_type d, octave_idx_type r1, octave_idx_type r2, Matrix &pk)
 
int surfderivcpts (octave_idx_type n, octave_idx_type p, const RowVector &U, octave_idx_type m, octave_idx_type q, const RowVector &V, const Matrix &P, octave_idx_type d, octave_idx_type r1, octave_idx_type r2, octave_idx_type s1, octave_idx_type s2, NDArray &pkl)
 
int surfderiveval (octave_idx_type n, octave_idx_type p, const RowVector &U, octave_idx_type m, octave_idx_type q, const RowVector &V, const Matrix &P, double u, double v, octave_idx_type d, Matrix &skl)
 

Function Documentation

◆ basisfun()

void basisfun ( int  i,
double  u,
int  p,
const RowVector &  U,
RowVector &  N 
)

◆ basisfunder()

void basisfunder ( int  i,
int  pl,
double  u,
const RowVector &  u_knotl,
int  nders,
NDArray &  ders 
)

◆ curvederivcpts()

int curvederivcpts ( octave_idx_type  n,
octave_idx_type  p,
const RowVector &  U,
const NDArray &  P,
octave_idx_type  d,
octave_idx_type  r1,
octave_idx_type  r2,
Matrix &  pk 
)

◆ findspan()

octave_idx_type findspan ( int  n,
int  p,
double  u,
const RowVector &  U 
)

◆ surfderivcpts()

int surfderivcpts ( octave_idx_type  n,
octave_idx_type  p,
const RowVector &  U,
octave_idx_type  m,
octave_idx_type  q,
const RowVector &  V,
const Matrix &  P,
octave_idx_type  d,
octave_idx_type  r1,
octave_idx_type  r2,
octave_idx_type  s1,
octave_idx_type  s2,
NDArray &  pkl 
)

◆ surfderiveval()

int surfderiveval ( octave_idx_type  n,
octave_idx_type  p,
const RowVector &  U,
octave_idx_type  m,
octave_idx_type  q,
const RowVector &  V,
const Matrix &  P,
double  u,
double  v,
octave_idx_type  d,
Matrix &  skl 
)