Skip to content

karban/field

Repository files navigation

Field
=======

Field is a multiplatform C++ application for the solution integral expressions developed by the hpfem.org group at the University of West Bohemia in Pilsen. Field is distributed under the GNU General Public License.

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

First install the following free packages:
- Nokia Qt (http://www.qtsoftware.com/products)
- Python (http://www.python.org)
- Qwt (http://qwt.sourceforge.net)

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 python-dev python-sphinx libsuitesparse-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