PolyFEM
Loading...
Searching...
No Matches
APriori.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
polyfem/Common.hpp
>
4
5
#include <
polyfem/mesh/Mesh.hpp
>
6
#include <
polyfem/mesh/mesh2D/Mesh2D.hpp
>
7
#include <
polyfem/mesh/mesh3D/Mesh3D.hpp
>
8
9
#include <
polyfem/io/OutData.hpp
>
10
11
namespace
polyfem::refinement
12
{
14
class
APriori
15
{
16
private
:
17
APriori
() {}
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
Common.hpp
Mesh2D.hpp
Mesh3D.hpp
Mesh.hpp
OutData.hpp
polyfem::io::OutStatsData
all stats from polyfem
Definition
OutData.hpp:392
polyfem::mesh::Mesh2D
Definition
Mesh2D.hpp:16
polyfem::mesh::Mesh3D
Definition
Mesh3D.hpp:19
polyfem::mesh::Mesh
Abstract mesh class to capture 2d/3d conforming and non-conforming meshes.
Definition
Mesh.hpp:39
polyfem::refinement::APriori
Class for a priori refinement, see 'Decoupling .. ' paper for details.
Definition
APriori.hpp:15
polyfem::refinement::APriori::APriori
APriori()
Definition
APriori.hpp:17
polyfem::refinement::APriori::p_refine
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
polyfem::refinement
Definition
APriori.cpp:10
src
polyfem
refinement
APriori.hpp
Generated by
1.9.8