GithubHelp home page GithubHelp logo

00mjk / hermes-legacy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hpfem/hermes-legacy

0.0 0.0 0.0 270.51 MB

hp-FEM library

Home Page: http://hpfem.org/

Eiffel 1.31% C++ 95.38% C 0.54% Shell 0.01% Perl 0.07% Objective-C 0.01% JavaScript 0.01% Python 2.69%

hermes-legacy's Introduction

Welcome to the Hermes Project

This is a basic README file with generic information relevant for all Hermes1D, Herme2D and Hermes3D. The directories hermes1d/, hermes2d/ and hermes3d/ contain their own README.rst files with specific details.

Copyright

Copyright (c) 2010 hp-FEM group at the University of Nevada, Reno (UNR). Email: [email protected], home page: http://hpfem.org/.

User Documentation

User Documentation is available online at http://hpfem.org/hermes/doc/index.html.

Download and Installation

Installation instructions for Linux, Mac OS X, Windows Cygwin, and Windows MSVC are part of User Documentation.

Generating and Viewing User Documentation Offline

Linux

Source files of the (Sphinx) user documentation are in the directory doc/. In order to compile the user documentation, you need to install Sphinx. Then follow these steps:

cd doc
make html
firefox _build/html

Windows + MSVC

This is a sequence of steps which will install Sphinx and which will allow to generate user documentation. The steps assume that you have already installed Microsoft Visual Studio 9 (MSVC) Express Edition (or any higher edition) and you have a copy of Hermes sources.

All commands, which are marked with a keyword 'prompt:', are executed in a command prompt opened in the step 3. Search for all mentioned application through Google since, usually, the first link is the right one.

  1. Download and install python 2.6
  2. Add paths 'my_python_path' and 'my_python_pathScripts' to the enviromental variable PATH.
  3. Open a command prompt with MSVC variables: Search for 'Visual Studio 2008 Command Prompt' in the start menu.
  4. Download and install setuptools 0.6c11
  5. Install Sphinx using setuptools (Internet access required) prompt: easy_install -U Sphinx
  6. Go to a folder doc folder of Hermes source tree prompt: cd my_hermesdoc
  7. Run NMAKE requesting HTML version prompt: nmake html
  8. View the documentation using a file 'my_hermes2ddoc_buildindex.html'

Generating and Viewing Developer Documentation Offline

Linux

Source files of the (Doxygen) developer documentation are kept in the directories hermes1d/doc.cpp, hermes2d/doc.cpp and hermes3d/doc.cpp. In order to build them you need to install Doxygen. If you are in hermesXd/, do:

cd doc.cpp/
doxygen hermesXd.lib-real.doxyfile
doxygen hermesXd.lib-cplx.doxyfile

This will generate documentation for the real and complex version of the library, respectively. To view the docs, type:

firefox hXd-real/html/index.html
firefox hXd-cplx/html/index.html

Compilation

$ cmake .
$ make

If you have cmake text-based UI installed, you can do:

$ ccmake .
  press C
  customize your build
  press C
  press G
$ make

Hermes build configuration scripts will look for required libraries on default include and system paths. If you packages are installed elsewhere, you need to specify their paths. Consult either online documetation (see the link above) or cmake/FindXYX.cmake files for exact names. These values have to be put into CMake.var file located in your build directory.

Intel C Compiler

To use Intel C compiler:

$ export CC=/path/to/icc
$ export CXX=/path/to/icpc
$ cmake .
$ make

NOTE: version 10.0.026 did not work for us (some compatibility issues with STL), 10.1.022 works ok

hermes-legacy's People

Contributors

aayush avatar amuthan avatar blackvladimir avatar certik avatar colman01 avatar csce622 avatar dalg24 avatar davidquantum avatar davoodansari avatar erick-santiago avatar fmach avatar karban avatar l-korous avatar mattpap avatar melaniebittl avatar migueltiburon avatar moritz-braun avatar nikola-m avatar solin avatar vopickafrantisek avatar zhonghua avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.