Commit e659afe8 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Small fix in the heat equation.

parent f49e0dfc
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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" ) )