diff --git a/dune/fem-dg/assemble/primalmatrix.hh b/dune/fem-dg/assemble/primalmatrix.hh index f0332b01f72c03f61c0ad8189c3d4856ee7632e7..66fb6934a67dbeb994cc15e4334e7b3415b1fd7b 100644 --- a/dune/fem-dg/assemble/primalmatrix.hh +++ b/dune/fem-dg/assemble/primalmatrix.hh @@ -314,16 +314,19 @@ class DGPrimalMatrixAssembly public: + //! constructor for DG matrix assembly DGPrimalMatrixAssembly( GridPartType& gridPart, const Model& model, - const bool fullOperator = ParameterType::getValue("use_dgstabilization", bool(true)) ) + const bool calculateFluxes = true, + const bool strongBC = false ) + // = ParameterType::getValue("use_dgstabilization", bool(true)) ) : model_(model), space_(gridPart), zero_(), advFlux_(model_), flux_(gridPart, model), - calculateFluxes_( fullOperator ), - useStrongBoundaryCondition_( ParameterType::getValue<bool>( "use_strongbnd",false ) ) + calculateFluxes_( calculateFluxes ), + useStrongBoundaryCondition_( strongBC ) // ParameterType::getValue<bool>( "use_strongbnd",false ) ) { }