diff --git a/CMakeLists.txt b/CMakeLists.txt index ebba81fe..1717a0da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,6 +119,9 @@ if (NOT SKIP_PROBLEMS) src/problems/validation/main.cpp) endif() + define_problem(heat_1d + src/problems/heat/heat_1d.cpp) + define_problem(heat_3d src/problems/heat/heat_3d.cpp) diff --git a/src/problems/heat/heat_1d.cpp b/src/problems/heat/heat_1d.cpp new file mode 100644 index 00000000..775ababa --- /dev/null +++ b/src/problems/heat/heat_1d.cpp @@ -0,0 +1,15 @@ +#include "problems/heat/heat_1d.hpp" + +using namespace ads; +using namespace ads::problems; + + +int main() { + dim_config dim{ 2, 16 }; + timesteps_config steps{ 10, 1e-5 }; + int ders = 1; + + config_1d c{dim, steps, ders}; + heat_1d sim{c}; + sim.run(); +}