PolyFEM
Loading...
Searching...
No Matches
APriori.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <polyfem/Common.hpp>
4
8
10
11namespace polyfem::refinement
12{
14 class APriori
15 {
16 private:
18
19 public:
28 static void p_refine(const mesh::Mesh &mesh,
29 const double B,
30 const bool h1_formula,
31 const int base_p,
32 const int discr_order_max,
33 io::OutStatsData &stats,
34 Eigen::VectorXi &disc_orders);
35
36 private:
45 static void p_refine(const mesh::Mesh2D &mesh2d,
46 const double B,
47 const bool h1_formula,
48 const int base_p,
49 const int discr_order_max,
50 io::OutStatsData &stats,
51 Eigen::VectorXi &disc_orders);
52
61 static void p_refine(const mesh::Mesh3D &mesh3d,
62 const double B,
63 const bool h1_formula,
64 const int base_p,
65 const int discr_order_max,
66 io::OutStatsData &stats,
67 Eigen::VectorXi &disc_orders);
68 };
69} // namespace polyfem::refinement
all stats from polyfem
Definition OutData.hpp:391
Abstract mesh class to capture 2d/3d conforming and non-conforming meshes.
Definition Mesh.hpp:39
Class for a priori refinement, see 'Decoupling .. ' paper for details.
Definition APriori.hpp:15
static void p_refine(const mesh::Mesh &mesh, const double B, const bool h1_formula, const int base_p, const int discr_order_max, io::OutStatsData &stats, Eigen::VectorXi &disc_orders)
compute a priori prefinement
Definition APriori.cpp:242