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

incorporate "." into keyprefix

parent 0c4c8d52
No related branches found
No related tags found
No related merge requests found
......@@ -94,10 +94,10 @@ namespace Dune {
, numflux_( model_ )
, gridPart_( gridPart )
, space_( gridPart_ )
, dgdiffusionfluxPrefix_( "dgdiffusionflux"+ std::string(keyPrefix=="" ? "" : "." ) )
, dgdiffusionfluxPrefix_( keyPrefix + "dgdiffusionflux" )
, discreteModel_( model_, numflux_,
DiffusionFluxType( gridPart_, model_,
DGPrimalFormulationParameters( dgdiffusionfluxPrefix_+ keyPrefix ) ) )
DGPrimalFormulationParameters( keyPrefix + dgdiffusionfluxPrefix_ ) ) )
, startPass_()
, pass1_( discreteModel_, startPass_, space_ )
{}
......
......@@ -331,8 +331,8 @@ namespace Dune {
, uTmp_( 0 )
, fvSpc_( 0 )
, indicator_( 0 )
, dgdiffusionfluxPrefix_( "dgdiffusionflux"+ std::string(keyPrefix=="" ? "" : "." ) )
, diffFlux_( gridPart_, model_, DGPrimalFormulationParameters( dgdiffusionfluxPrefix_ + keyPrefix ) )
, dgdiffusionfluxPrefix_( keyPrefix + "dgdiffusionflux." )
, diffFlux_( gridPart_, model_, DGPrimalFormulationParameters( keyPrefix + dgdiffusionfluxPrefix_ ) )
, problem1_( model_, numflux_, diffFlux_ )
, limitProblem_( model_ , space_.order() )
, pass0_()
......
......@@ -64,8 +64,8 @@ namespace Dune {
typedef DGDiffusionFluxIdentifier MethodType;
typedef DGLiftingFluxIdentifier LiftingType;
DGPrimalFormulationParameters( const std::string keyPrefix = "dgdiffusionflux" )
: keyPrefix_( keyPrefix + "." )
DGPrimalFormulationParameters( const std::string keyPrefix = "dgdiffusionflux." )
: keyPrefix_( keyPrefix )
{}
static std::string methodNames( const MethodType mthd )
......
......@@ -11,7 +11,7 @@ namespace Dune {
struct SmartOdeSolverParameters : public DuneODE :: ODEParameters
{
SmartOdeSolverParameters( const std::string keyPrefix = "fem.ode" )
SmartOdeSolverParameters( const std::string keyPrefix = "fem.ode." )
: DuneODE :: ODEParameters( keyPrefix )
{}
......
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