fixed: move Vector type under the correct namespace

This commit is contained in:
Arne Morten Kvarving 2012-11-20 09:51:07 +01:00
parent 6bd2461217
commit 12a5638ab4
3 changed files with 4 additions and 4 deletions

View File

@ -11,9 +11,6 @@
//==============================================================================
#pragma once
//! \brief A vector holding our RHS
typedef Dune::BlockVector<Dune::FieldVector<double,1> > Vector;
#include <dune/geometry/referenceelements.hh>
#include <dune/common/fmatrix.hh>
#include <dune/istl/bvector.hh>

View File

@ -22,6 +22,9 @@ typedef Dune::BCRSMatrix<Dune::FieldMatrix<double,1,1> > Matrix;
//! \brief For storing matrix adjacency/sparsity patterns
typedef std::vector< std::set<int> > AdjacencyPattern;
//! \brief A vector holding our RHS
typedef Dune::BlockVector<Dune::FieldVector<double,1> > Vector;
//! \brief Helper class with some matrix operations
class MatrixOps {
public:

View File

@ -258,7 +258,7 @@ int main(int argc, char** argv)
}
Dune::FieldMatrix<double,6,6> C;
Dune::VTKWriter<GridType::LeafGridView> vtkwriter(grid.leafView());
Vector field[6];
Opm::Elasticity::Vector field[6];
std::cout << "assembling..." << "\n";
upscale.assemble(-1,true);
upscale.setupSolvers(p.solver);