Skip to content
Snippets Groups Projects
Commit c5dbb19f authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Make compile

parent 6f7e0404
Branches
Tags
No related merge requests found
...@@ -36,9 +36,10 @@ void NonlinearElasticityProblem<VectorType,MatrixType, Basis>::assembleDefectQP( ...@@ -36,9 +36,10 @@ void NonlinearElasticityProblem<VectorType,MatrixType, Basis>::assembleDefectQP(
GridFunctionPtr displace = std::make_shared<BasisGridFunction<Basis,VectorType> >(basis,iterate); GridFunctionPtr displace = std::make_shared<BasisGridFunction<Basis,VectorType> >(basis,iterate);
// assemble quadratic term // assemble quadratic term
hessian.setSize(basis.size(),basis.size()); hessian = DiagonalMatrixType(basis.size());
hessian = 0; hessian = 0;
const auto& locHessianAssembler = material_->secondDerivative(displace); const auto& locHessianAssembler = material_->secondDerivative(displace);
// //////////////////////////////////////////////////////////////////////// // ////////////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment