Skip to content
Snippets Groups Projects
Commit 0e602955 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Use std::array instead of Dune::array

parent f193de2c
No related branches found
No related tags found
No related merge requests found
...@@ -173,8 +173,8 @@ assembleGradientAndHessian(const typename Basis::LocalView& localView, ...@@ -173,8 +173,8 @@ assembleGradientAndHessian(const typename Basis::LocalView& localView,
field_type centerValue = -localEnergy_->energy(localView, localASolution); field_type centerValue = -localEnergy_->energy(localView, localASolution);
// Precompute energy infinitesimal corrections in the directions of the local basis vectors // Precompute energy infinitesimal corrections in the directions of the local basis vectors
std::vector<Dune::array<field_type,blocksize> > forwardEnergy(nDofs); std::vector<std::array<field_type,blocksize> > forwardEnergy(nDofs);
std::vector<Dune::array<field_type,blocksize> > backwardEnergy(nDofs); std::vector<std::array<field_type,blocksize> > backwardEnergy(nDofs);
//#pragma omp parallel for schedule (dynamic) //#pragma omp parallel for schedule (dynamic)
for (size_t i=0; i<localSolution.size(); i++) { for (size_t i=0; i<localSolution.size(); i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment