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

some corrections to get correct parameter prefixes

parent 45d64e0e
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,10 @@ namespace Dune {
, numflux_( model_ )
, gridPart_( gridPart )
, space_( gridPart_ )
, discreteModel_( model_, numflux_, DiffusionFluxType( gridPart_, model_, DGPrimalFormulationParameters( "dgdiffusionflux." + keyPrefix ) ) )
, dgdiffusionfluxPrefix_( "dgdiffusionflux"+ std::string(keyPrefix=="" ? "" : "." ) )
, discreteModel_( model_, numflux_,
DiffusionFluxType( gridPart_, model_,
DGPrimalFormulationParameters( dgdiffusionfluxPrefix_+ keyPrefix ) ) )
, startPass_()
, pass1_( discreteModel_, startPass_, space_ )
{}
......@@ -193,6 +196,7 @@ namespace Dune {
GridPartType& gridPart_;
AdvDFunctionSpaceType space_;
const std::string dgdiffusionfluxPrefix_;
DiscreteModelType discreteModel_;
Pass0Type startPass_;
Pass1Type pass1_;
......
......@@ -331,7 +331,8 @@ namespace Dune {
, uTmp_( 0 )
, fvSpc_( 0 )
, indicator_( 0 )
, diffFlux_( gridPart_, model_, DGPrimalFormulationParameters( "dgdiffusionFlux." + keyPrefix ) )
, dgdiffusionfluxPrefix_( "dgdiffusionflux"+ std::string(keyPrefix=="" ? "" : "." ) )
, diffFlux_( gridPart_, model_, DGPrimalFormulationParameters( dgdiffusionfluxPrefix_ + keyPrefix ) )
, problem1_( model_, numflux_, diffFlux_ )
, limitProblem_( model_ , space_.order() )
, pass0_()
......@@ -469,6 +470,8 @@ namespace Dune {
IndicatorSpaceType* fvSpc_;
IndicatorType* indicator_;
const std::string dgdiffusionfluxPrefix_;
protected:
DiffusionFluxType diffFlux_;
......
......@@ -63,6 +63,7 @@ namespace Dune {
using BaseType :: model_;
using BaseType :: cflDiffinv_;
using BaseType :: numericalFlux ;
using BaseType :: parameter ;
public:
......
......@@ -59,7 +59,7 @@ namespace Dune {
using BaseType :: dimensionFactor_;
using BaseType :: nonconformingFactor_;
using BaseType :: numericalFlux ;
using BaseType :: parameter;
public:
/**
......
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