diff --git a/dune/elasticity/asmhandler.hpp b/dune/elasticity/asmhandler.hpp index 7259eb1..a190263 100644 --- a/dune/elasticity/asmhandler.hpp +++ b/dune/elasticity/asmhandler.hpp @@ -11,9 +11,6 @@ //============================================================================== #pragma once -//! \brief A vector holding our RHS -typedef Dune::BlockVector > Vector; - #include #include #include diff --git a/dune/elasticity/matrixops.hpp b/dune/elasticity/matrixops.hpp index e7ef807..a255947 100644 --- a/dune/elasticity/matrixops.hpp +++ b/dune/elasticity/matrixops.hpp @@ -22,6 +22,9 @@ typedef Dune::BCRSMatrix > Matrix; //! \brief For storing matrix adjacency/sparsity patterns typedef std::vector< std::set > AdjacencyPattern; +//! \brief A vector holding our RHS +typedef Dune::BlockVector > Vector; + //! \brief Helper class with some matrix operations class MatrixOps { public: diff --git a/examples/upscale_elasticity.cpp b/examples/upscale_elasticity.cpp index e26a12a..36eaa73 100644 --- a/examples/upscale_elasticity.cpp +++ b/examples/upscale_elasticity.cpp @@ -258,7 +258,7 @@ int main(int argc, char** argv) } Dune::FieldMatrix C; Dune::VTKWriter vtkwriter(grid.leafView()); - Vector field[6]; + Opm::Elasticity::Vector field[6]; std::cout << "assembling..." << "\n"; upscale.assemble(-1,true); upscale.setupSolvers(p.solver);