GithubHelp home page GithubHelp logo

jackzhousz / shape-matching-element-method Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tytrusty/shape-matching-element-method

0.0 0.0 0.0 183.52 MB

Shape Matching Virtual Element Method for direct simulation on CAD models!

Shell 0.02% C++ 8.41% C 46.15% MATLAB 36.06% TeX 6.45% CMake 2.91%

shape-matching-element-method's Introduction

Shape Matching Element Method

vem_sim_2d is a minimal example that should only depend on gptoolbox... So see if that runs!

Project Page

External Dependencies

  1. GPToolbox
  2. OpenMP (OPTIONAL)

Included Submodules (Installed Automatically)

  1. Libigl https://github.com/libigl/libigl
  2. Eigen >= 3.2 (uses the libigl Eigen install)

To get started: Clone this repository and all its submodule dependencies using:

git clone --recursive https://github.com/tytrusty/virtual-element-method.git

MATLAB Setup

To let MATLAB recognize the scripts, we need to add this folder and all the project's subfolders to the MATLAB path. Assuming your installation directory /usr/local/virtual-element-method/, then you could issue the following command in the MATLAB command prompt:

addpath(genpath('/usr/local/virtual-element-method/'))
savepath

C++ MEX Compilation

Costly functions are implemented in C++ and executed from Matlab via the C++ MEX API. Compiling these is required for the NURBs simulation example. The following steps may be used to compile the C++ files:

cd ${SOURCE_DIRECTORY}/matlab
mkdir build
cd build
cmake ..
make all

shape-matching-element-method's People

Contributors

tytrusty avatar honglin-c 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.