Skip to content

musallub/agros2d

 
 

Repository files navigation

Agros2D
=======

Agros2D is a multiplatform C++ application for the solution of partial differential equations (PDE) based on the Hermes library, developed by the hpfem.org group at the University of West Bohemia in Pilsen. Agros2D is distributed under the GNU General Public License.

Requirements
============

First install the following free packages:
- Hermes - Hermes2D (http://www.hpfem.org/hermes2d)
- Nokia Qt (http://www.qtsoftware.com/products)
- Python (http://www.python.org)
- dxflib (http://www.ribbonsoft.com/dxflib.html)
- Qwt (http://qwt.sourceforge.net)
- Triangle (http://www.cs.cmu.edu/~quake/triangle.html
- FFmpeg (http://ffmpeg.org)

Install the following packages:

$ sudo apt-get install libqt4-dev libqt4-opengl-dev qt4-dev-tools qt4-qmake g++ cython libssl-dev libqwt5-qt4-dev triangle-bin python-dev python-sphinx ffmpeg libsuitesparse-dev libmumps-seq-dev libsuperlu3-dev

You can use defines WITH_UNITY (support for Unity application launcher) for Ubuntu 11.04 and higher. This defines needs following package:

$ sudo apt-get install libunity-dev

Hermes2D is not available in debian repositories yet and so you have to compile it from source. You can also do this through dpkg-buildpackage.

Documentation
=============

Agros2D manual is available at runtime by pressing F1 and through the main menu. Help can be builded and generated. For build you need Sphinx (http://sphinx.pocoo.org/). Help can be builded and generated by running

$ make html

in the ./doc directory or by using the following script:

$ ./agros2d.sh help

Localization
============

Agros2D is available in English, Deutsch, Czech and Polish. Localization files can be genarated as follows:

$ lrelease ./lang/*.ts

or using the script

$ ./agros2d.sh lang

Compilation
===========

The application can by compiled by running

$ qmake agros2d.pro
$ make

or using the script

$ ./agros2d.sh comp

The binary package can be build as follows:

$ dpkg-buildpackage -sgpg -rfakeroot

or using the script

$ ./agros2d.sh build binary

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.0%
  • C 1.2%
  • Python 0.6%
  • Prolog 0.1%
  • Shell 0.1%
  • MATLAB 0.0%