Application Name
gaussQuadrature
Summary
- Name: gaussQuadrature
- Contact Person: support-compss@bsc.es
- Access Level: public
- License Agreement: Apache2
- Platform: COMPSs
- Repository: gaussQuadrature
Description
Gaussian Quadrature can be used to approximate an integral between the interval [a,b]. The way Gaussian Quadrature is used is similar to the Trapezoidal or Simpson’s method, however instead of using fixed points, we use varying points as well as weights (wi). This allows for a much more accurate approximation of an integral. The integral is approximate by the sum of wi*f(xi) for i between [1,integrationPoints] in each subinterval.
Versions
There is one version
Version 1
objects, where the blocks are saves in objects.
Execution instructions
Usage: runcompss --lang=python --pythonpath=~/bar/apps/python/gaussQuadrature/src/gaussQuadrature/objects/ integration.py <intervals> <integrationPoints> <a> <b>
where:
- - intervals: number of subintervals to split the interval [a,b]
- - integrationPoints: number of integration points inside the subinterval
- - a: lower limit
- - b: upper limit
Execution Example
runcompss --lang=python --pythonpath=~/bar/apps/python/gaussQuadrature/src/gaussQuadrature/objects/ integration.py 16 3 0 1
Build
No build is required
Attachments (1)
- gaussQuadrature.tar.gz (1.7 KB) - added by trac 7 years ago.
Download all attachments as: .zip