mirror of
https://github.com/OPM/opm-upscaling.git
synced 2025-02-25 18:45:23 -06:00
fixed: move Vector type under the correct namespace
This commit is contained in:
parent
6bd2461217
commit
12a5638ab4
@ -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>
|
||||
|
@ -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:
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user