Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
a7284265
Commit
a7284265
authored
May 11, 2021
by
niklas.baumgarten
Browse files
restructured project
parent
9c2c2ccc
Pipeline
#149095
passed with stages
in 50 minutes and 32 seconds
Changes
61
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
a7284265
...
...
@@ -25,12 +25,11 @@ file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/data/vtu)
#find_package(FFTW3 REQUIRED) (Can't be found but still seems to link in)
link_directories
(
${
PROJECT_SOURCE_DIR
}
/sprng5/lib
)
# Include directories
# Include directories
-> Todo move to kernel
include_directories
(
${
PROJECT_SOURCE_DIR
}
/sprng5/include
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/mlmc/src
)
# Subdirectories
add_subdirectory
(
mlmc/src
)
add_
mpp_
subdirectory
(
${
PROJECT_SOURCE_DIR
}
/
mlmc/src
/
)
# Executables
add_executable
(
MLMC-M++ mlmc/src/Main.cpp
)
...
...
mlmc/src/CMakeLists.txt
View file @
a7284265
include_directories
(
basics
)
add_subdirectory
(
basics
)
include_directories
(
generators
)
include_directories
(
generators/algorithms
)
add_subdirectory
(
generators
)
include_directories
(
problems
)
add_subdirectory
(
problems
)
include_directories
(
pdesolver
)
add_subdirectory
(
pdesolver
)
include_directories
(
montecarlo
)
add_subdirectory
(
montecarlo
)
add_subdirectory
(
estimators
)
mlmc/src/Main.hpp
View file @
a7284265
#ifndef MAIN_HPP
#define MAIN_HPP
#include
"
montecarlo/
MultilevelMonteCarlo.hpp"
#include
"MultilevelMonteCarlo.hpp"
...
...
mlmc/src/basics/CMakeLists.txt
View file @
a7284265
add_library
(
BASICS STATIC
Level.cpp
Utilities.cpp
)
target_link_libraries
(
BASICS MPP_LIBRARIES
)
\ No newline at end of file
mlmc/src/basics/Level.cpp
deleted
100644 → 0
View file @
9c2c2ccc
#include
"Level.hpp"
mlmc/src/basics/Level.hpp
View file @
a7284265
...
...
@@ -2,6 +2,7 @@
#define LEVEL_HPP
#include
"Logging.hpp"
#include
<vector>
#include
<map>
...
...
mlmc/src/
montecarlo
/CMakeLists.txt
→
mlmc/src/
estimators
/CMakeLists.txt
View file @
a7284265
File moved
mlmc/src/estimators/IEstimator.hpp
0 → 100644
View file @
a7284265
#ifndef IESTIMATOR_HPP
#define IESTIMATOR_HPP
#endif //IESTIMATOR_HPP
mlmc/src/
montecarlo
/MonteCarlo.cpp
→
mlmc/src/
estimators
/MonteCarlo.cpp
View file @
a7284265
File moved
mlmc/src/
montecarlo
/MonteCarlo.hpp
→
mlmc/src/
estimators
/MonteCarlo.hpp
View file @
a7284265
#ifndef MLMC_MC_HPP
#define MLMC_MC_HPP
#include
"
montecarlo/datastructure/
WelfordAggregate.hpp"
#include
"
pdesolver/
PDESolverCreator.hpp"
#include
"WelfordAggregate.hpp"
#include
"PDESolverCreator.hpp"
#include
"
mesh/
MeshesCreator.hpp"
#include
"MeshesCreator.hpp"
class
MonteCarlo
{
...
...
mlmc/src/
montecarlo
/MultilevelMonteCarlo.cpp
→
mlmc/src/
estimators
/MultilevelMonteCarlo.cpp
View file @
a7284265
File moved
mlmc/src/
montecarlo
/MultilevelMonteCarlo.hpp
→
mlmc/src/
estimators
/MultilevelMonteCarlo.hpp
View file @
a7284265
#ifndef MULTILEVELMONTECARLO_HPP
#define MULTILEVELMONTECARLO_HPP
#include
"montecarlo/MonteCarlo.hpp"
#include
"montecarlo/datastructure/EmpiricMeasureLevelMaps.hpp"
#include
"montecarlo/datastructure/Exponents.hpp"
#include
"montecarlo/datastructure/Errors.hpp"
#include
"basics/Utilities.hpp"
/*
* Use Typedef for Level
* Levels ist std::vector<int>
*
*
*/
#include
"MonteCarlo.hpp"
#include
"EmpiricMeasureLevelMaps.hpp"
#include
"Exponents.hpp"
#include
"Errors.hpp"
#include
"Utilities.hpp"
...
...
mlmc/src/estimators/MultilevelStochasticCollocation.cpp
0 → 100644
View file @
a7284265
//
// Created by niklas on 11.05.21.
//
#include
"MultilevelStochasticCollocation.hpp"
mlmc/src/estimators/MultilevelStochasticCollocation.hpp
0 → 100644
View file @
a7284265
#ifndef MULTILEVELSTOCHASTICCOLLOCATION_HPP
#define MULTILEVELSTOCHASTICCOLLOCATION_HPP
class
MultilevelStochasticCollocation
{
};
#endif //MULTILEVELSTOCHASTICCOLLOCATION_HPP
mlmc/src/estimators/StochasticCollocation.cpp
0 → 100644
View file @
a7284265
//
// Created by niklas on 11.05.21.
//
#include
"StochasticCollocation.hpp"
mlmc/src/estimators/StochasticCollocation.hpp
0 → 100644
View file @
a7284265
#ifndef STOCHASTICCOLLOCATION_HPP
#define STOCHASTICCOLLOCATION_HPP
class
StochasticCollocation
{
};
#endif //STOCHASTICCOLLOCATION_HPP
mlmc/src/
montecarlo
/datastructure/EmpiricMeasureLevelMaps.cpp
→
mlmc/src/
estimators
/datastructure/EmpiricMeasureLevelMaps.cpp
View file @
a7284265
File moved
mlmc/src/
montecarlo
/datastructure/EmpiricMeasureLevelMaps.hpp
→
mlmc/src/
estimators
/datastructure/EmpiricMeasureLevelMaps.hpp
View file @
a7284265
...
...
@@ -2,8 +2,9 @@
#define EMPIRICMEASURELEVELMAPS_HPP
#include
"WelfordAggregate.hpp"
#include
"basics/Level.hpp"
#include
"montecarlo/MonteCarlo.hpp"
#include
"Level.hpp"
#include
"MonteCarlo.hpp"
#include
<math.h>
...
...
mlmc/src/
montecarlo
/datastructure/Errors.cpp
→
mlmc/src/
estimators
/datastructure/Errors.cpp
View file @
a7284265
File moved
mlmc/src/
montecarlo
/datastructure/Errors.hpp
→
mlmc/src/
estimators
/datastructure/Errors.hpp
View file @
a7284265
File moved
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment