Coder Social home page Coder Social logo

batmanabcdefg / sparselizard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from halbux/sparselizard

0.0 0.0 0.0 10.14 MB

C++ FEM library | user-friendly | multi-physics | hp-adaptive

Home Page: http://www.sparselizard.org

License: Other

Makefile 0.11% GLSL 0.02% Shell 0.11% C++ 99.36% CMake 0.40%

sparselizard's Introduction

Build instructions

Run the scripts in the 'install_external_libs' folder then:

mkdir build && cd build
cmake ..
cmake --build . -j$(nproc)

To provide a custom path to the petsc, gmsh (optional) or mpi (optional) folder use:

cmake .. -DPETSC_PATH=/yourpath/petsc -DGMSH_PATH=/yourpath/gmsh -DMPI_PATH=/yourpath/mpi

It may be convenient to use the cmake GUI:

cmake-gui

Add project

Simulation projects are located under simulations. In order to create a new simulation:

  1. Copy simulations/default folder with different name. Let's say that the new folder is simulations/newsim
  2. Replace target name default with the new one in simulations/newsim/CMakeLists.txt
  3. Add line add_subdirectory(newsim) to simulations/CMakeLists.txt
  4. Build as usual. Executable file will be located in build/simulations/newsim folder

sparselizard's People

Contributors

halbux avatar mikeseese avatar guitorri avatar pointhi 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.