Skip to content
Snippets Groups Projects
Commit 29c52c71 authored by Robert K's avatar Robert K
Browse files

[bugfix][rungeKuttaSolver] Only include necessary headers to avoid

unnecessary recompilation.
parent 7ef770e1
No related branches found
No related tags found
No related merge requests found
Pipeline #34408 passed
......@@ -390,12 +390,12 @@ namespace Fem
, limitTime_( 0 )
, computeTime_( 0 )
, name_( name )
, verbose_( Dune::Fem::Parameter::verbose() ) // ||parameter.verbose() )
, verbose_( Dune::Fem::Parameter::verbose() ) // && parameter.verbose() )
{
}
virtual ~DGLimitedAdvectionOperator() {
if( verbose_ )
if( verbose_ && counter_ > 0 )
std::cout << "~DGLimitedAdvectionOperator("<<name_<<"): op calls = " << counter_ << " T_l = " << limitTime_ << " T_op = " << computeTime_ << std::endl;
}
......
......@@ -529,12 +529,14 @@ namespace Dune
# RungeKutta solvers
def rungeKuttaSolver( fullOperator, imex='EX', butchertable=None, parameters={} ):
includes = ["dune/fem-dg/solver/rungekuttasolver.hh", "dune/fem-dg/misc/algorithmcreatorselector.hh"]
includes += fullOperator._includes
space = fullOperator.domainSpace
spaceType = space._typeName
# only need space includes since we use basic operator type
includes = ["dune/fem-dg/solver/rungekuttasolver.hh"] # , "dune/fem-dg/misc/algorithmcreatorselector.hh"]
#includes += fullOperator._includes
includes += space._includes
_, domainFunctionIncludes, domainFunctionType, _, _, _ = space.storage
baseOperatorType = 'Dune::Fem::SpaceOperatorInterface< ' + domainFunctionType + '>'
......
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