diff --git a/nufi/cells.h b/nufi/cells.h index 9f9d548..7e9e823 100644 --- a/nufi/cells.h +++ b/nufi/cells.h @@ -1,4 +1,4 @@ -#ifndef CELLS_H +#fndef CELLS_H #define CELLS_H #include @@ -123,9 +123,6 @@ CellLocation CellLocator::locate(const Point &p) const { typename Triangulation::cell_iterator cell = base_cells[idx]; xi = xi_local; - // Step 4: continue descending only through ADAPTIVE refinement beyond - // the base level -- this loop now only runs `depth - base_level` times - // instead of `depth` times. while (cell->has_children()) { const unsigned int child_index = GeometryInfo::child_cell_from_point(xi); diff --git a/run b/run index 84465d9..e47a950 100755 --- a/run +++ b/run @@ -12,6 +12,7 @@ BINARY="./build/nufi_poisson" FLAMEGRAPH_DIR="${HOME}/.local/bin/FlameGraph" OUT_DIR="./results/perf" PERF_FREQ=99 +TITLE="${FLAMEGRAPH_TITLE:-NuFI-deal.II FlameGraph}" # ---- checks ------------------------------------------------------------- if [[ ! -x "${BINARY}" ]]; then @@ -77,7 +78,7 @@ echo "==> Collapsing stacks ..." "${FLAMEGRAPH_DIR}/stackcollapse-perf.pl" "${PERF_SCRIPT_OUT}" > "${FOLDED_OUT}" echo "==> Building flamegraph ..." -"${FLAMEGRAPH_DIR}/flamegraph.pl" "${FOLDED_OUT}" > "${FLAMEGRAPH_OUT}" +"${FLAMEGRAPH_DIR}/flamegraph.pl" --title="${TITLE}" "${FOLDED_OUT}" > "${FLAMEGRAPH_OUT}" echo "==> Done." echo " perf.data : ${PERF_DATA}"