Skip to content
Snippets Groups Projects

Feature eigen

Merged Adrien Crovato requested to merge feature_eigen into master
7 files
+ 10
18
Compare changes
  • Side-by-side
  • Inline
Files
7
+ 1
2
@@ -129,8 +129,7 @@ void Adjoint::buildDR(Eigen::SparseMatrix<double, Eigen::RowMajor> &dR)
tbb::spin_mutex mutex;
// List of triplets to build Jacobian matrix
std::vector<Eigen::Triplet<double>> T;
T.reserve(sol->pbl->msh->nodes.size() * sol->pbl->msh->nodes.size() / 1000);
std::deque<Eigen::Triplet<double>> T;
// Full Potential Equation with upwind bias: analytical derivatives
auto fluid = sol->pbl->medium;
Loading