Skip to content
Snippets Groups Projects
Commit e659afe8 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Small fix in the heat equation.

parent f49e0dfc
No related branches found
No related tags found
No related merge requests found
...@@ -64,14 +64,11 @@ class heatEquationSetter ...@@ -64,14 +64,11 @@ class heatEquationSetter
typedef Device DeviceType; typedef Device DeviceType;
typedef Index IndexType; typedef Index IndexType;
typedef Containers::StaticVector< MeshType::meshDimensions, Real > Vertex;
static bool run( const Config::ParameterContainer& parameters ) static bool run( const Config::ParameterContainer& parameters )
{ {
enum { Dimensions = MeshType::meshDimensions }; enum { Dimensions = MeshType::meshDimensions };
typedef Operators::LinearDiffusion< MeshType, Real, Index > ApproximateOperator; typedef Operators::LinearDiffusion< MeshType, Real, Index > ApproximateOperator;
typedef Functions::Analytic::Constant< Dimensions, Real > RightHandSide; typedef Functions::Analytic::Constant< Dimensions, Real > RightHandSide;
typedef Containers::StaticVector < MeshType::meshDimensions, Real > Vertex;
String boundaryConditionsType = parameters.getParameter< String >( "boundary-conditions-type" ); String boundaryConditionsType = parameters.getParameter< String >( "boundary-conditions-type" );
if( parameters.checkParameter( "boundary-conditions-constant" ) ) if( parameters.checkParameter( "boundary-conditions-constant" ) )
......
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