fem2d_poisson_cg_baffle


fem2d_poisson_cg_baffle, a Fortran90 code which defines the geometry and other data for the "baffle" problem, a rectangular region with 13 hexagonal baffles. The problem is suitable for solution by fem2d_poisson_cg().

The region is a rectangle with lower left corner (0.0,1.0) and upper right corner (12.0,7.0). The mesh was created using MESH2D, with a maximum element size of 0.5. The mesh comprises 512 nodes and 874 elements.

Licensing:

This code is distributed under the MIT license.

Languages:

fem2d_poisson_cg_baffle is available in a C++ version and a Fortran90 version and a MATLAB version.

Related Data and Programs:

fem2d_poisson_cg, a Fortran90 code which solves Poisson's equation on a triangulated region, using the finite element method, sparse storage, and a conjugate gradient solver.

fem2d_poisson_cg_ell, a Fortran90 code which defines the geometry of an L-shaped region, as well as boundary conditions for a given Poisson problem, and is called by fem2d_poisson_cg as part of a solution procedure.

fem2d_poisson_cg_lake, a Fortran90 code which defines the geometry of a lake-shaped region, as well as boundary conditions for a given Poisson problem, and is called by fem2d_poisson_cg as part of a solution procedure.

Source Code:


Last revised on 30 November 2025.