dedalus.tests.test_spherical_calculus

Ball and shell tests for gradient, divergence, curl, laplacian.

Module Contents

Nphi_range = [16]
Ntheta_range = [8]
Nr_range = [8]
dealias_range
radius_ball = 1.5
radii_shell = [0.5, 3]
build_ball(Nphi, Ntheta, Nr, dealias, dtype)
build_shell(Nphi, Ntheta, Nr, dealias, dtype)
test_gradient_scalar(Nphi, Ntheta, Nr, dealias, basis, dtype)
test_gradient_radial_scalar(Nr, dealias, basis, dtype)
test_gradient_vector(Nphi, Ntheta, Nr, dealias, basis, dtype)
test_gradient_radial_vector(Nr, dealias, basis, dtype)
test_divergence_vector(Nphi, Ntheta, Nr, dealias, basis, dtype)
test_divergence_radial_vector(Nr, dealias, basis, dtype)
test_curl_vector(Nphi, Ntheta, Nr, dealias, basis, dtype)
test_laplacian_scalar(Nphi, Ntheta, Nr, dealias, basis, dtype)
test_laplacian_radial_scalar(Nr, basis, dealias, dtype)
test_laplacian_vector(Nphi, Ntheta, Nr, dealias, basis, dtype)
test_laplacian_radial_vector(Nr, dealias, basis, dtype)