From 05a73d97378e9663d78cf80d4a47c0dc1d442c52 Mon Sep 17 00:00:00 2001 From: Ali Aghaeifar Date: Fri, 20 Dec 2024 22:40:08 +0100 Subject: [PATCH] dMRI to dwi --- CMakeLists.txt | 4 ++-- src/{dMRI => dwi}/CMakeLists.txt | 2 +- src/{dMRI => dwi}/handler.cpp | 0 src/{dMRI => dwi}/handler.h | 0 src/{dMRI => dwi}/pgse.cpp | 0 src/{dMRI => dwi}/pgse.h | 0 src/spinwalk.cu | 2 +- 7 files changed, 4 insertions(+), 4 deletions(-) rename src/{dMRI => dwi}/CMakeLists.txt (80%) rename src/{dMRI => dwi}/handler.cpp (100%) rename src/{dMRI => dwi}/handler.h (100%) rename src/{dMRI => dwi}/pgse.cpp (100%) rename src/{dMRI => dwi}/pgse.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fd8a6f..f9ced32 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,13 +41,13 @@ endif() # Add Boost and CUDA include directories include_directories(${Boost_INCLUDE_DIRS} ${HDF5_INCLUDE_DIRS} ./include ./src ./src/shapes) # Add subfolders -add_subdirectory(./src/dMRI) +add_subdirectory(./src/dwi) add_subdirectory(./src/phantom) add_subdirectory(./src/config) add_subdirectory(./src/sim) # Add the executable -set(SOURCES ./src/spinwalk.cu ${SUBCOMMAND_PHANTOM} ${SUBCOMMAND_SIM} ${SUBCOMMAND_GRADIENT} ${SUBCOMMAND_CONFIG}) +set(SOURCES ./src/spinwalk.cu ${SUBCOMMAND_PHANTOM} ${SUBCOMMAND_SIM} ${SUBCOMMAND_DWI} ${SUBCOMMAND_CONFIG}) if(CMAKE_CUDA_COMPILER) add_executable(${project} ${SOURCES}) diff --git a/src/dMRI/CMakeLists.txt b/src/dwi/CMakeLists.txt similarity index 80% rename from src/dMRI/CMakeLists.txt rename to src/dwi/CMakeLists.txt index 7ac80cd..3a3922c 100644 --- a/src/dMRI/CMakeLists.txt +++ b/src/dwi/CMakeLists.txt @@ -1,4 +1,4 @@ -set(SUBCOMMAND_GRADIENT +set(SUBCOMMAND_DWI ${CMAKE_CURRENT_SOURCE_DIR}/handler.cpp ${CMAKE_CURRENT_SOURCE_DIR}/pgse.cpp PARENT_SCOPE) \ No newline at end of file diff --git a/src/dMRI/handler.cpp b/src/dwi/handler.cpp similarity index 100% rename from src/dMRI/handler.cpp rename to src/dwi/handler.cpp diff --git a/src/dMRI/handler.h b/src/dwi/handler.h similarity index 100% rename from src/dMRI/handler.h rename to src/dwi/handler.h diff --git a/src/dMRI/pgse.cpp b/src/dwi/pgse.cpp similarity index 100% rename from src/dMRI/pgse.cpp rename to src/dwi/pgse.cpp diff --git a/src/dMRI/pgse.h b/src/dwi/pgse.h similarity index 100% rename from src/dMRI/pgse.h rename to src/dwi/pgse.h diff --git a/src/spinwalk.cu b/src/spinwalk.cu index 2486663..38c2bc1 100644 --- a/src/spinwalk.cu +++ b/src/spinwalk.cu @@ -26,7 +26,7 @@ #include "definitions.h" #include "sim/monte_carlo.cuh" #include "phantom/handler.h" -#include "dMRI/handler.h" +#include "dwi/handler.h" #include "config/handler.h" #ifdef __CUDACC__ #include "sim/device_helper.cuh"