FEM2D_POISSON_LAKE
A Lake Problem
FEM2D_POISSON_LAKE is a C++ library which
describes the geometry of a simulated lake with an island
and other data needed in order to request a solution
by FEM2D_POISSON.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
FEM2D_POISSON_LAKE is available in
a C++ version and
a FORTRAN90 version and
a MATLAB version.
Related Data and Programs:
FEM2D_POISSON,
a C++ program which
applies the finite element method to a 2D Poisson problem, with user input.
Source Code:
-
lake.cpp,
the user-supplied routines to evaluate the right hand side,
linear coefficient, and boundary conditions;
-
lake_output.txt,
output from a run of the program;
-
lake_nodes.txt,
a text file containing a list, for each node, of its X and Y
coordinates;
-
lake_nodes.png,
a PNG image of
the nodes.
-
lake_elements.txt,
a text file containing a list, for each element, of the three
nodes that compose it;
-
lake_elements.png,
a PNG image of
the nodes.
-
lake_solution.txt,
a text file containing the solution U at each node (X,Y);
You can go up one level to
the C++ source code page.
Last revised on 06 December 2010.