PetIBM 0.5.4
Toolbox and applications of the immersed-boundary method for distributed-memory architectures
delta.h File Reference

Prototype of Delta functions. More...

#include <functional>
#include <vector>
#include <petscsys.h>

Go to the source code of this file.

Namespaces

namespace  petibm
 A toolbox for building flow solvers.
 
namespace  petibm::delta
 A namespace of all kinds of discretized delta functions.
 

Typedefs

typedef std::function< PetscReal(const PetscReal &r, const PetscReal &dr)> petibm::delta::DeltaKernel
 Typedef to choose the regularized delta kernel to use. More...
 

Functions

PetscReal petibm::delta::Roma_et_al_1999 (const PetscReal &r, const PetscReal &dr)
 Regularized delta function from Roma et al. (1999). More...
 
PetscReal petibm::delta::Peskin_2002 (const PetscReal &r, const PetscReal &dr)
 Regularized delta function from Peskin (2002). More...
 
PetscErrorCode petibm::delta::getKernel (const std::string &name, DeltaKernel &kernel, PetscInt &size)
 Get the delta kernel and size providing the name. More...
 
PetscReal petibm::delta::delta (const std::vector< PetscReal > &source, const std::vector< PetscReal > &target, const std::vector< PetscReal > &widths, const DeltaKernel &kernel)
 Discrete delta function. More...
 

Detailed Description

Prototype of Delta functions.

License
BSD 3-Clause License.

Definition in file delta.h.