21[[nodiscard]] std::vector<int>
p_refine(std::span<const int> orders, std::span<const Index> marked,
22 int increment = 1,
int max_order = 0);
41 std::span<const Index> h_marked, std::span<const Index> p_marked,
42 int increment = 1,
int max_order = 0,
bool spread_p =
true);
54 std::span<
const Point<Dim>> points,
int levels,
55 Real tolerance = 1e-9);
64 std::span<const Index>, std::span<const Index>,
int,
int,
bool);
66 std::span<const Index>, std::span<const Index>,
int,
int,
bool);
Definition adaptive_mesh.hpp:66
Definition axisymmetric_estimator.hpp:39
HpStep hp_refine(mesh::AdaptiveMesh< Dim > &mesh, std::span< const int > orders, std::span< const Index > h_marked, std::span< const Index > p_marked, int increment=1, int max_order=0, bool spread_p=true)
template HpStep hp_refine< 3 >(mesh::AdaptiveMesh< 3 > &, std::span< const int >, std::span< const Index >, std::span< const Index >, int, int, bool)
template HpStep hp_refine< 2 >(mesh::AdaptiveMesh< 2 > &, std::span< const int >, std::span< const Index >, std::span< const Index >, int, int, bool)
std::vector< int > p_refine(std::span< const int > orders, std::span< const Index > marked, int increment=1, int max_order=0)
template std::vector< mesh::RefinementStep > refine_at_points< 3 >(mesh::AdaptiveMesh< 3 > &, std::span< const Point< 3 > >, int, Real)
std::vector< mesh::RefinementStep > refine_at_points(mesh::AdaptiveMesh< Dim > &mesh, std::span< const Point< Dim > > points, int levels, Real tolerance=1e-9)
template std::vector< mesh::RefinementStep > refine_at_points< 2 >(mesh::AdaptiveMesh< 2 > &, std::span< const Point< 2 > >, int, Real)
mesh::RefinementStep identity_step(Index num_cells)
The step relating a mesh to itself (pure p-refinement), for assembly::prolongate.
double Real
Definition types.hpp:15
Eigen::Matrix< Real, Dim, 1 > Point
Definition types.hpp:27
std::int64_t Index
global indices (DoFs, entities)
Definition types.hpp:17
Result of an hp-refinement step: the mesh relation and the orders of the new cells.
Definition refinement.hpp:25
mesh::RefinementStep step
Definition refinement.hpp:26
std::vector< int > orders
Definition refinement.hpp:27
Definition adaptive_mesh.hpp:26