https://github.com/certik/hermes1d
hp-FEM solver in 1D
https://github.com/certik/hermes1d
Last synced: about 1 year ago
JSON representation
hp-FEM solver in 1D
- Host: GitHub
- URL: https://github.com/certik/hermes1d
- Owner: certik
- License: other
- Created: 2008-09-18T10:25:53.000Z (almost 18 years ago)
- Default Branch: master
- Last Pushed: 2010-07-07T09:00:24.000Z (about 16 years ago)
- Last Synced: 2025-03-27T16:37:13.840Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 2.8 MB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
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: hpfem@unr.edu, 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