Computational Science and Engineering Certificate Independent Research Project (Fall 2021).
This implementation adapted time-parallel frame in [Bergou et al., 2010] instead of space-parallel frame in [Bergou et al., 2008].
May 23, 2023: Plan to polish this repo soon. I will evaluate the correctness of the implementation and add more tests. I will also add more comments to the code. I think there are something wrong with the stretching energy computation...
Zhecheng Wang
Prof. Etienne Vouga
- Implement Discrete Elastic Rods.
- Test the implementation.
- Application in [insert trade secret here?].
Clone from this repo
git clone https://github.com/Zhecheng-Wang/Discrete-Elastic-Rods.git
Initialize build folder and compile the code
mkdir build
cd build
cmake ..
make
To run the program, run discrete_elastic_rods
in the build
folder.
-
[-driver] default 0
-
[-test] default 0
To run test 1 in driver 0, run
./discrete_elastic_rods -driver 0 -test 1
.
-
[Driver 0] Discrete Elastic Rods
- [Test 0] testing stretching and bending energy
- [Test 1] testing twisting energy
Papers: [Bergou et al., 2008], [Bergou et al., 2010], [Panetta et al., 2019]