Commit d366e92c authored by Natalie Schroeder's avatar Natalie Schroeder
Browse files

[dgf] overload makeGrid in dgfgridcreater.hh - needed for coupled problems...

[dgf] overload makeGrid in dgfgridcreater.hh - needed for coupled problems with more than one dgf file defined in the input file

discussed with and reviewed by Bernd



git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@13845 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent e6e1dce5
// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
r// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
// vi: set et ts=4 sw=4 sts=4:
/*****************************************************************************
* See the file COPYING for full copying permissions. *
......@@ -47,13 +47,20 @@ class DgfGridCreator
public:
/*!
* \brief Load the grid from the file.
* \brief Load the grid from the dgf file.
*/
static void makeGrid(const std::string& dgfFileName)
{
gridPtr_ = GridPointer(dgfFileName.c_str(), Dune::MPIHelper::getCommunicator());
};
/*!
* \brief Load the grid from the dgf file given in the input file.
*/
static void makeGrid()
{
const std::string dgfFileName = GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, std::string, Grid, File);
gridPtr_ = GridPointer(dgfFileName.c_str(), Dune::MPIHelper::getCommunicator());
makeGrid(dgfFileName);
}
/*!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment