diff --git a/examples/heat-equation/tnl-heat-equation.h b/examples/heat-equation/tnl-heat-equation.h index 43a42da6689b68747005a9378add270c60a522d7..bb9de072e09465d93ba8bacdda947cfc474c1438 100644 --- a/examples/heat-equation/tnl-heat-equation.h +++ b/examples/heat-equation/tnl-heat-equation.h @@ -64,14 +64,11 @@ class heatEquationSetter typedef Device DeviceType; typedef Index IndexType; - typedef Containers::StaticVector< MeshType::meshDimensions, Real > Vertex; - static bool run( const Config::ParameterContainer& parameters ) { enum { Dimensions = MeshType::meshDimensions }; typedef Operators::LinearDiffusion< MeshType, Real, Index > ApproximateOperator; typedef Functions::Analytic::Constant< Dimensions, Real > RightHandSide; - typedef Containers::StaticVector < MeshType::meshDimensions, Real > Vertex; String boundaryConditionsType = parameters.getParameter< String >( "boundary-conditions-type" ); if( parameters.checkParameter( "boundary-conditions-constant" ) ) diff --git a/src/TNL/Solvers/SolverConfig_impl.h b/src/TNL/Solvers/SolverConfig_impl.h index 76234b9880e45db4d023fa898622bef75ff361d7..eb981bb35b9ade583e8538376978443e04584e14 100644 --- a/src/TNL/Solvers/SolverConfig_impl.h +++ b/src/TNL/Solvers/SolverConfig_impl.h @@ -116,7 +116,7 @@ bool SolverConfig< ConfigTag, ProblemConfig >::configSetup( Config::ConfigDescri if( ConfigTagSemiImplicitSolver< ConfigTag, SemiImplicitSORSolverTag >::enabled ) config.addEntryEnum( "sor" ); #ifdef HAVE_UMFPACK - if( MeshConfigSemiImplicitSolver< MeshConfig, SemiImplicitUmfpackSolverTag >::enabled ) + if( ConfigTagSemiImplicitSolver< ConfigTag, SemiImplicitUmfpackSolverTag >::enabled ) config.addEntryEnum( "umfpack" ); #endif }