Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • BaM/CLASS
  • ernoult/CLASS
  • Lea/CLASS
3 results
Show changes
Commits on Source (829)
Showing
with 4121 additions and 0 deletions
# CMake build
bld
BLD
build
BUILD
# Latex files from compilation
*.out
*.log
*.aux
*.toc
*.synctex.gz
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.ex
*.out
*.app
*.pcm
CLASS_R2*
# ROOT files
*.root
*Dict.cxx
*dict.cxx
*Dict.h
*dict.h
# Google Tests
GTest/RunTest
# CLASS files
DATA_BASES/DECAY/ALL/Decay.idx
# sym link to model headers
source/include/Equivalence
source/include/XS
source/include/external
source/include/Irradiation
# Makefile configuration folder:
config
# folder containing the binaries :
bin
# Built doxygen :
documentation/doxygen/html/doxygen
# Environment variables :
class_env.sh
# CLASS Outputs :
DecayDataBank.log
CLASS_Exec
CLASS_OUTPUT.log
CLASS_TimeStep
# Utils outputs
Utils/XSM/MLP/Generate/Generate_XSM
Utils/XSM/MLP/Generate/Train_XS
Utils/XSM/MLP/Generate/Data_Base_Info.nfo
Utils/XSM/MLP/Generate/_tmp
Utils/XSM/MLP/Generate/Trainining_output*
Utils/XSM/MLP/Generate/weights
Utils/XSM/MLP/Test/Mean_XS_accuracy.dat
Utils/XSM/MLP/Test/plots
Utils/EQM/MLP_Kinf/Generate_MLP_Kinf
Utils/EQM/MLP_Kinf/Train
Utils/EQM/MLP_Kinf/*.nfo
Utils/EQM/MLP_Kinf/_tmp
Utils/EQM/MLP_Kinf/Trainining_output*
Utils/EQM/MLP_Kinf/weights
Utils/EQM/MLP_Kinf/Train
Utils/EQM/FBR_MLP_Keff/Generate_FBR_Keff
Utils/EQM/FBR_MLP_Keff/Train
Utils/EQM/FBR_MLP_Keff/*.nfo
Utils/EQM/FBR_MLP_Keff/_tmp
Utils/EQM/FBR_MLP_Keff/weights
Utils/MURE2CLASS/MURE2CLASS
# ----------------------------------------------------------------------------
# For Mac OS
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
# ----------------------------------------------------------------------------
# For Xcode
# Build generated
build/
DerivedData/
# For VScode
.vscode
# Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/
# Other
*.moved-aside
*.xccheckout
*.xcscmblueprint
# ----------------------------------------------------------------------------
# for Linux
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
# ----------------------------------------------------------------------------
# For SublimeText
# cache files for sublime text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
# workspace files are user-specific
*.sublime-workspace
# project files should be checked into the repository, unless a significant
# proportion of contributors will probably not be using SublimeText
# *.sublime-project
# sftp configuration file
sftp-config.json
lib
bld
build
image: rootproject/root
stages:
- build
job1:
stage: build
script:
- ./install.sh build
# ----------------------------------------------------------
# Project name
# ----------------------------------------------------------
project(Class CXX)
# ----------------------------------------------------------
# Minimum Cmake version
# ----------------------------------------------------------
CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -g")
# ----------------------------------------------------------
# Test CXX compiler and C++11 comptability
# ----------------------------------------------------------
INCLUDE(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
IF(COMPILER_SUPPORTS_CXX11)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3 -fPIC")
ELSE()
MESSAGE(STATUS "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.")
ENDIF()
# ----------------------------------------------------------
# ROOT integration
# ----------------------------------------------------------
# defining ROOT location
list(APPEND CMAKE_PREFIX_PATH $ENV{ROOTSYS})
# Defining needed classes
FIND_PACKAGE(ROOT REQUIRED COMPONENTS TMVA Gui)
MESSAGE("------- ROOT PATH DETECTION -------")
IF (ROOT_FOUND)
MESSAGE(STATUS "ROOT has been found")
ELSE ()
MESSAGE(FATAL_ERROR "ROOT Not found")
ENDIF()
MESSAGE("-- Include path : ${ROOT_INCLUDE_DIRS}")
MESSAGE("-- Libraries list : ${ROOT_LIBRARIES}")
MESSAGE("-- Libraries DIR : ${ROOT_LIBRARY_DIR}")
MESSAGE("-- Definitions : ${ROOT_DEFINITIONS}")
MESSAGE("-- CXX Flags : ${ROOT_CXX_FLAGS}")
MESSAGE("-- CC Flags : ${ROOT_CC_FLAGS}")
MESSAGE("------------------------------------")
# Use ROOT file
INCLUDE(${ROOT_USE_FILE})
# Add directories
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR} ${ROOT_INCLUDE_DIRS})
# ----------------------------------------------------------
# Variables definitions
# ----------------------------------------------------------
set(CMAKE_INSTALL_LIBDIR ${CMAKE_CURRENT_LIST_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/bin)
# print all
MESSAGE( STATUS "CMAKE_LIBRARY_OUTPUT_DIRECTORY :" ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
# ----------------------------------------------------------
# Add Directories
# ----------------------------------------------------------
# Build Decay.idx File
add_subdirectory(DATA_BASES/DECAY/ALL)
# Add source
ADD_SUBDIRECTORY(source)
# Add gui
ADD_SUBDIRECTORY(gui)
################################
# GTest
################################
enable_testing()
add_subdirectory(GTest)
# ----------------------------------------------------------
# Modify template and build Decay.idx
# ----------------------------------------------------------
message(STATUS "COMMAND : sed -e 's:PATHTOBASE:${CMAKE_CURRENT_SOURCE_DIR}:g' Decay.in > Decay.idx")
execute_process(COMMAND bash "-c" "sed -e 's:PATHTOBASE:${CMAKE_CURRENT_SOURCE_DIR}:g' ${CMAKE_CURRENT_SOURCE_DIR}/Decay.in > ${CMAKE_CURRENT_SOURCE_DIR}/Decay.idx")
This diff is collapsed.