We solve here the discretised Plateau's problem.
We consider only surfaces given by functions in two real variables.
You can type in your terminal:
make all
To run the program, write:
./solvePlateau inputname tol maxnbiter outputname
The arguments are, in that order:
- the name of a file with extension .mesh
- the tolerance (a real number)
- the maximum number of iterations (an integer)
- the name of a file, which is supposed to be used by
gnuplot
later.
The number of used iterations will be displayed.
If you want to plot the results, run gnuplot
and type:
splot "outputname" with lines linewidth 0.1
- sources are in
src
and headers are inhdr
- some meshes are in
input
: you can test them - several directories will be created by running the Makefile.
Meshes have been created with FreeFEM++
.
See in the associated documentation to know what .mesh files look like.