Loading src/TNL/Operators/CMakeLists.txt +0 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ SET( headers DirichletBoundaryConditions.h FunctionInverseOperator.h IdentityOperator.h NeumannBoundaryConditions.h NeumannBoundaryConditions_impl.h OperatorComposition.h Operator.h ) Loading src/TNL/Operators/NeumannBoundaryConditions.h +4 −4 Original line number Diff line number Diff line Loading @@ -220,7 +220,8 @@ class NeumannBoundaryConditions< Meshes::Grid< 2, MeshReal, Device, MeshIndex >, return u[ neighbourEntities.template getEntityIndex< 0, 1 >() ] - entity.getMesh().getSpaceSteps().y() * Functions::FunctionAdapter< MeshType, FunctionType >::getValue( this->function, entity, time ); } if( entity.getCoordinates().y() == entity.getMesh().getDimensions().y() - 1 ) // The following line is commented to avoid compiler warning //if( entity.getCoordinates().y() == entity.getMesh().getDimensions().y() - 1 ) { return u[ neighbourEntities.template getEntityIndex< 0, -1 >() ] + entity.getMesh().getSpaceSteps().y() * Functions::FunctionAdapter< MeshType, FunctionType >::getValue( this->function, entity, time ); Loading Loading @@ -348,7 +349,8 @@ class NeumannBoundaryConditions< Meshes::Grid< 3, MeshReal, Device, MeshIndex >, return u[ neighbourEntities.template getEntityIndex< 0, 0, 1 >() ] - entity.getMesh().getSpaceSteps().z() * Functions::FunctionAdapter< MeshType, FunctionType >::getValue( this->function, entity, time ); } if( entity.getCoordinates().z() == entity.getMesh().getDimensions().z() - 1 ) // The following line is commented to avoid compiler warning //if( entity.getCoordinates().z() == entity.getMesh().getDimensions().z() - 1 ) { return u[ neighbourEntities.template getEntityIndex< 0, 0, -1 >() ] + entity.getMesh().getSpaceSteps().z() * Functions::FunctionAdapter< MeshType, FunctionType >::getValue( this->function, entity, time ); Loading Loading @@ -438,6 +440,4 @@ std::ostream& operator << ( std::ostream& str, const NeumannBoundaryConditions< } // namespace Operators } // namespace TNL #include <TNL/Operators/NeumannBoundaryConditions_impl.h> src/TNL/Operators/NeumannBoundaryConditions_impl.hdeleted 100644 → 0 +0 −0 Empty file deleted. Loading
src/TNL/Operators/CMakeLists.txt +0 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ SET( headers DirichletBoundaryConditions.h FunctionInverseOperator.h IdentityOperator.h NeumannBoundaryConditions.h NeumannBoundaryConditions_impl.h OperatorComposition.h Operator.h ) Loading
src/TNL/Operators/NeumannBoundaryConditions.h +4 −4 Original line number Diff line number Diff line Loading @@ -220,7 +220,8 @@ class NeumannBoundaryConditions< Meshes::Grid< 2, MeshReal, Device, MeshIndex >, return u[ neighbourEntities.template getEntityIndex< 0, 1 >() ] - entity.getMesh().getSpaceSteps().y() * Functions::FunctionAdapter< MeshType, FunctionType >::getValue( this->function, entity, time ); } if( entity.getCoordinates().y() == entity.getMesh().getDimensions().y() - 1 ) // The following line is commented to avoid compiler warning //if( entity.getCoordinates().y() == entity.getMesh().getDimensions().y() - 1 ) { return u[ neighbourEntities.template getEntityIndex< 0, -1 >() ] + entity.getMesh().getSpaceSteps().y() * Functions::FunctionAdapter< MeshType, FunctionType >::getValue( this->function, entity, time ); Loading Loading @@ -348,7 +349,8 @@ class NeumannBoundaryConditions< Meshes::Grid< 3, MeshReal, Device, MeshIndex >, return u[ neighbourEntities.template getEntityIndex< 0, 0, 1 >() ] - entity.getMesh().getSpaceSteps().z() * Functions::FunctionAdapter< MeshType, FunctionType >::getValue( this->function, entity, time ); } if( entity.getCoordinates().z() == entity.getMesh().getDimensions().z() - 1 ) // The following line is commented to avoid compiler warning //if( entity.getCoordinates().z() == entity.getMesh().getDimensions().z() - 1 ) { return u[ neighbourEntities.template getEntityIndex< 0, 0, -1 >() ] + entity.getMesh().getSpaceSteps().z() * Functions::FunctionAdapter< MeshType, FunctionType >::getValue( this->function, entity, time ); Loading Loading @@ -438,6 +440,4 @@ std::ostream& operator << ( std::ostream& str, const NeumannBoundaryConditions< } // namespace Operators } // namespace TNL #include <TNL/Operators/NeumannBoundaryConditions_impl.h>