-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
67 lines (51 loc) · 1.98 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Welcome to Hermes1D!
Hermes1D is an experimental C++ library for the solution of ordinary
differential equations (ODE) and one-dimensional partial differential
equations (PDE) with higher-order finite element methods (hp-FEM). In
contrast to traditional time-stepping ODE solvers, Hermes1D constructs
the solution using a variational principle. It starts from a weak
formulation of the ODE/PDE problem and allows the equations to be defined
in a very general implicit (vector-valued) form F(y, y', t) = 0. The
approximation is a continuous, piecewise-polynomial function defined
in the entire interval (0, T). In contrast to time-stepping schemes,
the finite element approach makes it possible to prescribe boundary
conditions either at the beginning or at the end of the time interval
(combinations are possible for systems). The hp-FEM discretization
leads to a system of nonlinear algebraic equations that is solved via
the Newton's method or JFNK. Sphinx documentation is still in progress.
Hermes1D comes with a free interactive online lab powered by UNR HPC
cluster.
Hermes1D is distributed under the BSD license (it covers all files in the
Hermes1D repository unless stated otherwise.), see the LICENSE file for a
copyright/license information and the AUTHORS file for the list of authors.
Copyright (c) 2009 hp-FEM group at the University of Nevada, Reno (UNR).
Email: [email protected], home page: http://hpfem.org/.
Compilation
===========
Install the required libraries first. If you are using a Debian-based system,
do:
$ apt-get install cmake g++
$ cmake .
$ make
Examples
========
$ cd examples/laplace
$ ./laplace
$ gnuplot
gnuplot> plot './solution.gp' w l
Documentation
=============
Install the required libraries first, if you are using a Debian-based system,
do:
$ apt-get install python-sphinx
then:
$ cd doc
$ make html
$ firefox _build/html/index.html
Python
======
python -c 'print "set(WITH_PYTHON yes)\n"' > CMake.vars
cmake .
make
cd examples/schroedinger
./schroedinger