SPH
Public Member Functions | List of all members
IInterpolant< Type > Class Template Referenceabstract

Interface for computing quantity at any point in space. More...

#include <Interpolation.h>

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

Public Member Functions

virtual Type interpolate (const Vector &pos) const =0
 Compute quantity value at given position. More...
 
- Public Member Functions inherited from Noncopyable
 Noncopyable ()=default
 
 Noncopyable (const Noncopyable &)=delete
 
 Noncopyable (Noncopyable &&)=default
 
Noncopyableoperator= (const Noncopyable &)=delete
 
Noncopyableoperator= (Noncopyable &&)=default
 

Detailed Description

template<typename Type>
class IInterpolant< Type >

Interface for computing quantity at any point in space.

Template Parameters
TypeValue type of the quantity being interpolated.

Definition at line 21 of file Interpolation.h.

Member Function Documentation

◆ interpolate()

template<typename Type >
virtual Type IInterpolant< Type >::interpolate ( const Vector pos) const
pure virtual

Compute quantity value at given position.

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

Implemented in CorrectedSphInterpolant< Type >, and SphInterpolant< Type >.


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