Skip to content
Snippets Groups Projects
Commit ae9abf4c authored by Stefan Girke's avatar Stefan Girke
Browse files

use a common input path for reading grid files

parent 244dd95d
No related branches found
No related tags found
No related merge requests found
...@@ -96,10 +96,10 @@ Dune::GridPtr< HGridType > initialize( const std::string& problemDescription ) ...@@ -96,10 +96,10 @@ Dune::GridPtr< HGridType > initialize( const std::string& problemDescription )
{ {
// ----- read in runtime parameters ------ // ----- read in runtime parameters ------
const std::string filekey = Dune::Fem::IOInterface::defaultGridKey( HGridType::dimension ); const std::string filekey = Dune::Fem::IOInterface::defaultGridKey( HGridType::dimension );
const std::string filename = ParameterType::getValue< std::string >( filekey ); const std::string filename = ParameterType::getValue< std::string >( filekey );
// initialize grid with given macro file name // initialize grid with given macro file name
gridptr = Dune::GridPtr< HGridType >( filename ); gridptr = Dune::GridPtr< HGridType >( ParameterType::commonInputPath() + "/" + filename );
ParameterType::appendDGF( filename ); ParameterType::appendDGF( filename );
// load balance grid in case of parallel runs // load balance grid in case of parallel runs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment