From 5138494d34f579230cbcdb4f8cc53bdb63c56176 Mon Sep 17 00:00:00 2001 From: edoardolombardi Date: Thu, 12 Mar 2020 19:14:58 +0100 Subject: [PATCH] PABLO: added example 00011 --- examples/CMakeLists.txt | 3 ++- examples/PABLO_example_00011.cpp | 7 +++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 9fa8f90ff3..f7220fb1be 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -62,7 +62,8 @@ if(BUILD_EXAMPLES) list(APPEND EXAMPLE_LIST "PABLO_example_00007") list(APPEND EXAMPLE_LIST "PABLO_example_00008") list(APPEND EXAMPLE_LIST "PABLO_example_00009") - list(APPEND EXAMPLE_LIST "PABLO_example_00010") + list(APPEND EXAMPLE_LIST "PABLO_example_00010") + list(APPEND EXAMPLE_LIST "PABLO_example_00011") list(APPEND EXAMPLE_LIST "patchkernel_example_00001") list(APPEND EXAMPLE_LIST "volcartesian_example_00001") list(APPEND EXAMPLE_LIST "POD_example_00001") diff --git a/examples/PABLO_example_00011.cpp b/examples/PABLO_example_00011.cpp index c3a90165ff..f682949e9b 100644 --- a/examples/PABLO_example_00011.cpp +++ b/examples/PABLO_example_00011.cpp @@ -32,13 +32,13 @@ /*! \example PABLO_example_00011.cpp - \brief 2D adaptive mesh refinement (AMR) using PABLO + \brief 3D adaptive mesh refinement (AMR) using PABLO - This example creates a 2D Octree mesh on the square domain [0,1]x[0,1]. + This example creates a 3D Octree mesh on the cube domain [0,1]x[0,1]x[0,1]. The domain is refined globally one time and periodic conditions are imposed on the boundaries of the domain. - Then, the face neighbors and the vertex neighbors of the cells are required and print. + Then, the face, vertex and edge neighbors of the cells are found and print. To run: ./PABLO_example_00011 \n @@ -115,7 +115,6 @@ void run() bitpit::log::cout() << "]" << std::endl; } } - } /*!