#include <DiscreteDeltaFn.H>
Inheritance diagram for DiscreteDeltaFn:
Public Methods | |
DiscreteDeltaFn () | |
constructor | |
DiscreteDeltaFn (Real a_epsilon) | |
constructor with radius -- calls corresponding define fn. | |
virtual | ~DiscreteDeltaFn () |
destructor | |
virtual void | define (Real a_epsilon)=0 |
define function | |
virtual Real | epsilon () const=0 |
returns epsilon | |
virtual DiscreteDeltaFn * | clone () const=0 |
make a copy of this delta function | |
virtual Real | evaluateDelta (Real a_radius) const=0 |
evaluate the delta function at the given radius | |
virtual Real | integralDelta (Real a_radius) const=0 |
returns the integral from 0 to radius of delta | |
virtual Real | computeK (RealVect &a_radius, int a_idir, int a_jdir) const=0 |
returns the kernel_{ij} at radius r | |
virtual void | sumForce (FArrayBox &a_sum, const RealVect &a_force, const Box &a_box, const RealVect &a_position, const RealVect &a_origin, Real a_dx) const=0 |
returns sum_j force_j kernel_ij over a box | |
virtual void | sumForce (FArrayBox &a_sum, const RealVect &a_force, const Box &a_box, int a_dir, int a_destComp, const RealVect &a_position, const RealVect &a_origin, Real a_dx) const=0 |
returns sum_j force_j kernel_ij over a box | |
virtual Real | computeLapDelta (Real a_radius) const=0 |
returns laplacian(delta) at radius r |
This is a pure virtual base class to encapsulate the discrete delta function which will be used to spread particle forces to the computational mesh. The parameter epsilon defines the spreading radius of the discrete delta fn.
|
constructor
|
|
constructor with radius -- calls corresponding define fn.
|
|
destructor
|
|
make a copy of this delta function
Implemented in PolynomialDelta. |
|
returns the kernel_{ij} at radius r
Implemented in PolynomialDelta. |
|
returns laplacian(delta) at radius r
Implemented in PolynomialDelta. |
|
define function
Implemented in PolynomialDelta. |
|
returns epsilon
Implemented in PolynomialDelta. |
|
evaluate the delta function at the given radius
Implemented in PolynomialDelta. |
|
returns the integral from 0 to radius of delta
Implemented in PolynomialDelta. |
|
returns sum_j force_j kernel_ij over a box this version computes a single (idir) component and places it in the destComp component of a_sum. this is done over a box for effeciency. Implemented in PolynomialDelta. |
|
returns sum_j force_j kernel_ij over a box sum is a SpaceDim-component fab which will contain the sum this is done over a box for effeciency. Implemented in PolynomialDelta. |