Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/dolfinx/v0.9.0/cpp/doxygen/da/dbc/refine_8h_source.html
DOLFINx 0.6.0
DOLFINx C++ interface
Loading...
Searching...
No Matches
refine.h
1// Copyright (C) 2010-2021 Garth N. Wells
2//
3// This file is part of DOLFINx (https://www.fenicsproject.org)
4//
5// SPDX-License-Identifier: LGPL-3.0-or-later
6
7#pragma once
8
9#include <cstdint>
10#include <span>
11#include <vector>
12
13namespace dolfinx::mesh
14{
15class Mesh;
16} // namespace dolfinx::mesh
17
18namespace dolfinx::refinement
19{
20
27mesh::Mesh refine(const mesh::Mesh& mesh, bool redistribute = true);
28
39mesh::Mesh refine(const mesh::Mesh& mesh, std::span<const std::int32_t> edges,
40 bool redistribute = true);
41
42} // namespace dolfinx::refinement
Mesh data structures and algorithms on meshes.
Definition: DofMap.h:31
Mesh refinement algorithms.
mesh::Mesh refine(const mesh::Mesh &mesh, bool redistribute=true)
Create a uniformly refined mesh.
Definition: refine.cpp:16