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.
|
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>
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... | |
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.
using Kratos::RBFShapeFunctionsUtility::DenseQRPointerType = typename DenseQRDecomposition<DenseSpace>::Pointer |
QR decomposition pointer definition.
Dense space definition for the QR decomposition using in the solve.
using Kratos::RBFShapeFunctionsUtility::KratosCoreQRType = DenseHouseholderQRDecomposition<DenseSpace> |
Kratos core QR decomposition type.
|
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.
rPoints | Matrix containing the coordinates of the support cloud of points |
rX | Coordinates where the shape functions are to be computed |
h | RBF shape parameter |
rN | Shape functions container |
|
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.
rPoints | Matrix containing the coordinates of the support cloud of points |
rX | Coordinates where the shape functions are to be computed |
rN | Shape functions container |
|
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.
rPoints | Matrix containing the coordinates of the support cloud of points |
rX | Coordinates where the shape functions are to be computed |
h | RBF shape parameter |
rN | Shape functions container |
Y | Function to interpolate (if values of RHS are known apriori) |
Calculate the RBF value This function evaluates the Gaussian RBF for a norm.
x | Norm of RBF argument (i.e. norm of radial vector) |
h | Gaussian radius |