<commit_before>######################################################
# This CMakeLists.txt is used to generate an executable
# that uses Nektar++.  Customization points for your 
# projects are marked below.
######################################################

CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(SOLVERS)

# Setup where CMake will look for modules.  You probably 
# won't need to modify this.
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR} ${CMAKE_MODULE_PATH})

# Finds Nektar++.  This may introduce other dependencies, such 
# as Boost and Loki.
FIND_PACKAGE(Nektar++ REQUIRED)

IF( NEKTAR++_FOUND )
    INCLUDE_DIRECTORIES(${NEKTAR++_INCLUDE_DIRS})
    LINK_DIRECTORIES(${NEKTAR++_LIBRARY_DIRS})
    ADD_DEFINITIONS(${NEKTAR++_DEFINITIONS})

    INCLUDE_DIRECTORIES(${SOLVERS_SOURCE_DIR})        
ENDIF( NEKTAR++_FOUND )

MACRO(ADD_SOLVER_EXECUTABLE name source)

    ADD_EXECUTABLE(${name} ${source} ${ARGN})

    IF( NEKTAR++_FOUND )
        # TODO - If your executable needs to link to any other libraries,  
        # add them here.
        TARGET_LINK_LIBRARIES(${name}
	    ${NEKTAR++_LIBRARIES}
	    ${Boost_THREAD_LIBRARY} 
            ${Boost_IOSTREAMS_LIBRARY} 
	    ${Boost_ZLIB_LIBRARY}  
            ${Boost_DATE_TIME_LIBRARY}      
            optimized tinyxml debug tinyxml)

        SET_LAPACK_LINK_LIBRARIES(${name})

    ENDIF( NEKTAR++_FOUND )
ENDMACRO(ADD_SOLVER_EXECUTABLE name source)

MACRO(SET_COMMON_PROPERTIES name)

    SET_TARGET_PROPERTIES(${name} PROPERTIES DEBUG_POSTFIX -g)
    SET_TARGET_PROPERTIES(${name} PROPERTIES MINSIZEREL_POSTFIX -ms)
    SET_TARGET_PROPERTIES(${name} PROPERTIES RELWITHDEBINFO_POSTFIX -rg)


ENDMACRO(SET_COMMON_PROPERTIES name)


SUBDIRS(AdvectionDiffusionReactionSolver ShallowWaterSolver IncNavierStokesSolver)
<commit_msg>Including EulerSolver<commit_after>######################################################
# This CMakeLists.txt is used to generate an executable
# that uses Nektar++.  Customization points for your 
# projects are marked below.
######################################################

CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(SOLVERS)

# Setup where CMake will look for modules.  You probably 
# won't need to modify this.
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR} ${CMAKE_MODULE_PATH})

# Finds Nektar++.  This may introduce other dependencies, such 
# as Boost and Loki.
FIND_PACKAGE(Nektar++ REQUIRED)

IF( NEKTAR++_FOUND )
    INCLUDE_DIRECTORIES(${NEKTAR++_INCLUDE_DIRS})
    LINK_DIRECTORIES(${NEKTAR++_LIBRARY_DIRS})
    ADD_DEFINITIONS(${NEKTAR++_DEFINITIONS})

    INCLUDE_DIRECTORIES(${SOLVERS_SOURCE_DIR})        
ENDIF( NEKTAR++_FOUND )

MACRO(ADD_SOLVER_EXECUTABLE name source)

    ADD_EXECUTABLE(${name} ${source} ${ARGN})

    IF( NEKTAR++_FOUND )
        # TODO - If your executable needs to link to any other libraries,  
        # add them here.
        TARGET_LINK_LIBRARIES(${name}
	    ${NEKTAR++_LIBRARIES}
	    ${Boost_THREAD_LIBRARY} 
            ${Boost_IOSTREAMS_LIBRARY} 
	    ${Boost_ZLIB_LIBRARY}  
            ${Boost_DATE_TIME_LIBRARY}      
            optimized tinyxml debug tinyxml)

        SET_LAPACK_LINK_LIBRARIES(${name})

    ENDIF( NEKTAR++_FOUND )
ENDMACRO(ADD_SOLVER_EXECUTABLE name source)

MACRO(SET_COMMON_PROPERTIES name)

    SET_TARGET_PROPERTIES(${name} PROPERTIES DEBUG_POSTFIX -g)
    SET_TARGET_PROPERTIES(${name} PROPERTIES MINSIZEREL_POSTFIX -ms)
    SET_TARGET_PROPERTIES(${name} PROPERTIES RELWITHDEBINFO_POSTFIX -rg)


ENDMACRO(SET_COMMON_PROPERTIES name)


SUBDIRS(AdvectionDiffusionReactionSolver ShallowWaterSolver IncNavierStokesSolver EulerSolver)

{'fraction_non_alphanumeric': 0.14451827242524917, 'fraction_numerical': 0.0011074197120708748, 'mean_word_length': 4.762360446570973, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6163861', 'n_tokens_mistral': 1347, 'n_tokens_neox': 1221, 'n_words': 240}