KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
List of all members
Kratos::RBFShapeFunctionsUtility Class Reference

Radial Basis Functions utility to calculate shape function values This class uses Gaussian raidal basis functions to calculate the shape function values for a given value (i.e. norm of a point) with partition of unity. More...

#include <rbf_shape_functions_utility.h>

Collaboration diagram for Kratos::RBFShapeFunctionsUtility:

Public Types

Type Definitions
using DenseSpace = UblasSpace< double, Matrix, Vector >
 Dense space definition for the QR decomposition using in the solve. More...
 
using DenseQRPointerType = typename DenseQRDecomposition< DenseSpace >::Pointer
 QR decomposition pointer definition. More...
 
using KratosCoreQRType = DenseHouseholderQRDecomposition< DenseSpace >
 Kratos core QR decomposition type. More...
 

Static Public Member Functions

Operations
static double EvaluateRBF (const double x, const double h)
 Calculate the RBF value This function evaluates the Gaussian RBF for a norm. More...
 
static void CalculateShapeFunctions (const Matrix &rPoints, const array_1d< double, 3 > &rX, const double h, Vector &rN, DenseQRPointerType pDenseQR=nullptr)
 Calculates the RBF shape function values This method calculates the RBF shape function values in one point using as support the given cloud of points. More...
 
static void CalculateShapeFunctions (const Matrix &rPoints, const array_1d< double, 3 > &rX, Vector &rN, DenseQRPointerType pDenseQR=nullptr)
 Calculates the RBF shape function values This method calculates the RBF shape function values in one point using as support the given cloud of points. More...
 
static double CalculateShapeFunctionsAndInterpolation (const Matrix &rPoints, const array_1d< double, 3 > &rX, const double h, Vector &rN, Vector &rY)
 Calculates the RBF shape function values This method calculates the RBF shape function values in one point using as support the given cloud of points. More...
 

Detailed Description

Radial Basis Functions utility to calculate shape function values This class uses Gaussian raidal basis functions to calculate the shape function values for a given value (i.e. norm of a point) with partition of unity.

Member Typedef Documentation

◆ DenseQRPointerType

QR decomposition pointer definition.

◆ DenseSpace

Dense space definition for the QR decomposition using in the solve.

◆ KratosCoreQRType

Kratos core QR decomposition type.

Member Function Documentation

◆ CalculateShapeFunctions() [1/2]

void Kratos::RBFShapeFunctionsUtility::CalculateShapeFunctions ( const Matrix rPoints,
const array_1d< double, 3 > &  rX,
const double  h,
Vector rN,
DenseQRPointerType  pDenseQR = nullptr 
)
static

Calculates the RBF shape function values This method calculates the RBF shape function values in one point using as support the given cloud of points.

Parameters
rPointsMatrix containing the coordinates of the support cloud of points
rXCoordinates where the shape functions are to be computed
hRBF shape parameter
rNShape functions container

◆ CalculateShapeFunctions() [2/2]

void Kratos::RBFShapeFunctionsUtility::CalculateShapeFunctions ( const Matrix rPoints,
const array_1d< double, 3 > &  rX,
Vector rN,
DenseQRPointerType  pDenseQR = nullptr 
)
static

Calculates the RBF shape function values This method calculates the RBF shape function values in one point using as support the given cloud of points.

Parameters
rPointsMatrix containing the coordinates of the support cloud of points
rXCoordinates where the shape functions are to be computed
rNShape functions container

◆ CalculateShapeFunctionsAndInterpolation()

double Kratos::RBFShapeFunctionsUtility::CalculateShapeFunctionsAndInterpolation ( const Matrix rPoints,
const array_1d< double, 3 > &  rX,
const double  h,
Vector rN,
Vector rY 
)
static

Calculates the RBF shape function values This method calculates the RBF shape function values in one point using as support the given cloud of points.

Parameters
rPointsMatrix containing the coordinates of the support cloud of points
rXCoordinates where the shape functions are to be computed
hRBF shape parameter
rNShape functions container
YFunction to interpolate (if values of RHS are known apriori)

◆ EvaluateRBF()

double Kratos::RBFShapeFunctionsUtility::EvaluateRBF ( const double  x,
const double  h 
)
static

Calculate the RBF value This function evaluates the Gaussian RBF for a norm.

Parameters
xNorm of RBF argument (i.e. norm of radial vector)
hGaussian radius
Returns
double The RBF value

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