Coder Social home page Coder Social logo

giorgiobornia / femus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from femttu/femus

0.0 4.0 1.0 232.42 MB

Multiphysics Finite Element Multigrid Solver with Selective-Adaptive Mesh Refinement

Home Page: http://femttu.github.io/femus

License: GNU Lesser General Public License v2.1

CMake 1.74% C++ 94.21% Shell 0.49% MATLAB 0.15% Python 3.41%

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 path of the directory, either absolute or relative, that will contain the PETSc folder (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

  • Finally, type

    make -j $((nproc - 1))

to compile the library with all applications.

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

ab-dereje avatar aderezende avatar agrubertx avatar amanrani avatar andreachierici avatar ayillah avatar buathukorala avatar coyigg avatar coyigg2008 avatar eaulisa avatar erkara avatar everdoor avatar fahadmostafa91 avatar gayanibalasuriya avatar gcapodag avatar giacomobarbi avatar giorgiobornia avatar himali-gammanpila avatar jlpadgett avatar jonathonloftin avatar karthikkumarvasudeva avatar max-c-flynn avatar mbarbieri23 avatar nrgs avatar sbna avatar scalandr avatar shihyulee avatar sureka19 avatar tparagod avatar twijenay avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jvrd27

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.