Spherical_Quadratur​e_RBF(Quadrature_No​des)

This function computes quadrature weights for evaluating the surface integral of a scalar function.
301 download
Aggiornato 16 giu 2015

Visualizza la licenza

This zip file contains two Matlab functions:
1. Spherical_Quadrature_RBF.m:
This function computes quadrature weights for evaluating the surface integral of a scalar function f(x,y,z) over the sphere surface.
Inputs: Quadrature_Nodes - A set of points located exactly on the sphere surface (Number_of_Quadrature_Nodes X 3) Array
Output: Quadrature Weights - A set of quadrature weights- (Number_of_Quadrature_Nodes X 1) vector-corresponding to the set of points Quadrature_Nodes

This implementation uses the method and default settings discussed in:
J. A. Reeger and B. Fornberg, "Numerical Quadrature Over the Surface of the Sphere". submitted to Stud. Appl. Math.

NOTE: The main loop of this method (over each triangle) can be easily parallelized if you have access to the parallel toolbox. In such a case, change the for loop to a parfor loop.

2. Spherical_Quadrature_RBF_Test:

This function provides example calls to the function Spherical_Quadrature_RBF.m. The user can change the parameter Number_of_Quadrature_Nodes in this m-file to generate various sizes of node sets. The user can also change the parameters Poly_Order and Number_of_Nearest_Neighbors within the Spherical_Quadrature_RBF.m function.

This function approximates the surface integral of five test integrands over the surface of the sphere and prints the error in the approximation to the command window upon completion.

The function Spherical_Quadrature_RBF.m is the default implementation of the method described in:

J. A. Reeger and B. Fornberg, "Numerical Quadrature Over the Surface of the Sphere". submitted to Stud. Appl. Math

Cita come

Jonah A Reeger (2025). Spherical_Quadrature_RBF(Quadrature_Nodes) (https://it.mathworks.com/matlabcentral/fileexchange/51214-spherical_quadrature_rbf-quadrature_nodes), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2013a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Surface and Mesh Plots in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: Smooth_Closed_Surface_Quadrature_RBF

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.2.0.0

No Changes

1.1.0.0

Added a test file.

1.0.0.0