SPH
Public Member Functions | List of all members
CorrectedSphInterpolant< Type > Class Template Reference

Computes corrected interpolated value. More...

#include <Interpolation.h>

Inheritance diagram for CorrectedSphInterpolant< Type >:
SphInterpolant< Type > IInterpolant< Type > Noncopyable

Public Member Functions

virtual Type interpolate (const Vector &pos) const override
 Compute quantity value at given position. More...
 
- Public Member Functions inherited from SphInterpolant< Type >
 SphInterpolant (const Storage &storage, const QuantityId id, const OrderEnum deriv, const RunSettings &settings=RunSettings::getDefaults())
 Constructs the interpolation object from settings. More...
 
 SphInterpolant (const Storage &storage, const QuantityId id, const OrderEnum deriv, AutoPtr< IBasicFinder > &&finder, LutKernel< 3 > &&kernel)
 Constructs the interpolation object given a neighbour finding object and a SPH kernel. More...
 
- Public Member Functions inherited from Noncopyable
 Noncopyable ()=default
 
 Noncopyable (const Noncopyable &)=delete
 
 Noncopyable (Noncopyable &&)=default
 
Noncopyableoperator= (const Noncopyable &)=delete
 
Noncopyableoperator= (Noncopyable &&)=default
 

Additional Inherited Members

- Protected Attributes inherited from SphInterpolant< Type >
ArrayView< const Vectorr
 
ArrayView< const Floatm
 
ArrayView< const Floatrho
 
ArrayView< const Type > quantity
 
AutoPtr< IBasicFinderfinder
 
LutKernel< 3 > kernel
 
Float searchRadius = 0._f
 

Detailed Description

template<typename Type>
class CorrectedSphInterpolant< Type >

Computes corrected interpolated value.

The interpolated quantity is divided by a constant 1 interpolated using SPH kernel. The result thus does not decrease to zero at the domain boundary, instead there is a discontinuity of the interpolant.

Definition at line 104 of file Interpolation.h.

Member Function Documentation

◆ interpolate()

template<typename Type >
virtual Type CorrectedSphInterpolant< Type >::interpolate ( const Vector pos) const
inlineoverridevirtual

Compute quantity value at given position.

Parameters
posPosition where the interpolated value is computed.
Returns
Interpolated value

Reimplemented from SphInterpolant< Type >.

Definition at line 108 of file Interpolation.h.


The documentation for this class was generated from the following file: