Don't reference (non-existent) Dune directories. Remove disabled code.

This commit is contained in:
Bård Skaflestad 2011-10-13 19:38:33 +02:00
parent 7ac7bdfbac
commit 6442d3fda2
4 changed files with 6 additions and 34 deletions

View File

@ -34,9 +34,10 @@
*/
#include <cassert>
#include <cstddef>
#include <algorithm>
#include <cstddef>
#include <array>
#include <functional>
#include <iostream>
#include <iterator>
@ -61,7 +62,7 @@
#include <SimpleFluid2p.hpp>
#include <SinglePointUpwindTwoPhase.hpp>
#include <array>
template <class Ostream, class Collection>
Ostream&
operator<<(Ostream& os, const Collection& c)

View File

@ -42,8 +42,7 @@
#include <algorithm>
#include <vector>
#include <dune/porsol/opmtransport/src/JacobianSystem.hpp>
#include <dune/porsol/opmpressure/src/sparse_sys.h>
#include <sparse_sys.h>
namespace Opm {
namespace ImplicitTransportDefault {

View File

@ -36,7 +36,7 @@
#ifndef OPM_CSRMATRIXUMFPACKSOLVER_HPP_HEADER
#define OPM_CSRMATRIXUMFPACKSOLVER_HPP_HEADER
#include <dune/porsol/opmtransport/examples/call_umfpack.h>
#include <call_umfpack.h>
namespace Opm {
namespace ImplicitTransportLinAlgSupport {

View File

@ -131,36 +131,8 @@ namespace Opm {
std::copy(porevol.begin(), porevol.end(), store_.porevol());
}
/*
template <class Grid>
void init(const TwophaseFluid& fluid ,
const Grid& g ,
const std::vector<double>& porevol ,
const double* grav = 0,
const double* trans = 0)
{
fluid_ = fluid;
gravity_ = grav;
f2hf_.resize(2 * g.number_of_faces, -1);
store_(g.number_of_cells,g.cell_facepos[ g.number_of_cells ]);
if (gravity_) {
store_.drho() = fluid_.density(0) - fluid_.density(1);
this->computeStaticGravity(g, grav, trans);
}
for (int c = 0, i = 0; c < g.number_of_cells; ++c) {
for (; i < g.cell_facepos[c + 1]; ++i) {
const int f = g.cell_faces[i];
const int p = 1 - (g.face_cells[2*f + 0] == c);
f2hf_[2*f + p] = i;
}
}
std::copy(porevol.begin(), porevol.end(), store_.porevol());
*/
// ----- ------------------------------------------------------------
// -----------------------------------------------------------------
// System assembly innards
// -----------------------------------------------------------------