Loading CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ # Vladimir Klement # Jakub Klinkovsky cmake_minimum_required( VERSION 2.8.10 ) cmake_minimum_required( VERSION 3.2.0 ) project( tnl ) Loading src/operators/tnlDirichletBoundaryConditions_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ tnlDirichletBoundaryConditions< Mesh, Function, MeshEntitiesDimensions, Real, In configSetup( tnlConfigDescription& config, const tnlString& prefix ) { Function::configSetup( config ); Function::configSetup( config, prefix ); } template< typename Mesh, Loading @@ -43,7 +43,7 @@ tnlDirichletBoundaryConditions< Mesh, Function, MeshEntitiesDimensions, Real, In setup( const tnlParameterContainer& parameters, const tnlString& prefix ) { return this->function.setup( parameters ); return this->function.setup( parameters, prefix ); } template< typename Mesh, Loading src/operators/tnlNeumannBoundaryConditions_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ tnlNeumannBoundaryConditionsBase< Function >:: configSetup( tnlConfigDescription& config, const tnlString& prefix ) { Function::configSetup( config ); Function::configSetup( config, prefix ); } template< typename Function > Loading @@ -18,7 +18,7 @@ tnlNeumannBoundaryConditionsBase< Function >:: setup( const tnlParameterContainer& parameters, const tnlString& prefix ) { return this->function.setup( parameters ); return this->function.setup( parameters, prefix ); } template< typename Function > Loading tools/tnl-quickstart/tnl-quickstart.py +2 −1 Original line number Diff line number Diff line Loading @@ -356,7 +356,8 @@ def generateProblem( problemName, problemBaseName ): file.write( " MeshDependentDataType& meshDependentData )\n" ) file.write( "{\n" ) file.write( " const tnlString& initialConditionFile = parameters.getParameter< tnlString >( \"initial-condition\" );\n" ) file.write( " if( ! dofs.load( initialConditionFile ) )\n" ) file.write( " tnlMeshFunction< Mesh > u( mesh, dofs );\n" ) file.write( " if( ! u.boundLoad( initialConditionFile ) )\n" ) file.write( " {\n" ) file.write( " cerr << \"I am not able to load the initial condition from the file \" << initialConditionFile << \".\" << endl;\n" ) file.write( " return false;\n" ) Loading Loading
CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ # Vladimir Klement # Jakub Klinkovsky cmake_minimum_required( VERSION 2.8.10 ) cmake_minimum_required( VERSION 3.2.0 ) project( tnl ) Loading
src/operators/tnlDirichletBoundaryConditions_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ tnlDirichletBoundaryConditions< Mesh, Function, MeshEntitiesDimensions, Real, In configSetup( tnlConfigDescription& config, const tnlString& prefix ) { Function::configSetup( config ); Function::configSetup( config, prefix ); } template< typename Mesh, Loading @@ -43,7 +43,7 @@ tnlDirichletBoundaryConditions< Mesh, Function, MeshEntitiesDimensions, Real, In setup( const tnlParameterContainer& parameters, const tnlString& prefix ) { return this->function.setup( parameters ); return this->function.setup( parameters, prefix ); } template< typename Mesh, Loading
src/operators/tnlNeumannBoundaryConditions_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ tnlNeumannBoundaryConditionsBase< Function >:: configSetup( tnlConfigDescription& config, const tnlString& prefix ) { Function::configSetup( config ); Function::configSetup( config, prefix ); } template< typename Function > Loading @@ -18,7 +18,7 @@ tnlNeumannBoundaryConditionsBase< Function >:: setup( const tnlParameterContainer& parameters, const tnlString& prefix ) { return this->function.setup( parameters ); return this->function.setup( parameters, prefix ); } template< typename Function > Loading
tools/tnl-quickstart/tnl-quickstart.py +2 −1 Original line number Diff line number Diff line Loading @@ -356,7 +356,8 @@ def generateProblem( problemName, problemBaseName ): file.write( " MeshDependentDataType& meshDependentData )\n" ) file.write( "{\n" ) file.write( " const tnlString& initialConditionFile = parameters.getParameter< tnlString >( \"initial-condition\" );\n" ) file.write( " if( ! dofs.load( initialConditionFile ) )\n" ) file.write( " tnlMeshFunction< Mesh > u( mesh, dofs );\n" ) file.write( " if( ! u.boundLoad( initialConditionFile ) )\n" ) file.write( " {\n" ) file.write( " cerr << \"I am not able to load the initial condition from the file \" << initialConditionFile << \".\" << endl;\n" ) file.write( " return false;\n" ) Loading