mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: namespace Ewoms -> namespace Opm
This commit is contained in:
@@ -185,7 +185,7 @@ int main()
|
||||
std::cout << "---------------------------------------\n";
|
||||
|
||||
std::cout << "---- All properties for Sedan ---\n";
|
||||
Ewoms::Properties::printValues<TTAG(Sedan)>();
|
||||
Opm::Properties::printValues<TTAG(Sedan)>();
|
||||
|
||||
std::cout << "---- Message for (HummerH1, CanonCaliber) ---\n"
|
||||
<< PROP_DIAGNOSTIC(TTAG(HummerH1), CanonCaliber);
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
const unsigned dim = 3;
|
||||
typedef double Scalar;
|
||||
typedef Ewoms::QuadrialteralQuadratureGeometry<Scalar, dim> QuadratureGeom;
|
||||
typedef Opm::QuadrialteralQuadratureGeometry<Scalar, dim> QuadratureGeom;
|
||||
typedef QuadratureGeom::LocalPosition LocalPosition;
|
||||
typedef QuadratureGeom::GlobalPosition GlobalPosition;
|
||||
|
||||
@@ -121,7 +121,7 @@ void writeTetrahedronSubControlVolumes(const Grid& EWOMS_NO_ALUGRID_UNUSED grid)
|
||||
|
||||
GridFactory2 gf2;
|
||||
const auto &gridView = grid.leafView();
|
||||
typedef Ewoms::VcfvStencil<Scalar, GridView> Stencil;
|
||||
typedef Opm::VcfvStencil<Scalar, GridView> Stencil;
|
||||
typedef typename Stencil :: Mapper Mapper;
|
||||
|
||||
#if DUNE_VERSION_NEWER(DUNE_GRID, 2,6)
|
||||
@@ -206,7 +206,7 @@ void writeCubeSubControlVolumes(const Grid& EWOMS_NO_ALUGRID_UNUSED grid)
|
||||
typedef Dune::ALUGrid<dim, dim, Dune::cube, Dune::nonconforming> Grid2;
|
||||
typedef typename Grid2::LeafGridView GridView2;
|
||||
typedef Dune::GridFactory<Grid2> GridFactory2;
|
||||
typedef Ewoms::VcfvStencil<Scalar, GridView> Stencil;
|
||||
typedef Opm::VcfvStencil<Scalar, GridView> Stencil;
|
||||
|
||||
GridFactory2 gf2;
|
||||
const auto &gridView = grid.leafView();
|
||||
@@ -312,7 +312,7 @@ void testQuadrature()
|
||||
const auto eEndIt = gridView.end<0>();
|
||||
Scalar result = 0;
|
||||
// instanciate a stencil
|
||||
typedef Ewoms::VcfvStencil<Scalar, GridView> Stencil;
|
||||
typedef Opm::VcfvStencil<Scalar, GridView> Stencil;
|
||||
typedef typename Stencil :: Mapper Mapper;
|
||||
|
||||
#if DUNE_VERSION_NEWER(DUNE_GRID, 2,6)
|
||||
|
||||
@@ -35,9 +35,9 @@
|
||||
|
||||
std::mutex outputMutex;
|
||||
|
||||
Ewoms::TaskletRunner *runner;
|
||||
Opm::TaskletRunner *runner;
|
||||
|
||||
class SleepTasklet : public Ewoms::TaskletInterface
|
||||
class SleepTasklet : public Opm::TaskletInterface
|
||||
{
|
||||
public:
|
||||
SleepTasklet(int mseconds)
|
||||
@@ -77,7 +77,7 @@ int SleepTasklet::numInstantiated_ = 0;
|
||||
int main()
|
||||
{
|
||||
int numWorkers = 2;
|
||||
runner = new Ewoms::TaskletRunner(numWorkers);
|
||||
runner = new Opm::TaskletRunner(numWorkers);
|
||||
|
||||
// the master thread is not a worker thread
|
||||
assert(runner->workerThreadIndex() < 0);
|
||||
|
||||
Reference in New Issue
Block a user