Code Monkey home page Code Monkey logo

femus's Introduction

FEMuS

Welcome to the FEMuS project! FEMuS is an open-source Finite Element C++ library built on top of PETSc, which allows scientists to build and solve multiphysics problems with multigrid and domain decomposition techniques.

Setup

Clone the FEMuS source code from the github repository:

git clone https://github.com/FeMTTU/femus.git

You need PETSc for FEMuS to work. If PETSc is not already installed in your machine, the script "install_petsc.sh" in contrib/scripts/ will install it automatically, with the following syntax:

./femus/contrib/scripts/install_petsc.sh --prefix-external my_dir 

where "my_dir" is the directory, either absolute or relative, in which you want PETSc to be installed (please put it outside of the femus repo directory, to prevent from potential git tracking).

Source the "configure_femus.sh" script and execute the function "fm_set_femus" in order to set some environment variables:

source femus/contrib/scripts/configure_femus.sh

fm_set_femus  --prefix-external my_dir --method-petsc opt

Create the build directory, cd to it and run cmake:

mkdir femus.build

cd femus.build

cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="[Debug Release RelWithDebInfo MinSizeRel None]"  ../femus

Authors

Eugenio Aulisa

Simone Bnà

Giorgio Bornia

License

FEMuS is an open-source software distributed under the LGPL license, version 2.1

femus's People

Contributors

buathukorala avatar coyigg avatar eaulisa avatar gcapodag avatar giorgiobornia avatar sbna avatar scalandr avatar shihyulee avatar sureka19 avatar tparagod avatar twijenay avatar

Watchers

 avatar  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.