Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • Paul.Dechamps/dartflo
1 result
Show changes
Commits on Source (1)
......@@ -631,7 +631,7 @@ void Adjoint::buildGradientResidualMesh(Eigen::SparseMatrix<double, Eigen::RowMa
for (size_t j = 0; j < p.first->nodes.size(); ++j)
{
int rowj = p.first->nodes[j]->row;
for (int n=0; n < sol->pbl->nDim; ++n)
for (int n = 0; n < sol->pbl->nDim; ++n)
T.push_back(Eigen::Triplet<double>(sol->rows[rowi], sol->pbl->nDim * rowj + n, A(i, sol->pbl->nDim * j + n)));
}
}
......
......@@ -84,9 +84,9 @@ public:
std::vector<double> computeJacVecLoadsFlow(std::vector<double> const &dL);
std::vector<double> computeJacVecLoadsMesh(std::vector<double> const &dL);
// Partial gradients of the coefficients
std::vector< std::vector<double>> computeGradientCoefficientsFlow();
std::vector<std::vector<double>> computeGradientCoefficientsFlow();
std::vector<double> computeGradientCoefficientsAoa();
std::vector< std::vector<double>> computeGradientCoefficientsMesh();
std::vector<std::vector<double>> computeGradientCoefficientsMesh();
// Gradient of the blowing velocity
Eigen::SparseMatrix<double, Eigen::RowMajor> computeJacVecFlowBlowing(Eigen::SparseMatrix<double, Eigen::RowMajor> const &dR);
std::vector<double> computeJacVecFlowBlowing(std::vector<double> const &dR);
......