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

[bugfix] Also read fem parameters in dgf file from correct location

parent 9a056eae
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 )
{
// ----- read in runtime parameters ------
const std::string filekey = Dune::Fem::IOInterface::defaultGridKey( HGridType::dimension );
const std::string filename = ParameterType::getValue< std::string >( filekey );
const std::string filename = ParameterType::commonInputPath() + "/" + ParameterType::getValue< std::string >( filekey );
// initialize grid with given macro file name
gridptr = Dune::GridPtr< HGridType >( ParameterType::commonInputPath() + "/" + filename );
gridptr = Dune::GridPtr< HGridType >( filename );
ParameterType::appendDGF( filename );
// 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