Skip to content

Commit

Permalink
Шульпин Илья. Отчет. Вычисление многомерных интегралов с использовани…
Browse files Browse the repository at this point in the history
…ем многошаговой схемы (метод Симпсона) (#8)
  • Loading branch information
NeeMiyuki authored Dec 27, 2024
1 parent 7001cf7 commit 437c966
Show file tree
Hide file tree
Showing 20 changed files with 805 additions and 0 deletions.
41 changes: 41 additions & 0 deletions modules/mpi/shulpin_i_simpson_method/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
get_filename_component(ProjectId ${CMAKE_CURRENT_SOURCE_DIR} NAME)

set(LATEX_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin")
if (NOT EXISTS ${LATEX_OUTPUT_PATH})
file(MAKE_DIRECTORY ${LATEX_OUTPUT_PATH})
endif ()

if (USE_LATEX)
message( STATUS "-- " ${ProjectId} )
file(GLOB_RECURSE report_files "*.tex")

foreach (report ${report_files})
get_filename_component(report_name ${report} NAME_WE)
list(APPEND list_report_names ${report_name})
endforeach ()

add_custom_target( ${ProjectId}_prebuild
COMMAND ${PDFLATEX_COMPILER} -draftmode -interaction=nonstopmode ${report_files}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
DEPENDS ${report_files})

add_custom_target( ${ProjectId}_pdf
COMMAND ${PDFLATEX_COMPILER} ${report_files}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
DEPENDS ${report_files})

add_custom_target(${ProjectId}_all_formats ALL)
add_dependencies(${ProjectId}_all_formats ${ProjectId}_pdf)

foreach (report_name ${list_report_names})
add_custom_command(
TARGET ${ProjectId}_all_formats
POST_BUILD
COMMAND mv "${CMAKE_CURRENT_SOURCE_DIR}/${report_name}.aux" "${LATEX_OUTPUT_PATH}/${report_name}.aux"
COMMAND mv "${CMAKE_CURRENT_SOURCE_DIR}/${report_name}.log" "${LATEX_OUTPUT_PATH}/${report_name}.log"
COMMAND mv "${CMAKE_CURRENT_SOURCE_DIR}/${report_name}.pdf" "${LATEX_OUTPUT_PATH}/${report_name}.pdf"
)
endforeach ()
else()
message( STATUS "-- ${ProjectId} - NOT BUILD!" )
endif()
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
764 changes: 764 additions & 0 deletions modules/mpi/shulpin_i_simpson_method/simpson_method.tex

Large diffs are not rendered by default.

0 comments on commit 437c966

Please sign in to comment.