Giter Club home page Giter Club logo

magnum.fe's Introduction

magnum.fe

Moved

The development of magnum.fe has been moved to https://github.com/micromagnetics/magnum.fe ! This repository is no longer updated.

Installation

Prerequisites

magnum.fe requires the following software/libraries to be installed:

  • dev-version of FEniCS
  • dev-version of cbc.block
  • gmsh >= 2.8.0 (headers and library)
  • cmake

magnum.fe is tested with dolfin dev version from 10 June 2013 (1.2.x), but should also work with more recent versions.

Install dev-version of dolfin

The dev-version of FEniCS is best installed with dorsal (https://launchpad.net/dorsal).

bzr branch lp:dorsal
cd dorsal

Set STABLE_BUILD=false in the dorsal.cfg. Then run

./dorsal.sh

and follow the instructions.

Install dev-version of cbc.block

The dev-version of cbc.block can be installed by checking out the current version from the launchpad repository

bzr branch lp:cbc.block
cd cbc.block
sudo python setup.py install

Build

To build magenum.fe with cmake do

cd /path/to/magnum.fe
mkdir build
cd build
cmake ..
make

Right now there is no install rule for make. There are however symlinks in the site-packages/magnumfe directory which point to the compiled swig wrapper code in the build directory. Thus you can use magnum.fe by adding the site-packages directory to your PYTHONPATH

export PYTHONPATH=/path/to/magnum.fe/site-packages

Test

You can test your installation by running the unit tests

cd tests
python run_all.py

License

Released under the GNU General Public License 3 (included).

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.