Loading build +13 −0 Original line number Diff line number Diff line Loading @@ -93,6 +93,11 @@ ${CMAKE} ${ROOT_DIR} \ -DINSTANTIATE_INT=${INSTANTIATE_INT} \ -DINSTANTIATE_LONG_INT=${INSTANTIATE_LONG_INT} if test $? != 0; then echo "Error: cmake exited with error code." exit 1 fi if test ${CMAKE_ONLY} = "yes"; then exit 1 Loading @@ -101,10 +106,18 @@ fi echo "Building ${BUILD} $TARGET using $BUILD_JOBS processors ..." make -j${BUILD_JOBS} ${VERBOSE} if test $? != 0; then echo "Error: Build process failed." exit 1 fi if test WITH_TESTS = "yes"; then make -j${BUILD_JOBS} test if test $? != 0; then echo "Error: Some test did not pass successfuly." fi fi exit 0 install +6 −6 Original line number Diff line number Diff line Loading @@ -35,12 +35,12 @@ then mkdir Debug fi cd Debug ../build --root-dir=.. --build=Debug ${OPTIONS} if test $? != 0; if ../build --root-dir=.. --build=Debug ${OPTIONS}; then make install else exit 1 fi make install cd .. fi Loading @@ -51,12 +51,12 @@ then mkdir Release fi cd Release ../build --root-dir=.. --build=Release ${OPTIONS} if test $? != 0; if ../build --root-dir=.. --build=Release ${OPTIONS}; then make install else exit 1 fi make install cd .. fi Loading src/functions/tnlExpBumpFunction.h +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,8 @@ class tnlExpBumpFunctionBase : public tnlDomain< dimensions, SpaceDomain > typedef Real RealType; tnlExpBumpFunctionBase(); bool setup( const tnlParameterContainer& parameters, const tnlString& prefix = "" ); Loading src/functions/tnlExpBumpFunction_impl.h +7 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,13 @@ #include <functions/tnlExpBumpFunction.h> template< int dimensions, typename Real > tnlExpBumpFunctionBase< dimensions, Real >:: tnlExpBumpFunctionBase() : amplitude( 1.0 ), sigma( 1.0 ) { } template< int dimensions, typename Real > bool tnlExpBumpFunctionBase< dimensions, Real >:: Loading src/functions/tnlMeshFunction.h +7 −3 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ class tnlMeshFunction : typedef tnlVector< RealType, DeviceType, IndexType > VectorType; typedef tnlMeshFunction< Mesh, MeshEntityDimensions, Real > ThisType; static constexpr int getMeshEntityDimensions() { return MeshEntityDimensions; }; static constexpr int getEntitiesDimensions() { return MeshEntityDimensions; }; tnlMeshFunction(); Loading Loading @@ -79,6 +79,10 @@ class tnlMeshFunction : VectorType& getData(); bool refresh( const RealType& time = 0.0 ) const; bool deepRefresh( const RealType& time = 0.0 ) const; template< typename EntityType > RealType getValue( const EntityType& meshEntity ) const; Loading Loading
build +13 −0 Original line number Diff line number Diff line Loading @@ -93,6 +93,11 @@ ${CMAKE} ${ROOT_DIR} \ -DINSTANTIATE_INT=${INSTANTIATE_INT} \ -DINSTANTIATE_LONG_INT=${INSTANTIATE_LONG_INT} if test $? != 0; then echo "Error: cmake exited with error code." exit 1 fi if test ${CMAKE_ONLY} = "yes"; then exit 1 Loading @@ -101,10 +106,18 @@ fi echo "Building ${BUILD} $TARGET using $BUILD_JOBS processors ..." make -j${BUILD_JOBS} ${VERBOSE} if test $? != 0; then echo "Error: Build process failed." exit 1 fi if test WITH_TESTS = "yes"; then make -j${BUILD_JOBS} test if test $? != 0; then echo "Error: Some test did not pass successfuly." fi fi exit 0
install +6 −6 Original line number Diff line number Diff line Loading @@ -35,12 +35,12 @@ then mkdir Debug fi cd Debug ../build --root-dir=.. --build=Debug ${OPTIONS} if test $? != 0; if ../build --root-dir=.. --build=Debug ${OPTIONS}; then make install else exit 1 fi make install cd .. fi Loading @@ -51,12 +51,12 @@ then mkdir Release fi cd Release ../build --root-dir=.. --build=Release ${OPTIONS} if test $? != 0; if ../build --root-dir=.. --build=Release ${OPTIONS}; then make install else exit 1 fi make install cd .. fi Loading
src/functions/tnlExpBumpFunction.h +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,8 @@ class tnlExpBumpFunctionBase : public tnlDomain< dimensions, SpaceDomain > typedef Real RealType; tnlExpBumpFunctionBase(); bool setup( const tnlParameterContainer& parameters, const tnlString& prefix = "" ); Loading
src/functions/tnlExpBumpFunction_impl.h +7 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,13 @@ #include <functions/tnlExpBumpFunction.h> template< int dimensions, typename Real > tnlExpBumpFunctionBase< dimensions, Real >:: tnlExpBumpFunctionBase() : amplitude( 1.0 ), sigma( 1.0 ) { } template< int dimensions, typename Real > bool tnlExpBumpFunctionBase< dimensions, Real >:: Loading
src/functions/tnlMeshFunction.h +7 −3 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ class tnlMeshFunction : typedef tnlVector< RealType, DeviceType, IndexType > VectorType; typedef tnlMeshFunction< Mesh, MeshEntityDimensions, Real > ThisType; static constexpr int getMeshEntityDimensions() { return MeshEntityDimensions; }; static constexpr int getEntitiesDimensions() { return MeshEntityDimensions; }; tnlMeshFunction(); Loading Loading @@ -79,6 +79,10 @@ class tnlMeshFunction : VectorType& getData(); bool refresh( const RealType& time = 0.0 ) const; bool deepRefresh( const RealType& time = 0.0 ) const; template< typename EntityType > RealType getValue( const EntityType& meshEntity ) const; Loading