Shodor

a national resource for computational science education

HOME BWPEP Shodor Blue Waters


Area Under a Curve OpenMP
This code sample demonstrates how to use OpenMP (shared memory parallelism) to estimate the area under a curve (integration) using Riemann sums.