Loading examples/heat-equation/heatEquationSolver.h +1 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ class heatEquationSolver void writeProlog( tnlLogger& logger, const tnlParameterContainer& parameters ) const; bool init( const tnlParameterContainer& parameters ); bool setup( const tnlParameterContainer& parameters ); bool setInitialCondition( const tnlParameterContainer& parameters, const MeshType& mesh ); Loading examples/heat-equation/heatEquationSolver_impl.h +3 −3 Original line number Diff line number Diff line Loading @@ -46,10 +46,10 @@ void heatEquationSolver< Mesh,Diffusion,BoundaryCondition,RightHandSide > template< typename Mesh, typename Diffusion, typename BoundaryCondition, typename RightHandSide > bool heatEquationSolver< Mesh,Diffusion,BoundaryCondition,RightHandSide > :: init( const tnlParameterContainer& parameters ) ::setup( const tnlParameterContainer& parameters ) { if( ! boundaryCondition.init( parameters ) || ! rightHandSide.init( parameters ) ) if( ! boundaryCondition.setup( parameters ) || ! rightHandSide.setup( parameters ) ) return false; return true; } Loading examples/heat-equation/tnlHeatEquationEocRhs.h +2 −2 Original line number Diff line number Diff line Loading @@ -27,9 +27,9 @@ class tnlHeatEquationEocRhs typedef ExactOperator ExactOperatorType; typedef TestFunction TestFunctionType; bool init( const tnlParameterContainer& parameters ) bool setup( const tnlParameterContainer& parameters ) { if( ! testFunction.init( parameters ) ) if( ! testFunction.setup( parameters ) ) return false; return true; }; Loading examples/navier-stokes/navierStokesBoundaryConditions.h +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ class navierStokesBoundaryConditions navierStokesBoundaryConditions(); bool init( const tnlParameterContainer& parameters ); bool setup( const tnlParameterContainer& parameters ); void setMesh( const MeshType& mesh ); Loading examples/navier-stokes/navierStokesBoundaryConditions_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ navierStokesBoundaryConditions< Mesh >::navierStokesBoundaryConditions() } template< typename Mesh > bool navierStokesBoundaryConditions< Mesh >::init( const tnlParameterContainer& parameters ) bool navierStokesBoundaryConditions< Mesh >::setup( const tnlParameterContainer& parameters ) { this -> maxInflowVelocity = parameters. GetParameter< double >( "max-inflow-velocity" ); //this -> maxOutflowVelocity = parameters. GetParameter< double >( "max-outflow-velocity" ); Loading Loading
examples/heat-equation/heatEquationSolver.h +1 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ class heatEquationSolver void writeProlog( tnlLogger& logger, const tnlParameterContainer& parameters ) const; bool init( const tnlParameterContainer& parameters ); bool setup( const tnlParameterContainer& parameters ); bool setInitialCondition( const tnlParameterContainer& parameters, const MeshType& mesh ); Loading
examples/heat-equation/heatEquationSolver_impl.h +3 −3 Original line number Diff line number Diff line Loading @@ -46,10 +46,10 @@ void heatEquationSolver< Mesh,Diffusion,BoundaryCondition,RightHandSide > template< typename Mesh, typename Diffusion, typename BoundaryCondition, typename RightHandSide > bool heatEquationSolver< Mesh,Diffusion,BoundaryCondition,RightHandSide > :: init( const tnlParameterContainer& parameters ) ::setup( const tnlParameterContainer& parameters ) { if( ! boundaryCondition.init( parameters ) || ! rightHandSide.init( parameters ) ) if( ! boundaryCondition.setup( parameters ) || ! rightHandSide.setup( parameters ) ) return false; return true; } Loading
examples/heat-equation/tnlHeatEquationEocRhs.h +2 −2 Original line number Diff line number Diff line Loading @@ -27,9 +27,9 @@ class tnlHeatEquationEocRhs typedef ExactOperator ExactOperatorType; typedef TestFunction TestFunctionType; bool init( const tnlParameterContainer& parameters ) bool setup( const tnlParameterContainer& parameters ) { if( ! testFunction.init( parameters ) ) if( ! testFunction.setup( parameters ) ) return false; return true; }; Loading
examples/navier-stokes/navierStokesBoundaryConditions.h +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ class navierStokesBoundaryConditions navierStokesBoundaryConditions(); bool init( const tnlParameterContainer& parameters ); bool setup( const tnlParameterContainer& parameters ); void setMesh( const MeshType& mesh ); Loading
examples/navier-stokes/navierStokesBoundaryConditions_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ navierStokesBoundaryConditions< Mesh >::navierStokesBoundaryConditions() } template< typename Mesh > bool navierStokesBoundaryConditions< Mesh >::init( const tnlParameterContainer& parameters ) bool navierStokesBoundaryConditions< Mesh >::setup( const tnlParameterContainer& parameters ) { this -> maxInflowVelocity = parameters. GetParameter< double >( "max-inflow-velocity" ); //this -> maxOutflowVelocity = parameters. GetParameter< double >( "max-outflow-velocity" ); Loading