Skip to content

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

Notifications You must be signed in to change notification settings

tytrusty/Shape-Matching-Element-Method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published