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

Implementations of descritized delta functions. More...

#include <cmath>
#include <petibm/delta.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.
 

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

Implementations of descritized delta functions.

License
BSD 3-Clause License.

Definition in file delta.cpp.