43PetscReal
Peskin_2002(
const PetscReal &r,
const PetscReal &dr);
46typedef std::function<PetscReal(
const PetscReal &r,
55PetscErrorCode
getKernel(
const std::string &name,
68PetscReal
delta(
const std::vector<PetscReal> &source,
69 const std::vector<PetscReal> &target,
70 const std::vector<PetscReal> &widths,
PetscReal delta(const std::vector< PetscReal > &source, const std::vector< PetscReal > &target, const std::vector< PetscReal > &widths, const DeltaKernel &kernel)
Discrete delta function.
PetscReal Roma_et_al_1999(const PetscReal &r, const PetscReal &dr)
Regularized delta function from Roma et al. (1999).
PetscReal Peskin_2002(const PetscReal &r, const PetscReal &dr)
Regularized delta function from Peskin (2002).
PetscErrorCode getKernel(const std::string &name, DeltaKernel &kernel, PetscInt &size)
Get the delta kernel and size providing the name.
std::function< PetscReal(const PetscReal &r, const PetscReal &dr)> DeltaKernel
Typedef to choose the regularized delta kernel to use.
A toolbox for building flow solvers.