35 #ifndef NEKTAR_LIB_UTILIITIES_KERNEL_KERNEL_H
36 #define NEKTAR_LIB_UTILIITIES_KERNEL_KERNEL_H
44 namespace LibUtilities
#define LIB_UTILITIES_EXPORT
void EvaluateBspline(Array< OneD, NekDouble > inarray, NekDouble h, NekDouble offset, Array< OneD, NekDouble > &outarray)
This function evaluates the bspline at input values.
void UpdateKernelCoeffs()
This funciton updates the kernel coefficients.
Array< OneD, NekDouble > k_breaks
Array< TwoD, NekDouble > GetKernelBspline()
This funciton returns a 2D array representing the bspline of the appropriate order.
Array< OneD, NekDouble > GetKernelBreaks()
This funciton returns a 1D array representing the kernel breaks.
void EvaluateKernel(Array< OneD, NekDouble > inarray, NekDouble h, Array< OneD, NekDouble > &outarray)
This funciton evaluates the kernel at input values.
Array< TwoD, NekDouble > b_spline
void FindMeshUnderKernel(Array< OneD, NekDouble > &inarray, NekDouble h, Array< OneD, NekDouble > &outarray)
This funciton calculates the mesh breaks under the kernel support.
void UpdateKernelBspline()
The default destructor.
Array< OneD, NekDouble > GetKernelCoeffs()
This funciton returns a 1D array representing the kernel coefficients.
void MoveKernelCenter(NekDouble x_value, Array< OneD, NekDouble > &outarray)
This funciton moves the center of the kernel to the.
NekDouble EvaluateBsplinePoly(NekDouble x_value, int interval)
This funciton evaluates the piecewise bspline polynomial.
int GetKernelWidth()
This funciton returns the size of the kernel width.
Array< OneD, NekDouble > k_coeffs
void UpdateKernelBreaks(NekDouble h)
This funciton updates the kernel breaks.
void UpdateKernelOrder(int order)
This funciton sets the k_order variable.
int GetKernelOrder()
This funciton returns the order of the kernel.
void UpdateKernelNumOfCoeffs()
This funciton sets the k_ncoeffs variable.
int GetKernelNumeOfCoeffs()
This funciton returns the number of kernel coefficients.
void Sort(Array< OneD, NekDouble > &inarray1, Array< OneD, NekDouble > &inarray2, Array< OneD, NekDouble > &outarray)
This funciton performs the ordered merge of.
void UpdateKernelWidth()
This funciton sets the kernel width size.
Kernel()
The default constructor.
std::shared_ptr< Kernel > KernelSharedPtr
The above copyright notice and this permission notice shall be included.