Associated article: Python and Finite Elements
Published source code accompanying the article by Alexander Pletzer in which he presents ELLIPT2D, a finite element package written in Python that's designed to solve elliptic equations in two dimensions. Also see GUMBIE.ZIP.
Python & Finite Elements by Alexander Pletzer Listing One (a) import reg2tri, vector from ellipt2d import * xmin, xmax = 0., 1.4 ymin, ymax = 0., 1. N = 101 nx1 = int(sqrt(float(N)*(xmax-xmin)/(ymax-ymin))) ny1 = int(sqrt(float(N)*(ymax-ymin)/(xmax-xmin))) (b) grid = reg2...