Skip to content

Commit

Permalink
add back src
Browse files Browse the repository at this point in the history
  • Loading branch information
alecjacobson committed Oct 20, 2020
1 parent d6d083a commit cedeae1
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/arap_precompute.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#include "../include/arap_precompute.h"
#include <igl/min_quad_with_fixed.h>
#include <igl/arap_linear_block.h>
#include <igl/cotmatrix.h>

void arap_precompute(
const Eigen::MatrixXd & V,
const Eigen::MatrixXi & F,
const Eigen::VectorXi & b,
igl::min_quad_with_fixed_data<double> & data,
Eigen::SparseMatrix<double> & K)
{
// REPLACE WITH YOUR CODE
}
12 changes: 12 additions & 0 deletions src/arap_single_iteration.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "../include/arap_single_iteration.h"
#include <igl/polar_svd3x3.h>
#include <igl/min_quad_with_fixed.h>

void arap_single_iteration(
const igl::min_quad_with_fixed_data<double> & data,
const Eigen::SparseMatrix<double> & K,
const Eigen::MatrixXd & bc,
Eigen::MatrixXd & U)
{
// REPLACE WITH YOUR CODE
}
15 changes: 15 additions & 0 deletions src/biharmonic_precompute.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#include "biharmonic_precompute.h"
#include <igl/min_quad_with_fixed.h>
#include <igl/cotmatrix.h>
#include <igl/massmatrix.h>
#include <igl/invert_diag.h>

void biharmonic_precompute(
const Eigen::MatrixXd & V,
const Eigen::MatrixXi & F,
const Eigen::VectorXi & b,
igl::min_quad_with_fixed_data<double> & data)
{
// REPLACE WITH YOUR CODE
data.n = V.rows();
}
11 changes: 11 additions & 0 deletions src/biharmonic_solve.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include "biharmonic_solve.h"
#include <igl/min_quad_with_fixed.h>

void biharmonic_solve(
const igl::min_quad_with_fixed_data<double> & data,
const Eigen::MatrixXd & bc,
Eigen::MatrixXd & D)
{
// REPLACE WITH YOUR CODE
D = Eigen::MatrixXd::Zero(data.n,3);
}

0 comments on commit cedeae1

Please sign in to comment.